我想使用口是心非将我的主文件夹的大部分备份到 Backblaze。我正在尝试将其设置为每月进行一次完整备份。为此,我使用每天运行的以下命令:
LOCAL_DIR="/home/username"
EXCLUDE="\
--exclude /home/username/temp \
--exclude /home/username/.cache \
"
duplicity \
backup --full-if-older-than 1M ${EXCLUDE} --progress \
${LOCAL_DIR} b2://${B2_ID}:${B2_KEY}@${B2_BUCKET}
这每天都会成功创建一个备份,但是口是心非永远不会创建新的链——九月份有一次完整备份,从那以后只有增量备份。我想启动一个新的链,每月进行一次完整备份。
我尝试过一些没有运气的事情:
- 将 1M 更改为 30D
- 更改选项的顺序(例如首先排除)
- 改成
backup
incremental
有任何想法吗?谢谢!
以下是该命令的输出示例:
+ duplicity backup --full-if-older-than 1M --exclude /home/username/temp --exclude /home/username/.cache --progress /home/username b2://B2_ID:B2_KEY@B2_BUCKET
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Thu Sep 21 16:19:13 2023
3.9MB 00:01:12 [291.5KB/s] [========================================>] 100% ETA 0sec
--------------[ Backup Statistics ]--------------
StartTime 1702050982.47 (Fri Dec 8 16:56:22 2023)
EndTime 1702051043.61 (Fri Dec 8 16:57:23 2023)
ElapsedTime 61.15 (1 minute 1.15 seconds)
SourceFiles 540202
SourceFileSize 77232368533 (71.9 GB)
NewFiles 39
NewFileSize 15434498 (14.7 MB)
DeletedFiles 11
ChangedFiles 78
ChangedFileSize 70757910 (67.5 MB)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 128
RawDeltaSize 19617995 (18.7 MB)
TotalDestinationSizeChange 3410741 (3.25 MB)
Errors 0
-------------------------------------------------
这是收集状态:
+ duplicity collection-status --progress b2://B2_ID:B2_KEY@B2_BUCKET
Last full backup date: Thu Sep 21 16:19:13 2023
Collection Status
-----------------
Connecting with backend: BackendWrapper
Archive dir: /home/username/.cache/duplicity/a52568672c187fdf7e6d79e12a4df37f
Found 0 secondary backup chain(s).
Found primary backup chain with matching signature chain:
-------------------------
Chain start time: Thu Sep 21 16:19:13 2023
Chain end time: Fri Dec 8 16:55:20 2023
Number of contained backup sets: 72
Total number of contained volumes: 331
Type of backup set: Time: Num volumes:
Full Thu Sep 21 16:19:13 2023 222
Incremental Fri Sep 22 13:41:57 2023 1
Incremental Fri Sep 22 14:04:53 2023 1
Incremental Fri Sep 22 14:07:21 2023 1
Incremental Sat Sep 23 23:07:51 2023 1
Incremental Sun Sep 24 14:38:12 2023 1
Incremental Sun Sep 24 15:44:06 2023 1
Incremental Mon Sep 25 14:49:06 2023 1
Incremental Tue Sep 26 10:31:05 2023 1
Incremental Wed Sep 27 14:24:04 2023 1
Incremental Thu Sep 28 11:10:04 2023 1
Incremental Fri Sep 29 14:29:04 2023 1
Incremental Sat Sep 30 12:08:39 2023 2
Incremental Sun Oct 1 11:33:05 2023 1
Incremental Mon Oct 2 10:22:05 2023 2
Incremental Tue Oct 3 15:37:05 2023 6
Incremental Wed Oct 4 13:50:36 2023 1
Incremental Thu Oct 5 14:28:05 2023 1
Incremental Fri Oct 6 13:39:05 2023 1
Incremental Sat Oct 7 14:42:07 2023 2
Incremental Sun Oct 8 08:21:05 2023 1
Incremental Mon Oct 9 19:11:05 2023 1
Incremental Tue Oct 10 10:06:05 2023 2
Incremental Wed Oct 11 11:07:05 2023 2
Incremental Thu Oct 12 11:21:05 2023 2
Incremental Fri Oct 13 21:04:58 2023 1
Incremental Sat Oct 14 13:27:15 2023 1
Incremental Sun Oct 15 12:13:05 2023 1
Incremental Mon Oct 16 11:27:06 2023 1
Incremental Tue Oct 17 12:10:05 2023 1
Incremental Thu Oct 19 14:37:53 2023 2
Incremental Fri Oct 20 19:13:03 2023 1
Incremental Sat Oct 21 14:26:06 2023 1
Incremental Sun Oct 22 11:49:55 2023 3
Incremental Mon Oct 23 12:20:05 2023 8
Incremental Wed Oct 25 17:05:08 2023 1
Incremental Wed Oct 25 18:28:05 2023 1
Incremental Thu Oct 26 21:35:52 2023 1
Incremental Fri Oct 27 14:36:05 2023 1
Incremental Sat Oct 28 09:06:04 2023 1
Incremental Sun Oct 29 20:04:52 2023 1
Incremental Mon Oct 30 13:30:05 2023 1
Incremental Tue Oct 31 11:24:05 2023 1
Incremental Wed Nov 1 18:36:05 2023 2
Incremental Fri Nov 3 09:49:05 2023 1
Incremental Sat Nov 4 03:27:05 2023 2
Incremental Sun Nov 5 19:50:06 2023 2
Incremental Mon Nov 6 17:49:17 2023 1
Incremental Tue Nov 7 12:38:34 2023 1
Incremental Tue Nov 7 19:10:04 2023 1
Incremental Wed Nov 8 18:12:09 2023 1
Incremental Thu Nov 9 13:43:17 2023 1
Incremental Fri Nov 10 20:29:17 2023 2
Incremental Sat Nov 11 14:19:05 2023 1
Incremental Sun Nov 12 21:27:09 2023 3
Incremental Mon Nov 13 14:29:05 2023 1
Incremental Tue Nov 14 18:05:55 2023 3
Incremental Wed Nov 15 10:06:05 2023 3
Incremental Thu Nov 16 14:45:06 2023 5
Incremental Fri Nov 17 10:40:05 2023 4
Incremental Sun Nov 19 18:14:08 2023 1
Incremental Mon Nov 20 16:51:05 2023 1
Incremental Wed Nov 22 14:23:07 2023 1
Incremental Thu Nov 23 16:27:06 2023 1
Incremental Sun Dec 3 17:10:06 2023 1
Incremental Mon Dec 4 21:17:05 2023 1
Incremental Tue Dec 5 13:51:06 2023 1
Incremental Thu Dec 7 11:14:04 2023 1
Incremental Fri Dec 8 15:38:05 2023 1
Incremental Fri Dec 8 15:48:07 2023 1
Incremental Fri Dec 8 16:26:20 2023 1
Incremental Fri Dec 8 16:55:20 2023 1
-------------------------
No orphaned or incomplete backup sets found.
答案1
可能是这个已知的错误“——比被忽视更老?”据说是固定在口是心非版本2.1.4。