Closed televisi closed 5 months ago
Doesn't this need to be */3 * * * *
not */3 1 * * *
that means it will run every 3 minutes at 01:00 and then not for the rest of the day.
Doesn't this need to be
*/3 * * * *
not*/3 1 * * *
that means it will run every 3 minutes at 01:00 and then not for the rest of the day.
Oh my!! what a rookie mistake, totally missed that "1" after "*/3". Thanks for this!
For the consecutive run, it ran the script from the crontab.txt file; how about the initial one? (especially when I have ENV "RUN_ON_STARTUP = true")?
Thanks
I don't understand the question sorry? If you mean about initialising your backup repo you need to do that manually as per the borgmatic instructions
Sorry, I should have made it clearer.
So, currently I have the docker env => RUN_ON_STARTUP = true With that, when I restarted the docker instance, it will run the borg backup automatically. The question is, which parameters does it use?
The reason is, because on my crontab.txt, I use the following command, ideally to use the same parameter when docker is restarted too:
borgmatic --stats -v 0 --log-file /etc/borgmatic.d/log/borgmatic.log --log-file-verbosity 1 2>&1
Thanks
Hi,
This might not likely an issue, but someone might be able to confirm this for me. As part of the testing, I wanted to have borgmatic to run every 3 minutes followed with logrotate command every 5 minutes.
On \etc\borgmatic.d\crontab.txt file, I have the following
When I checked docker log, it only ran the logrotate every 5 minutes, but does not run the borgmatic; did I miss anything here?
Thanks