Open yarikoptic opened 4 years ago
You can set "lockfile" in btrbk config file:
https://github.com/digint/btrbk/blob/master/btrbk.conf.example#L81
not sure how unkosher that would be.. I will interrupt cron one for now.
From a btrfs point of view, this should be kosher ;-)
You can set "lockfile" in btrbk config file:
https://github.com/digint/btrbk/blob/master/btrbk.conf.example#L81
Thank you! I will!
IMHO locking should be default mode of operation, even if not explicitly specified, or explicitly disabled
Yes, I think so too @yarikoptic
I had added an external harddrive, adjusted btrbk.conf to backup to it, and manually started
btrbk run
. Since it is the first invocation, it takes awhile to complete. Meanwhile cron job also invoked btrbk and now there are two of them dumping in parallelnot sure how unkosher that would be.. I will interrupt cron one for now.
flock
or alike could have been used to prevent cron invocation due to btrbk already being runningedit : killed cron job, disabled it for now, and removed /mnt/backup/_btrbk/home.20201023 since expect manually invoked btrbk to want to transmit the it later on