I do not understand the relation between system cron
, the cron
prop in config file, and autorestic cron
command. My conclusions on this (might be falsy)
#424
Unanswered
Kenya-West
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The docs page do not mention the relations of these at all.
The questions are:
Why do I need to define
cron
prop in.autorestic.yaml
if I have already setup a cronjob like:autorestic backup -c ~/.autorestic.yaml -av --ci
for every hour0 * * * * *
in the system?Why do I need to run
autorestic cron
command if I have the same job already setup from above?The cron command docs page does not explain what the
autorestic cron
command do. It is mentioned that it should be run by systemcron
. Why?Can the
cron
prop in.autorestic.yaml
config file be defined in theglobal
section? There is no schema for the config...Despite the absenced info, I have made some conclusions:
cron
prop inglobal
section of.autorestic.yaml
config file;autorestic cron
will generate and register cronjobs in the system for each backend;keep
strategy defined in config file.Am I right?
Beta Was this translation helpful? Give feedback.
All reactions