Timeshift的GUI版本提供了自动保持最后X备份的能力:
https://raw.githubusercontent.com/teejee2008/timeshift/master/images/settings_schedule.png
据我所见,没有使用CLI的这样的选项:
https://github.com/teejee2008/timeshift#readme
https://manpages.debian.org/testing/timeshift/timeshift.1.en.html
是否有使用CLI的这样一个选项?
发布于 2021-08-12 19:09:21
您可以编辑/etc/timeshift.json文件来设置这些值。回购中的timeshift.json文件将这些值显示为默认值:
"count_monthly" : "2",
"count_weekly" : "3",
"count_daily" : "5",
"count_hourly" : "6",
"count_boot" : "5"P.S.:我从第288期那里找到了这种方法,就在同一个Github上。
https://unix.stackexchange.com/questions/664445
复制相似问题