You can combine the use of the /KEEPRDB and
/USEEXISTINGRDB parameter options with the
restormailbox command.
- Example: Use an existing recovery database for mailbox operations
- Use an existing recovery database for restore mailbox operations so that you do not
have to restore the recovery database again.
tdpexcc restoremailbox <MB> /USEEXISTINGRDB=Yes
- Example: Retain a recovery database for mailbox operations
- Retain a recovery database after a mailbox restore operation so that you can use the
recovery database for other restore
operations.
tdpexcc restoremailbox <MB> /KEEPRDB=YES
- Example: Retain a recovery database for multiple mailbox restore operations, and then
remove it
- Because you restore multiple mailboxes at different times, you want to retain the
recovery database after the first mailbox restore operation and use it for subsequent
restore operations. When you restore the final mailbox, you remove the recovery
database.
tdpexcc restoremailbox <MB_1> /KEEPRDB=YES
tdpexcc restoremailbox <MB_2> /USEEXISTINGRDB=YES
tdpexcc restoremailbox <MB_n> /KEEPRDB=NO
- Example: Restore multiple mailboxes simultaneously
- Simultaneously restore multiple mailboxes and ensure that the recovery database is
automatically removed after each mailbox is
restored.
tdpexcc restoremailbox <MB_1>,<MB_2> /KEEPRDB=NO
- Example: Restore multiple mailboxes from an existing recovery database
- Simultaneously restore multiple mailboxes from an existing recovery database.
Tip: Mailboxes that are not in the recovery database are bypassed during restore
processing, and are indicated in the console output.
Restore the remaining
mailboxes that are not in the recovery
database.tdpexcc restoremailbox <MB_1>,<MB_2>...<MB_n> /USEEXISTINGRDB=YES
/KEEPRDB=NO
tdpexcc restoremailbox <MB_1>,<MB_2>...<MB_n> /USEEXISTINGRDB=NO
/KEEPRDB=NO