无法恢复重复备份

无法恢复重复备份

我已经使用 duplicity 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。一定是 duplicity 出了问题。

相关内容