The options in this section allow you to input a target directory, overwrite existing files, restore only the newest versions, and exclude files. See below for a description of each option:
• Target Directory
If no Target Directory is entered, the files or folders are restored to their original location. Using spaces in a Target Directory name should be avoided. An example of a correct Target Directory is: C:\\RestoredData.
• Client Pre-Restore Commands
Use this field to specify commands or scripts to run on the client before starting the restore. For example, enter the command to shut down the database before a restore. The output from the command is directed to the restore summary.
Note: For Linux clients, running long pre-restore commands can cause restores to fail. To prevent this, adjust the timeouts setting in the client’s master.ini file as described in KB 1245.
To specify a pre-restore command, enter the full path to the command in the Pre-Restore Commands field. For example, C:\Data\script.bat or /usr/jsmith/script.sh.
• Client Post-Restore Commands
Use this field to specify commands or scripts to run on the client after the restore completes. For example, enter the command to restart a database after a restore completes. The output from the command is directed to the restore summary.
Note: For Linux clients, running long post-restore commands can cause restores to fail. To prevent this, adjust the timeouts setting in the client’s master.ini file as described in KB 1245.
To specify a post- restore command, enter the full path to the command in the Post-Restore Commands field. For example, C:\Data\script.bat or /usr/jsmith/script.sh.
• Save Selected Options
Allows you to save field inputs for future use. You can save multiple versions and designate a name. Once you select a saved option from the drop-down list, you have the option to load or delete the selected options.
• Preserve Directory Structure?
This preserves the existing file structure within the target directory. Below is an example of the file selection screen in the Administrator Interface. When files are selected, their parent folders are selected by default. In the example, the Target Directory is C:\\AmandaVelez. All files selected for restore are restored to this folder on the target client.
If Preserve Directory Structure is checked, parent folders are restored as shown here:
If Preserve Directory Structure is not checked, parent folders are not restored, as shown here:
Note: If you wish to restore the file(s) to the original location, Preserve Directory Structure must be selected. If you attempt a restore to the original location and uncheck this box, the restore fails.
• Overwrite Existing Files?
This overwrites any existing files in the Target Directory. This is useful if you are restoring an updated version of a document and only want the most up to date version. You could also uncheck this box if you want both versions of the file.
• Restore Newer Files Only?
This restores a file only if its date is newer than the existing version on the client. If the file does not exist on the client, the file is restored.
• Set file Dates to Today?
This stamps the restored files with the restore date and time. If not checked, file dates are not updated during the restore.
• UNIX Text Conversion?
When restoring UNIX Text files to MS-DOS systems, checking this option prevents new lines from being converted to CR-LF.