Repository navigation
Multiple clients to one Borg repo #7186
|
I just finished setting a borg repo on a raspberry pi. I'm wondering how I can have both my laptop and desktop going to that same repo. Both machines will be sharing the same data so I want to take advantage of the deduplication of the archives. Both computers run Linux also. |
Replies: 4 comments 7 replies
|
if you use a raspi (or any machine with not upgradable memory), avoid creating too big repos. big repos use more resources (like memory) and if you run out of memory, it is game over on that system. |
|
To answer the actual question, if you are using unencrypted repositories, you just point both clients at the same repo, and it works. For encrypted repos, it will depend on the type of encryption, and hopefully someone else can answer. (I think this should be explained in the FAQ item on this topic, which currently just gives warnings about doing this, but doesn't tell you how to do it.) |
|
Can you please clarify if the forthcoming versions of borg (1.4 or 2 or maybe later) shall support backing up multiple (similar) clients to the same repository relaxing some of the difficulties that currently exist with borg 1.2? Thinking of the security implications and of the fact that you either need a huge cache on the clients or a very long time to fetch everything from the repository at the beginning of the backup. Thanks! |
|
@callegar borg 1.4.x and 1.2.y (with y > 4) should be pretty compatible (the fork of 1.4-maint branch was at 1.2.7 IIRC). For both of these, you should do the CVE-related upgrade steps from the top of the change log though. About "relaxing the difficulties" (security implications, cache resync, etc.) - no change there in 1.2.x and 1.4.x. Bigger changes will come with borg2. |
To answer the actual question, if you are using unencrypted repositories, you just point both clients at the same repo, and it works. For encrypted repos, it will depend on the type of encryption, and hopefully someone else can answer. (I think this should be explained in the FAQ item on this topic, which currently just gives warnings about doing this, but doesn't tell you how to do it.)