rdiff-backup-Befehl zum Wiederherstellen mit Datum

rdiff-backup-Befehl zum Wiederherstellen mit Datum

Wenn mit dem Befehl „rdiff-backup“ für ein bestimmtes Datum eine Sicherung erstellt wurde, welches Format muss angegeben werden, um die Dateien für dieses bestimmte Datum wiederherzustellen?

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

Danke..

Antwort1

Aus dem rdiff-backup(1)-Handbuch:

   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.

verwandte Informationen