My .conf file:
link_desk 1
sync_first 1
I'm using cron to do interval backups.
0 * * * * rsnapshot sync
10 * * * * rsnapshot hourly
30 3 * * * rsnapshot daily
0 3 * * 1 rsnapshot weekly
30 2 1 * * rsnapshot monthly
It's confusing me and i do not know if its right. Maybe I should do sync before every cronjob or just before smallest interval?
In the future i want run another backup with rsnapshot with seperate config file (for windwos machine).For example:
0 * * * * rsnapshot -c windows.conf sync
10 * * * * rsnapshot -c windows.conf hourly
30 3 * * * rsnapshot -c windows.conf daily
0 3 * * 1 rsnapshot -c windows.conf weekly
30 2 1 * * rsnapshot -c windows.conf monthly
.pid files I can separate in config file. Would I still have incompatibility issues with parallel running two rsnapshot process?
And the last question how could I organize cronjobs? what if my sync process takes longer than coming backup command? Is it possible to run rsnapshot hourly just after rsnapshot sync?