Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Thanks..

share|improve this question
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,
          2002.
share|improve this answer

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.