118 days ago · Tech · hide · Fediverse post

When running: $ borg create --stats --progress --compress lz4 -e ~/Downloads/ --exclude-caches /path/to/repo::$(date +"%Y-%m-%d_%H:%M:%S") /home/" the shell printed: Failed to create/acquire the lock /path/to/repo/lock.exclusive (timeout) I found a message from Thomas Waldmann, maintainer of Borg: The default waiting time for the repo maybe getting unlocked is rather short (iirc 2 seconds or so), but if you like you can make it wait for longer (e.g. –lock-wait 3600).[1] Break-lock is only for manual and very careful usage, see the docs. --lock-wait 360 (6 minutes) did not work for me; the command kept hanging. I looked at the documentation of Borg for break-lock. The documentation stipulates that no Borg process should be running when using break-lock. ps aux | grep borg found that the process of the borg create was still running. I killed it, i.e. kill pid (to get the pid, run pgrep borg). Then I finally ran break-lock, checking borg break-lock --help for the syntax: $ borg…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town