rdup-snap − create backup in a hard link directory
rdup-snap [ OPTION ]
rdup-snap copies the files it gets from standard input to the directory specified with the −b option. This script implements the backup policy. It works on a directory that is hard linked or on an empty directory. When the directory is empty a full dump is performed.
If a file (i.e. hard link) already exists in the backup directory it will be removed. The end result will be that you will be left with a complete mirror of your directory structure at the time of the backup. Due to the use of hard links the amount of disk space used for the backup is minimized.
−a |
Write the uid and gid information to the file’s extended user attributes: ´r_uid’ and ’r_gid’. This option only works if attr is available on the system. This currently works for Linux and Solaris 10. |
−b backupdir
Store the backup in backupdir. This argument is mandatory.
−R |
Restore mode. Copy the files from standard input to the directory given with the −b option. In restore mode all entries which should be removed are ignored and no overview message at the end of the restore is given. |
||
−c |
Used in conjunction with rdup’s −c. This will allow rdup-snap to be used for remote backups. |
||
−p NUM |
Strip NUM slashes of the path names, thereby stripping a common prefix of all names. Only valid when −R is also given. |
||
−v |
Echo the files processed to standard error. |
||
−h |
Short help message. |
||
−V |
Show the version. |
rdup(1), cp(1), date(1) and rdup-snapshot(1).