patched together workaround to the repo-locking nature of borg2 #8320
SpiritInAShell
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
tl;dr: not a request, not a howto, most likely not useful, just rambling about some experiments
BTW, I use proxy repositories to cirumvent the repo-locking, especially on a low-bandwidth remote storage. It looks similar to this:
rcreate --repo=local1.borg2 --other-repo=sftp-remote.borg2
for every subvolumetransfer
(so some deduplication going on the local space)transfer
to remote storage.Now I can prepare the data being sent to remote storage "pre-seeded", ready chunked and compressed.
Very fiddly and prone to errors. Needs much local space. Needs much time. Unneccessary high load on the local drive holding proxy repos. Limited local deduplication. Don't use this
in production!in borg2, as there is lossless
export-tar
andtransfer
in borg2, it is now possible to downstream from a central repo selected archives. With--bypass-lock
on read-only snapshots this should also make parallel downstreams from remote possible. Locking nature of borg2 somewhat circumvented.I wish borg1 could be enhanced to export-tar losslessly. Then exporting to the local repo which is associated to the remote repo would be faster.
Beta Was this translation helpful? Give feedback.
All reactions