rdiff-backup command to restore

Posted by Hulk on Server Fault See other posts from Server Fault or by Hulk
Published on 2010-05-31T09:44:06Z Indexed on 2010/05/31 9:54 UTC
Read the original article Hit count: 479

Let say i have a source directory which contains The contents /foo/a /foo/b(These are the files in a directory on a remote system)

using rdiff command i make a backup as

 rdiff-backup [email protected]::/foo backups

And a,b are now present in my backups directory.And then i delete file a from the remote system and again i do a sync so my local directory has the file b only.

My question is that how do i restore file a if the deletion and sync is done on the same day

Thanks..

© Server Fault or respective owner

Related posts about linux

Related posts about administration