答案1
您可以使用以下简单的方法开始快照
rsnapshot <backup_interval>
例如:
rsnapshot daily
我的rsnapshot.conf
有以下条目:
[...]
#########################################
# BACKUP INTERVALS #
# Must be unique and in ascending order #
# i.e. hourly, daily, weekly, etc. #
#########################################
# interval hourly 15
interval daily 7
# interval weekly 4
# interval monthly 3
[...]
或者grep
:
$ grep '^interval' /etc/rsnapshot.conf
interval daily