[Nottingham] cooking with rsync
Dale.Einarson at nottingham.ac.uk
Wed Jul 25 14:42:48 BST 2007
Sorry, I missed the boat on this one and the last meeting concerning
You may recall from a previous email that I was ignorant of the
rsync use for sequential backups... well I am still half ignorant on
the restore part of the rsync backups.
I assume that I am mistaken but I have the feeling that this is
only useful for single file recovery and not large data sets. It also
seems that compressing on the archive must be applied separately.
If I was to use the following to archive, what would the command
look like to restore date=.$arch_date ?
rsync -ab --backup-dir=$back_dir --suffix=.$date $src_dir
I thought this would have done it but
1: if --backup-dir is not absolute it adds the backup dir to the
restore as well
2: otherwise I always get the most recent version of a file...
rsync -ab --backup-dir=$back_dir --suffix=.$arch_date
I have googled and RTFM but not found anything that helped...
BTW: I already use Amanda so I am merely looking for another recipe. :)
Thanks in advance
This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
More information about the Nottingham