Mostrando entradas con la etiqueta How To:(Exchange). Mostrar todas las entradas
Mostrando entradas con la etiqueta How To:(Exchange). Mostrar todas las entradas

miércoles, 29 de septiembre de 2010

Restore Mailbox Scenarios

Restore Mailbox Scenarios
In this tip we will examine the different restore mailbox scenarios E12 will support.


General Assumptions on Restore-Mailbox Scenarios:

Servers are in a highly connected network.
Servers are part of a Single Forest or Resource Forests: Mailbox content can only be exported to mailboxes within the same forest. The NT accounts associated with the mailbox can be in an external forest (as in a Resource Forest Scenario), but mailbox content will not be able to be exported to servers in different forests.
These are the supported Source Servers:
1. Exchange 2000 SP3 (or later)
2. Exchange 2003 SP2 (or later)
3. Exchange 2007
These are the supported Target Servers:
1. Exchange 2007
Recipient Admin rights are required
Restore-Mailbox can only use disconnected mailboxes as source of content and connected mailboxes as the target

Recovering old mailbox of an existing employee

Customer Setting:

Restore-Mailbox can also recover data of users that have an active mailbox in the Exchange Organization. The way to do this is to recover the backup to the RSG database, and from there restore the user’s mailbox (or part of it using filtering) by simply specifying the ID for the mailbox to be restored. In this case, source and target should be the same so there is no need to use RSGMailbox.


Customer Goal:
Ability to restore mailbox content from RSG to the active mailbox that has the same ID, individually and in bulk.


Parameters
covered by use
cases:
-Identity, -TargetFolder, -RSGDatabase, -RSGMailbox

Additional tasks
covered by use
cases:
Get-mailboxstatistics


Scenario 1: Restore mailbox content to active mailbox based on User ID
An administrator wants to restore email content from the RSG into a currently active mailbox:


MONAD Syntax – restore all RSG content of mailbox testE12mbx1 to the currently used testE12mbx1 mailbox:
MSH> restore-mailbox -id testE12mbx1 -RSGDatabase 'Recovery Storage Group\Mailbox Database'

Scenario 2: Restore mailbox content to active mailbox based on User ID and date rangeAn administrator wants to restore email content sent between 02/02/05 and 02/05/05 from a RSG mailbox into a currently active mailbox:


MONAD Syntax – restore all RSG content sent between 02/02/05 and 02/05/05 of mailbox testE12mbx1 to the currently used testE12mbx1 mailbox:
MSH> restore-mailbox -id testE12mbx1 -RSGDatabase 'Recovery Storage Group\Mailbox Database' -StartDate ‘02/02/05’ –EndDate ‘02/05/05’


Scenario 3: Restore mailbox content from all mailboxes in a Database to active mailboxes
An administrator wants to restore email content from all mailboxes in the RSG to their currently active mailbox counterparts:


MONAD Syntax – restore all RSG mailboxes to their currently active mailbox counterparts:

MSH> get-mailboxstatistics -database 'recovery storage group\mailbox database' | restore-mailbox


Scenario 4: Restore mailbox content to folder based on active User ID
An administrator wants to restore email content from a RSG mailbox into a folder inside a currently active mailbox:


MONAD Syntax – restore all RSG content of mailbox testE12mbx1 to a folder called Backup inside the currently used testE12mbx2 mailbox:

MSH> restore-mailbox -RSGMailbox 'testE12mbx1' -RSGDatabase 'Recovery Storage Group\Mailbox Database' -id 'testE12mbx2' -TargetFolder ‘Backup’

Scenario 5: Restore mailbox content to folder based on active User ID and date range
An administrator wants to restore email content sent between 02/02/05 and 02/05/05 from a RSG mailbox into a folder inside a currently active mailbox:


MONAD Syntax – restore all RSG content of mailbox testE12mbx1 to a folder called Backup inside the currently used testE12mbx2 mailbox:
MSH> restore-mailbox -RSGMailbox 'testE12mbx1' -RSGDatabase 'Recovery Storage Group\Mailbox Database' -id 'testE12mbx2' -TargetFolder ‘Backup’ -StartDate ‘02/02/05’ –EndDate ‘02/05/05’

Customer Setting:

After an employee leaves a company, even though his active mailbox might be disabled or deleted, admins can still recover data from previous backups through the RSG. The way to do this is to recover the backup to the RSG database, and from there restore the user’s mailbox (or part of it using filtering) by specifying the RSGMailbox (points to ex-employee’s mailbox) and a target folder in an admin mailbox.


Customer Goal:
Ability to recover data from RSG mailboxes that do not have an active mailbox counterpart. Data is to be recovered to a folder inside another user’s active mailbox.

Parameters
covered by use
cases:
-Identity, -TargetFolder, -RSGDatabase, -RSGMailbox

Additional tasks
covered by use
cases:
Get-mailboxstatistics


Scenario 6: Restore mailbox content to folder inside an active mailbox based on RSG User ID
An administrator wants to restore email content from a RSG mailbox into a folder inside a currently active mailbox:


MONAD Syntax – restore all RSG content of mailbox testE12mbx1 to a folder called Backup inside the currently used testE12mbx2 mailbox:

MSH> restore-mailbox -RSGMailbox 'testE12mbx1' -RSGDatabase 'Recovery Storage Group\Mailbox Database' -id 'testE12mbx2' -TargetFolder ‘Backup’

Scenario 7: Restore mailbox content to folder inside an active mailbox based on RSG User ID and date range
An administrator wants to restore email content sent between 02/02/05 and 02/05/05from a RSG mailbox into a folder inside a currently active mailbox:


MONAD Syntax – restore all RSG content sent between 02/02/05 and 02/05/05 of mailbox testE12mbx1 to a folder called Backup inside the currently used testE12mbx2 mailbox
MSH> restore-mailbox -RSGMailbox 'testE12mbx1' -RSGDatabase 'Recovery Storage Group\Mailbox Database' -id 'testE12mbx2' -TargetFolder ‘Backup’ -StartDate ‘02/02/05’ –EndDate ‘02/05/05’

Scenario 8: Restore mailbox content from all mailboxes in a Database to a folder inside an active mailbox
An administrator wants to restore email content from all mailboxes in the RSG to a folder inside an active mailbox:

MONAD Syntax – restore all RSG mailboxes to a folder called DatabaseBackup inside mailbox testE12mbx2:


MSH> get-mailboxstatistics -database 'recovery storage group\mailbox database' | restore-mailbox -id 'testE12mbx2' -TargetFolder ‘DatabaseBackup’

Customer Setting:

Hardware malfunction resulted in corrupt databases which cannot be brought online in their current state. End users rely on timely email communication for business continuity. Need to enable email functionality ASAP.
If the current server and disk is available and functioning properly, Exchange administrator can enable dial tone services to all the users by moving the corrupt files to a different location and mounting an empty database online in its original location.
While the dial tone is in production, admin will recover original database from backup in a separate location. After this is complete, the production server switches to the backup database and the dial tone database is copied to the RSG. Then, the dial tone content is merged back into the new production database by using restore-mailbox so users do not lose any content.


Customer Goal:
Ability to restore mailbox content from RSG to the active mailbox that has the same ID, individually and in bulk.


Parameters
covered by use
cases:
-Identity, -TargetFolder, -RSGDatabase, -RSGMailbox

Additional tasks
covered by use
cases:
Get-mailboxstatistics


Scenario 9: Restore mailbox content to active mailbox based on User ID
An administrator wants to restore email content from the RSG into a currently active mailbox:


MONAD Syntax – restore all RSG content of mailbox testE12mbx1 to the currently used testE12mbx1 mailbox:

MSH> restore-mailbox -id testE12mbx1 -RSGDatabase 'Recovery Storage Group\Mailbox Database'


Scenario 10: Restore mailbox content from all mailboxes in a Database to active mailboxes
An administrator wants to restore email content from all mailboxes in the RSG to their currently active mailbox counterparts:


MONAD Syntax – restore all RSG mailboxes to their currently active mailbox counterparts:

MSH> get-mailboxstatistics -database 'recovery storage group\mailbox database' | restore-mailbox


Customer Setting:

Hardware failures or some corruption resulted in Exchange server not functioning properly. While OS/Exchange Administrators investigate the issue, end users need access to email.
Exchange does not allow moving mailboxes to a different server if the original server is not available since move is associated with moving a mailbox with its associated full content. In order to provide dial tone functionality in this case, Admin would use a clean database in a separate server, and use the move-mailbox configuration only option to change the AD settings so the mailboxes would point to this new database. While the dial tone is in production, admin will recover original database from backup in a separate location (if the original server was fixed, that can be used as the location for the backup). After this is complete, the production server switches to the backup database and the dial tone database is copied to the RSG. Then, the dial tone content is merged back into the new production database by using restore-mailbox so users do not lose any content.


Customer Goal:
Ability to restore mailbox content from RSG to the active mailbox that has the same ID, individually and in bulk.


Parameters
covered by use
cases:
-Identity, -TargetFolder, -RSGDatabase, -RSGMailbox

Additional tasks
covered by use
cases:
Get-mailboxstatistics


Scenario 11: Restore mailbox content to active mailbox based on User ID
An administrator wants to restore email content from the RSG into a currently active mailbox:


MONAD Syntax – restore all RSG content of mailbox testE12mbx1 to the currently used testE12mbx1 mailbox:

MSH> restore-mailbox -id testE12mbx1 -RSGDatabase 'Recovery Storage Group\Mailbox Database'


Scenario 12: Restore mailbox content from all mailboxes in a Database to active mailboxes
An administrator wants to restore email content from all mailboxes in the RSG to their currently active mailbox counterparts:


MONAD Syntax – restore all RSG mailboxes to their currently active mailbox counterparts:

MSH> get-mailboxstatistics -database 'recovery storage group\mailbox database' | restore-mailbox

martes, 23 de junio de 2009

Using Exchange Server Database Utilities (eseutil.exe) in Exchange 2003 / 2007 (Part 2)

Eseutil work with ESE db files and logs. You can use to verify, modify and repair Exch db files.
When db is corrupt you must restore from backup first because Eseutil repair can result in data loss. Eseutil is located in
:\Program Files\Microsoft\Exchange server\Bin

You can use in Mailbox, Edge and Hub roles
You mustt use the same version of eseutil as version of Exch you are working. The Exch07 version does not support working with *.stm files.
You can only run one instance for eseutil. Eseutil modes:
- Defrag /D
Defrag offline but leaves the new db in temp location and reduces the size
- Repair /P
Repair a corrupt offline db discarding pages that cannot be fixed
- Restore /C
Displays restore log files (restore.env) and control hard recovery after restoration from
online backups
- Recovery /R
Replay logs or rolls them forward to restore a db to internall consistency or to bring
an older copy of a db up to date
- Integrity /G
Verifies the page level and ESE level logical integrity of db.
- File Dump /M
Displays headers of database files, transaction log files and checkpoints. Also display
database pagre header information and db space allocation
- Checksum /K
Verifies checksum on all pages in he db, logs and checkpoints
- Copy File /Y
Perform a fast copy of very large files

lunes, 25 de mayo de 2009

Exportar e importar cuentas de Outlook

En este video relizado por Pilar Arguiñariz (MVP de Outlook), nos cuenta cómo exportar la configuración de las cuentas,
desde el registro de Windows, de un perfil ya configurado con cuentas y luego importarlas en nuevos perfiles o nuevas instalaciones
Aplicable a nuevos perfiles, nuevas instalaciones o instalaciones en otros ordenadores de Outlook.

lunes, 13 de abril de 2009

Como usar esutil.exe en Exchange 2003 / 2007 (Parte 1)

Vamos a ver los diferentes usos de Eseutil.exe y a dar información al respecto:


- Uso del switch /K para detectar daños en las cabezeras de ficheros.

File header damage puede ocurrir in databases, log files, patch files, o ficheros de checkpoint.

C:\Program Files\ExchSrvr\Bin\eseutil /k "c:\program files\exchsrvr\mdbdata\priv1.edb"


Verificar la integridad checksum de los transaction logs.
Todas las bases de datos del Storage Group deben estár desmontadas:

c:\Exchsrvr\bin>eseutil /k c:\exchsrvr\mdbdata\e00.log

How To: Use the Eseutil Utility to Detect File Header Damage in Exchange 2003
http://support.microsoft.com/kb/825088/en-us

Comprobar que todos los logs de una secuencia son correctos.

c:\Exchsrvr\bin>eseutil /ml Enn

Comprobar Estado de Cierre (Clean Shutdown o Dirty Shutdown) y Log_required (Log requerido para arrancar)

c:\Exchsrvr\bin>eseutil /MH D:/msdbdata/priv1.edb

En caso que uno de los ficheros esté corrupto:

1) Usar siempre un backup para restaurar
2) En caso de no disponer de backup ejecutar:
2.1) Primero hacer un backup de las bases de datos publicas y privadas y logs
copiandolos a otra carpeta con los servicios de exchange parados

2.2) Para un EDB corrupto

c:\Exchsrvr\bin>eseutil /p D:/msdbdata/priv1.edb

2.3 Para un STM corrupto:

c:\Exchsrvr\bin>eseutil /p D:/msdbdata/priv1.stm

2.4 Para reparar en una localización temporal (problemas de espacio en el disco (110%)):

c:\Exchsrvr\bin>eseutil /p D:/msdbdata/priv1.edb /t z:/eseutiltemporal.edb


Bibliografia:

Exchange Command-Line Parameters for the Isinteg.exe Tool
http://support.microsoft.com/default.aspx?scid=kb;en-us;301460

How to re-create STM File in Exchange 2000/2003
http://support.microsoft.com/default.aspx?scid=kb;EN-US;555146

XADM: Exchange 2000 Server Eseutil Command Line Switches
http://support.microsoft.com/default.aspx?scid=kb;EN-US;317014

How to use Eseutil to test transaction log files for damage in Exchange 2000 Server and in Exchange Server 2003
http://support.microsoft.com/default.aspx?scid=kb;EN-US;248122

XADM: Exchange and Antivirus Software
http://support.microsoft.com/default.aspx?scid=kb;[LN];328841

XADM: Ramifications of Running the ESEUTIL /P or EDBUTIL /D /R Command
http://support.microsoft.com/?id=259851

Preview: Exchange Server 2003 Disaster Recovery Planning Guide
http://www.microsoft.com/downloads/details.aspx?FamilyId=784BBEA2-28DD-409A-8368-F9914E993B28&displaylang=en