如果使用 rdiff-backup 命令对某个特定日期进行了备份,那么应该采用什么格式来恢复该特定日期的文件。
rdiff-bakup -r "dateformat" backup/a.txt /destination-dir
谢谢..
答案1
来自 rdiff-backup(1) 手册:
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.