当我的备份驱动器未连接时,我运行了它duplicity
,它删除了很多缓存sigtar
和manifest
文件:
Synchronizing remote metadata to local cache...
Deleting local /Users/justin/.cache/duplicity/a7190bc7f0d9f083cbc7e03931a8c95f/duplicity-full-signatures.20160608T054248Z.sigtar.gz (not authoritative at backend).
Deleting local /Users/justin/.cache/duplicity/a7190bc7f0d9f083cbc7e03931a8c95f/duplicity-full.20160608T054248Z.manifest (not authoritative at backend).
Deleting local /Users/justin/.cache/duplicity/a7190bc7f0d9f083cbc7e03931a8c95f/duplicity-inc.20160608T054248Z.to.20160610T041839Z.manifest (not authoritative at backend).
Deleting local /Users/justin/.cache/duplicity/a7190bc7f0d9f083cbc7e03931a8c95f/duplicity-inc.20160610T041839Z.to.20160616T043456Z.manifest (not authoritative at backend).
现在,当我运行口是心非时,它会尝试执行完整备份,而不是查找现有的增量备份。
运行duplicity collection-status file:///Volumes/DuplicityBackup/
显示我的备份链已经变成了“次备份链”,并且有一个空的“主备份链”:
$ duplicity collection-status file:///Volumes/DuplicityBackup/
Synchronizing remote metadata to local cache...
Last full backup date: Thu Jul 28 22:17:39 2016
Collection Status
-----------------
Connecting with backend: LocalBackend
Archive dir: /Users/justin/.cache/duplicity/a7190bc7f0d9f083cbc7e03931a8c95f
Found 1 secondary backup chain.
Secondary chain 1 of 1:
-------------------------
Chain start time: Tue Jun 7 22:42:48 2016
Chain end time: Wed Jul 27 07:19:47 2016
Number of contained backup sets: 23
Total number of contained volumes: 2329
Type of backup set: Time: Num volumes:
Full Tue Jun 7 22:42:48 2016 2219
Incremental Thu Jun 9 21:18:39 2016 20
Incremental Wed Jun 15 21:34:56 2016 6
Incremental Fri Jun 17 07:29:49 2016 1
...
-------------------------
Found primary backup chain with matching signature chain:
-------------------------
Chain start time: Thu Jul 28 22:17:39 2016
Chain end time: Thu Jul 28 22:17:39 2016
Number of contained backup sets: 1
Total number of contained volumes: 0
Type of backup set: Time: Num volumes:
-------------------------
No orphaned or incomplete backup sets found.
我怎样才能解决这个问题?(即删除空的“主备份链”,使用“次备份链”)
答案1
几周前我遇到了这个问题,对我有用的是擦除口是心非的缓存并从后端手动删除所有新的主链文件。