I configured rsnapshot so it would not backup hourly by commenting out the hourly cronjob in /etc/cron.d/rsnapshot
:
#0 */4 * * * root /usr/bin/rsnapshot hourly
30 3 * * * root /usr/bin/rsnapshot daily
0 3 * * 1 root /usr/bin/rsnapshot weekly
30 2 1 * * root /usr/bin/rsnapshot monthly
But this gives the error:
/.snapshots/hourly.5 not present (yet), nothing to copy
And it doesn't backup anything any more ever since.
As a workaround, I called this manually now once:
/usr/bin/rsnapshot -v hourly
But how do I configure this correctly so backups only are done once a day at 3:30 am?
Removing the cron job is not enough. You also have to adapt the config file to reflect the change. Remove (or uncomment) the following line from
/etc/rsnapshot.conf
:Then your backups should work again.