![当 Duplicity 以退出状态 23 退出时,这意味着什么?](https://linux22.com/image/146707/%E5%BD%93%20Duplicity%20%E4%BB%A5%E9%80%80%E5%87%BA%E7%8A%B6%E6%80%81%2023%20%E9%80%80%E5%87%BA%E6%97%B6%EF%BC%8C%E8%BF%99%E6%84%8F%E5%91%B3%E7%9D%80%E4%BB%80%E4%B9%88%EF%BC%9F.png)
我正在运行 Duplicity 将桌面备份到远程存储。一切都工作正常,但现在我在日志中看到 Duplicity 在几次运行中已退出,退出状态为 23。据我所知,备份正在运行,并且备份已上传到远程计算机。
退出状态 23 似乎仅当它作为 cron 作业在后台运行时才会发生。当我手动运行备份脚本时,我得到 0 退出状态。
Duplicity 的手册页缺乏有关程序退出状态含义的信息,所以我真的不知道从哪里开始。
cat syslog.1
输出:
...
Jan 23 12:54:35 xx anacron[998]: Job `cron.daily' started
Jan 23 12:54:35 xx anacron[4241]: Updated timestamp for job `cron.daily' to 2019-01-23
Jan 23 12:54:45 xx kernel: [ 322.467223] EXT4-fs (sdb1): warning: maximal mount count reached, running e2fsck is recommended
Jan 23 12:54:45 xx kernel: [ 322.473997] EXT4-fs (sdb1): recovery complete
Jan 23 12:54:45 xx kernel: [ 322.474404] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
Jan 23 12:55:03 xx kernel: [ 340.754000] EXT4-fs (sdc): recovery complete
Jan 23 12:55:03 xx kernel: [ 340.794089] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: (null)
...