Links, Purging destination files, Excluded files and purge – HP NonStop G-Series User Manual

Page 73: Hard links, Symbolic links

Advertising
background image

OSS File Synchronization

HP AutoSYNC User’s Guide522580-019

5-3

Links

Purging Destination Files

If a file, a link or a directory exists in the destination file set but does not exist in the
source, it can be purged on the destination by specifying the PURGE option.

If PURGE is specified, subordinate directories that do not exist in the source are
purged. This differs from the purge processing for Guardian subvolumes. Entire
Guardian subvolumes are purged only if the SUBVOLPURGE option is specified in
addition to the PURGE option.

Excluded Files and PURGE

EXCLUDE does not apply to the destination system. AutoSYNC purges extra files or
directories that do not exist on source system, even if they have been listed in the
exclude file specified with the EXCLUDE option.

Links

AutoSYNC provides synchronization options that control synchronization of hard links
and symbolic links.

Hard links

AutoSYNC always synchronizes a hard link when all links to the same inode are inside
the synchronization file set. The

SYNCHRONIZE

command option ALLHARDLINKS

controls the synchronization of a hard link when some of the links to the same inode
are outside the synchronization file set.

By default, when ALLHARDLINKS is specified, all hard links that are inside the
synchronization file set are synchronized even if some hard link to the same inode
is outside the synchronization file set. A message is written to the logfile:

When NO ALLHARDLINKS is specified, AutoSYNC does not synchronize the hard
links for the same inode if any of the hard links are outside the synchronization file
set. In this case the hard links are skipped and a message is written to the logfile:

Symbolic links

AutoSYNC always synchronizes a symbolic link when the symbolic link points to a file
or directory that is inside the synchronization file set. The

SYNCHRONIZE

command

option ALLSYMLINKS controls the synchronization of a symbolic link that points
outside the synchronization file set.

Some hard link not in file set, synchronizing uncontained
hard link.

Uncontained hard link points to same inode, file not
synchronized.

Advertising
This manual is related to the following products: