Open rugk opened 7 years ago
First off, thank you for making these scripts, they are amazing. Is there any update on this issue? I would like to be able to use the latest version of borg with your scripts.
Thanks for the praise. (which you posted 2 times) You can use the latest version of borg with my scripts. This issue is about depreciating old borg versions for this script.
I see. I'm having a problem where after every backup, it remains locked so it cannot complete the next backup. But if you say it works with current versions of borg then I probably have something configured incorrectly. Thanks.
If you encounter an issue, which you think is a bug in the script, feel free to open an issue. Usually, when backups end successfully and the script is not interrupted all lock files are supposed to be deleted.
But BTW, if you use the new borg version, you can also just disable the local lock system, as the new version is supposed to have fixed the problem with stale locks.
See here for what versions still use borg v1.0: https://repology.org/metapackage/borgbackup/versions
So as far as I see, we cannot deprecate it yet as Debian and others still use it. :cry:
BTW @avion540 if you set $RUN_PID_DIR
to an empty string it does disable the lock system.
Depreciating old software is never easy, but in v2.0 we may: