Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. Veritas NetBackup™ Administrator's Guide, Volume I
  3. Section II. Configuring hosts
  4. Configuring Host Properties
  5. Configuration options for NetBackup servers
  6. ULINK_ON_OVERWRITE option for NetBackup servers
Veritas NetBackup™ Administrator's Guide, Volume I

ULINK_ON_OVERWRITE option for NetBackup servers

When a UNIX client indicates Overwrite existing files as a restore option, the UNLINK_ON_OVERWRITE option forces NetBackup to perform the following actions:

  • Check for the existence of a file to be restored.

  • Unlink the file if it exists.

  • Restore the file.

The file can be any normal file, symbolic link, hard link, or empty directory.

The addition of UNLINK_ON_OVERWRITE helps minimize potential security and data loss problems from following existing symbolic links. It also guarantees that files are restored exactly as they were backed up.

Table: ULINK_ON_OVERWRITE information

Usage

Description

Where to use

On NetBackup master servers.

How to use

This option should appear only once in the configuration file.

Note:

Restore job performance is reduced by using this option.

If the UNLINK_ON_OVERWRITE option is not indicated in the bp.conf file but the Overwrite existing files option is specified, the behavior of NetBackup is different when it restores symbolic links. (Or, if the option is set to NO.) NetBackup unlinks existing files or empty directories when it restores symbolic links, hard links, or special files (CHR, BLK, and FIFO).

However, NetBackup does not unlink when it restores normal files or directories, which can be problematic. NetBackup follows the symbolic link and creates or replaces the files that the symbolic link points to. Or, it replaces the directory that the symbolic link points to.

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:

  • Overwrite existing files option

  • SKIP_RESTORE_TO_SYMLINK_DIR

  • UNLINK_ON_OVERWRITE

Then, when a restore job comes across a symbolic link, the link is unlinked before the job checks, and the files and directories are restored.

Example

For example, if the /home/user/ path was backed up as a directory and, when restored, it is a symbolic link to a directory:

  • With SKIP_RESTORE_TO_SYMLINK_DIR set (and Overwrite existing files indicated), no files are restored into the directory the symbolic link points to, and the symbolic link remains.

  • With both UNLINK_ON_OVERWRITE and SKIP_RESTORE_TO_SYMLINK_DIR (and Overwrite existing files indicated), the symbolically linked directory is unlinked, the original directory is restored, and all files within the directory are also restored.

  • With neither set (and Overwrite existing files indicated), NetBackup follows the symbolic link and restore all files into the directory the symbolic link points to.

Equivalent Administration Console property

No equivalent exists in the NetBackup Administration Console host properties.

Feedback

Was this page helpful?
Previous

TRUSTED_MASTER option for NetBackup servers

Next

USE_AUTHENTICATION option for NetBackup servers

Feedback

Was this page helpful?