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

If a backup was made using rdiff-backup command for some particular date what is the format that should be given to restore the files for that particular date.

        rdiff-bakup -r "dateformat" backup/a.txt /destination-dir


share|improve this question

1 Answer 1

up vote 1 down vote accepted

From the rdiff-backup(1) manual:

   5.     A date format of the form YYYY/MM/DD, YYYY-MM-DD, MM/DD/YYYY, or
          MM-DD-YYYY,  which  indicates  midnight  on the day in question,
          relative  to  the  current  timezone  settings.   For  instance,
          "2002/3/5",  "03-05-2002",  and  "2002-3-05" all mean March 5th,
share|improve this answer

Your Answer


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.