rdup-dump(8) - Linux man page
Name
rdup-dump - dump a filesystem for a specifc hostSynopsis
rdup-dump [ OPTIONS ] DIR|FILE [ DIR|FILE ]Description
Making local backups is as simple as: rdup-dump -b /vol/backup/$HOST ~
~ is the directory to be backed up. Multiple directories or files are allowed on the command line.
There is no default backup location. You must specify a -b argument.
See rdup-mirror(8) for more information on how the files are placed in the backup.
Options
- -b backupdir
- The backup directory. This is where the backup will be stored.
Note that rdup-dump will add the string YYYYMM to the backup directory.
- -u
- Unique backupdir, do not create a YYYYMM subdirectory structure.
- -n path
- The path speficies an optional prefix path for the timestamp and filelist files. These are stored, by default, in '/etc/rdup'. Now they will be put in path
- -c user@remotehost
- Restore a backup on a remote host. This will create a pipeline of the form:
rdup -c DIR|FILE | ssh user@remotehost rdup-mirror.pl -c -b backupdir
There is no provisioning for ssh so unless you have configured ssh to work without a passphrase you will be asked to supply one. Also note that the PATH on the remote host should be set in such a way that all the rdup-util scripts can be found.
- -l directory
- Use directory for the lock file.
- -E file
- See -E in rdup(8).
- -k keyfile
- Encrypt the files while backing up with keyfile. This option inserts crypt.pl keyfile in the pipeline. If both -z and -k are given a file is first zipped and then encrypted.
- -a
- Enable extended attributes. Write the uid/gid to the extended user attributes r_uid and r_gid.
- -x
- Pass -x to rdup (stay in local filesystem).
- -z
- Compress the files while backing up. This option inserts rdup-gzip in the pipeline. If both -z and -k are given a file is first zipped and then encrypted.
- -e
- Store the the timestamp and filelist files together with the backup. This allows for backups to USB-drives and such. Normally they are stored in
'/etc/rdup'.
This option cannot be used when doing a remote backup.
- -f
- Force a full dump.
- -v
- Echo the files processed to standard error.
- -h
- Show a short help message.
- -V
- Show the version.