r/Backup • • Oct 08 '17

borgbackup 1.1 released

borgbackup maintainer here, thought this is relevant for some of you:

We just released a new stable version of borgbackup, the FOSS deduplicating, compressing, encrypting backup tool.

See the shortened, major-new-features-only changelog there:

https://www.borgbackup.org/releases/borg-1.1.html

Works on: Linux, *BSD, macOS, Openindiana, Windows+Cygwin, Windows 10 Linux Subsystem. No native windows support yet, sorry (in case you'ld want to work on that, see the "windows" branch in git).

For more details, please see: https://www.borgbackup.org/

Feedback is welcome, either below or on github. Thanks!

Note to MOD: didn't see any possibility to "flair" my account.

14 Upvotes

5 comments sorted by

1

u/sapphiron7 Oct 25 '17

Love the simple structure and documentation.

Is there a recommended method for coordinating large numbers of borg backup jobs across a hundred or so hosts sharing the same backup destination?

1

u/ThomasJWaldmann Oct 29 '17

borg locks the repo while doing a backup and there is --lock-wait option to tell it how long it shall try acquiring a lock. Setting that to a long time would somehow work, at least until the sum of all your backups take longer than the backup interval.

See also the FAQ about why you maybe rather want 1 repo per client.

1

u/r2p42 Feb 18 '18

One repository per client lead me to think about the backup from the backup.

If every hosts gets its own repository, they should also get their own repository passphrase/key. If one host gets compromised, the repositories of other hosts are still safe.

But if I want to copy all repositories from the backup system to an attatched drive, I have to use with-lock for each repository in order to copy a consistent state. Does with-lock require the passphrase/key of each repository or does this command work without that? I can't find the information in the documentation. In case the passphrase is required, I would have to keep all the passphrases on the backup system or at least move them to that location temporarily, eventually compromising every repository.

Am I wrong?

Hope that makes sense...

1

u/ThomasJWaldmann Feb 20 '18
tw@tux:~$ borg init -e repokey repo
Enter new passphrase: 
Enter same passphrase again: 

tw@tux:~$ borg with-lock repo ls repo
config	hints.1  integrity.1	 lock.roster  README
data	index.1  lock.exclusive  nonce

It did not ask for passphrase for "with-lock".

1

u/sapphiron7 Oct 29 '17

Awsome thanks!