[Borgbackup] Finding exclusive lock files

Stan Armstrong mfseeker at gmail.com
Fri Jan 29 09:35:24 EST 2016


I know that exclusive locks can be found in two places (as per the 
documentation at 
http://borgbackup.readthedocs.org/en/0.29.0/internals.html?highlight=locks:

the cache locks are at ~/.cache/borg/REPOID/lock.*
and the repository locks are in repository/lock.*.

I am running a simple home LAN with two machines to be backed up both 
locally and to the other machine. Even confining my question to local 
backups on each machine, I have two .cache directories, one for root and 
one for each local user. Each repository contains several archives; 
therefore there are several subdirectories in each place, each of which 
must be manually opened to find whether it contains a lock.exclusive file.

Is there a simpler way of determining where exclusive locks might be? 
("find" takes too long.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/borgbackup/attachments/20160129/34b981f4/attachment.html>


More information about the Borgbackup mailing list