Hi Aaron and friends,
is there currently on OMV4 a practicable and reliable solution for rsnaphot in conjunction with autoshutdown?
The solution to edit openmediavault-rsnapshot cron file is no more applicable to due this will be always overwritten to standard time values.
I don´t want to let the system in on-state for hours at night only to backup few files within minutes. (2:00 - >3:30)
Because there are other daily cron jobs of the system, i would like to run everything included rsync with begin at 0:00. Is this possible?
Other solutions:
Scheduled job, that are anacron type, have the disadvantage that all Job would start at same time after system wake up. Because of
lock flag of rsnaphot, only one backup type is possible (from daily, weekly, monthly, yearly)
Anacron can use a delay time for running jobs, but anacron only start on a specific time? (07:30?), when the system is not powered on.
Can someone explain the content of the script: /etc/cron.d/anacron
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
30 7 * * * root [ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi
Do i think something wrong?
Thank you for your answers!