Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm looking for a method to do incremental file backups. I've found rdiff-backup and had a question about it: is it possible todo something along the lines of backup to 25 feb 2012. I know you can specify it like this: rdiff-backup -r 10D host.net::/remote-dir/file /tmp/file which will restore to 10 days ago, but 10 days ago is relative, and I want to restore to a specific date. Is that possible?

Thanks

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

From: http://rdiff-backup.nongnu.org/examples.html

But the main advantage of rdiff-backup is that it keeps version history. This command restores host.net::/remote-dir/file as it was 10 days ago into a new location /tmp/file.

rdiff-backup -r 10D host.net::/remote-dir/file /tmp/file

> Other acceptable time strings include 5m4s (5 minutes and 4 seconds) and 2002-03-05 (March 5th, 2002). For more information, see the TIME FORMATS section of the manual page.

share|improve this answer
    
Ouch. How could I even miss that. Thanks very much for pointing that out. –  Devator Mar 9 '12 at 8:17
    
Happens to us all :P –  thinice Mar 9 '12 at 14:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.