![無法恢復口是心非的備份](https://rvso.com/image/668021/%E7%84%A1%E6%B3%95%E6%81%A2%E5%BE%A9%E5%8F%A3%E6%98%AF%E5%BF%83%E9%9D%9E%E7%9A%84%E5%82%99%E4%BB%BD.png)
我使用口是心非 0.6.26 將我的主資料夾備份到遠端系統:
duplicity --no-compression --no-encryption . scp://...
在主資料夾中時。
現在我似乎無法恢復備份。我已將所有內容從遠端伺服器複製到本機目錄,並且有一個如下所示的檔案:
$ ls
duplicity-full-signatures.20151002T175740Z.sigtar
duplicity-full.20151002T175740Z.vol280.difftar
duplicity-full.20151002T175740Z.vol141.difftar
duplicity-full.20151002T175740Z.manifest
duplicity-full.20151002T175740Z.vol281.difftar
duplicity-full.20151002T175740Z.vol142.difftar
...
我可以列出備份的內容:
$ duplicity list --no-encryption --no-compression file:///Users/user/Backup/
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Fri Oct 2 20:57:40 2015
Fri Oct 2 20:57:38 2015 .
Fri Oct 17 21:01:31 2014 .CFUserTextEncoding
Fri Oct 2 20:19:07 2015 .DS_Store
Fri May 22 09:13:51 2015 .PyCharm40
Fri May 22 10:30:21 2015 .PyCharm40/restart
Wed May 13 19:15:04 2015 .PyCharm40/restart/restarter
Fri Oct 2 20:45:37 2015 .Trash
...
但當嘗試恢復時,我得到“ No files found in archive - nothing restored.
”
$ duplicity restore --no-encryption --no-compression file:///Users/user/Backup/ /tmp/P
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Fri Oct 2 20:57:40 2015
No files found in archive - nothing restored.
我可以做什麼來恢復文件?
答案1
看來.difftar
文件畢竟被壓縮了。將它們重命名為 後恢復有效.difftar.gz
。一定是口是心非的錯誤。