Restorefiles command
To restore the flat files from a specified Data Protection for Exchange Server backup into a specified directory, use the restorefiles command.
When working with the restorefiles command, follow these guidelines:
- This command does not require an Exchange Server to be installed on, or accessible from the system where the restorefiles command is run.
- Files can be restored to an alternative system or to an alternative directory on the same system as the Exchange Server.
- The command continues until it succeeds, or until the destination volume does not contain enough space for the operation.
- When you restore files from an inactive backup or an active incremental backup, use the /object parameter to specify the name of the backup object. The object name uniquely identifies the backup instance in IBM Spectrum Protect™ server storage. A list of backup object names is obtained by issuing the query tsm command.
- This command is only available on the command-line interface. It is not available in the Data Protection for Exchange Server graphical user interface.
- The restorefiles command overwrites files that exist and have the same name.
- If a log file from an incremental backup has the same name as the log file from the full
backup operation, you can run two consecutive restorefiles commands to the same
directory: For a full backup, enter the following command:
tdpexcc restorefiles DB1 FULL /into=d:\temprestoreFor an incremental restore with backed up log files, enter the following command:tdpexcc restorefiles DB1 INCR /into=d:\temprestoreThe /into parameter can be a directory on any mounted local disk. It is not possible to use a mapped network drive as a restore destination.
- When you use the restorefiles command to restore local VSS backups, the command must be issued from the system on which the snapshot was created.