为了将我的系统备份到s3,我正在运行:
我的备份运行良好,一个月后它们将从s3移动到冰川,重复状态显示了它应该做的一切,每月备份和每日增量,追溯到62个月前。
Secondary chain 54 of 62:
-------------------------
Chain start time: Sun Oct 24 02:05:01 2021
Chain end time: Tue Nov 23 02:05:01 2021
Number of contained backup sets: 31
Total number of contained volumes: 8223
Type of backup set: Time: Number of volumes:
Full Sun Oct 24 02:05:01 2021 6450
Incremental Mon Oct 25 02:05:02 2021 64但是当我试图修剪旧的增量时
duplicity remove-all-inc-of-but-n-full 7 --force boto3+s3:///[bucket name]/我得到了
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
No old backup sets found, nothing deleted.我什么也没找到,但可能是因为旧的档案在冰川上吗?元数据都在s3上,应该是.
发布于 2022-07-30 10:35:25
为了记录在案,问题是忽略了执行备份时出现的prexix和gpg选项。下面是起作用的命令:
duplicity remove-all-inc-of-but-n-full \
--file-prefix-manifest=m_ --file-prefix-archive=a_ --file-prefix-signature=s_ \
--encrypt-key=xxx --sign-key=xxx \
--force 7 boto3+s3:///markup.co.uk/我唯一的理由是,这些选项并不是status命令起作用所必需的。
https://askubuntu.com/questions/1420967
复制相似问题