Can't get rsnapshot to work
I'm running this on Debian Jessie and thought I had it to do a weekly & monthly backups.
I was following this Archlinux guide on configuring it. https://wiki.archlinux.org/index.php/Rsnapshot If I set it up with systemdctl, as mention in Arch wifi, do I still need to setup a cron job? Assuming it will keep the last backups for a 3 month interval after the weekly backup. This is my first time trying rsnapshot. How do I define the backup to run, lets say every Tues. at 23:00 (11:00pm)? I want a weekly backup. This is how I have it setup in my rsnapshot config file. #retain hourly 6 #retain daily 7 retain weekly 4 retain monthly 3 I want it to backup weekly (Tues. 23:00). Does the "retain monthly 3" keep the past 3 months once completed for 3 months? It was suppose to have ran This morning at 23:00 but nothing happen. Thnx. |
I just set up an rsnapshot server, using Ubuntu 14.04. The cron file rsnapshot provides in the package, /etc/cron.d/rsnapshot, doesn't get read by the cron system. The solution is to put scripts in /etc/cron.weekly/ and /etc/cron.monthly/ and make them executable. Important: don't put any periods in the filenames of your scripts, or they won't execute.
/etc/cron.weekly/rsnapshot_weekly Code:
#!/bin/bash Code:
#!/bin/bash Code:
chown root:root /etc/cron.weekly/rsnapshot_weekly |
All times are GMT -5. The time now is 06:05 AM. |