SKIP_RESTORE_TO_SYMLINK_DIR option for NetBackup servers
The SKIP_RESTORE_TO_SYMLINK_DIR option forces NetBackup to check all directories on a UNIX client into which files are restored. If the file to be restored is under a symbolically linked directory, NetBackup does not restore the file.
Table: SKIP_RESTORE_TO_SYMLINK_DIR information
Usage | Description |
|---|---|
Where to use | On NetBackup primary servers. |
How to use | This option should appear only once in the configuration file. For example, if the UNIX client requests a restore for /home/user/.cshrc and /home/user is a symbolic link, NetBackup does not restore .cshrc. The addition of SKIP_RESTORE_TO_SYMLINK_DIR helps minimize potential security and data loss problems if the restore is performed with root permissions. Without SKIP_RESTORE_TO_SYMLINK_DIR in the bp.conf file, NetBackup follows any symbolically linked directories and restores files to that location. Note: Restore job performance is reduced by using this option. SKIP_RESTORE_TO_SYMLINK_DIR and UNLINK_ON_OVERWRITE do not affect each other if both are specified, with one exception: When the following options are enabled:
Then, when a restore job comes across a symbolic link, the link is unlinked before the job checks, and the files and directory are restored. For example, /home/user/ is backed up as a directory and, when restored, it is a symbolic link to a directory. These settings have the following outcomes:
|
Equivalent NetBackup web UI property | Select the primary server . |