On 2020-06-21 18:54, Patrick O'Callaghan wrote:
0 3 * * * root /usr/local/bin/dock up && /usr/bin/borgmatic ; /usr/local/bin/dock down
I would suggest to avoid multiple commands on a cron entry, better to have a simple /usr/local/bin/do_backup with the three commands inside. There you can log with "date" commands the execution the starting of each of the part and probably discover that the up part is working fine (md127: active with 2 out of 2 mirrors) then the backup script is failing (or not starting) and the down part is having problems, apparently shutting down disks while md is still active. Cron jobs have often problems with missing env variables (e.g. simplified PATH) , those can also be fixed if you go the do_backup approach. Regards. -- Roberto Ragusa mail at robertoragusa.it _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx