rdup-hist(1) - Linux man page

Name

rdup-hist - show files from the backup

Synopsis

rdup-hist [ -NUMBER[d|w|m|y] ] [ OPTION ] -bPATH PATH

Description

rdup-hist show the last five (5) back upped versions of PATH. The listing contains the backup directory, an uid, a gid and the file size:

$ rdup-hist -10w -b /raid/backup ~/miek.nl/index.html

200801/06 1000 1000 28745 /home/miekg/miek.nl/index.html
200801/05 1000 1000 28745 /home/miekg/miek.nl/index.html
200801/04 1000 1000 28745 /home/miekg/miek.nl/index.html
200801/03 1000 1000 28745 /home/miekg/miek.nl/index.html
200801/02 1000 1000 28745 /home/miekg/miek.nl/index.html

No output means that nothing was found.

Options

-NUMBER[d|w|m|y]
Start looking for the backup NUMBER days ago. The optional modifiers d, w, m and y stand for day, week (7 days), month (30 days) and year (365 days). If you want to look for PATH in last year backup you can use:

rdup-hist -1y PATH

-b PATH
The root of the backup. This is a mandatory argument.

-H HOSTNAME Set an optional hostname, if this option if not given it default to the current host (value of hostname).

-d
Show a diff -u of PATH and the current file.
-c
Show the contents of PATH in the backup, this is printed to STDOUT.
-C
Copy the file from the backup to the current directory, '.rdup' is appended to the name. This uses 'cp -i'.

-h Short help message.

-V
Show the version.

See Also

rdup(1).