borgbackup / borg

Deduplicating archiver with compression and authenticated encryption.
https://www.borgbackup.org/
Other
11.19k stars 742 forks source link

create specs for backup service? #1553

Open ThomasWaldmann opened 8 years ago

ThomasWaldmann commented 8 years ago

On IRC, the idea of a (non-professional, for free, mutual) backup service based on borg came up (note that more professional backup services could use some of this, too).

If some people have internet connection, some free disk space and borg+ssh set up, they could use the other's space for their backups, while offering their space for the others' backups.

We could have this as better alternative to "individually reinvent":

henfri commented 8 years ago

So, I make a start. I offer up to 5TB on a Linux Server with 50Mbit upstream, 100Mbit down stream.

ThomasWaldmann commented 8 years ago

as documenting this is quite some work, I'ld consider putting a small bounty on this IF multiple people are interested in this issue - in the hope that other people might increase the bounty.

so, to show your interest, add reaction "heart" for this comment.

update: I put up a bounty for this.

s200999900 commented 8 years ago

I can share up to 2Tb on linux server with up/down stream ~50Mb/s.

RonnyPfannschmidt commented 8 years ago

for the standard setup, i would suggest to program/test them via tools like nix/docker/ansible instead of letting people set them up manually/custom

my personal preference would be to spec it as a nix module and ship that as docker/rkt/vm for others to consume

ThomasWaldmann commented 8 years ago

@RonnyPfannschmidt the implementation can be done however someone does it. this ticket is about the spec and it will have to be as a text document.

RonnyPfannschmidt commented 8 years ago

either the spec is executable/testable and convergent, or you are in hell ^^ at least thats my experience when you let people implement a spec

ThomasWaldmann commented 8 years ago

I don't think giving the spec as an implementation of it is a good idea. If you use nix, about 0.1% of potential users will be able/willing to use it. Similar for any other deployment tool / container / VM technology, but maybe with a bit higher percentage.

Thus, specifying in a text document how the service has to look from the outside is easier. And if someone implements incompatibly, it's not my problem. ;-)

Based on that, we can add specific implementations, but that's not in scope of this ticket.

RonnyPfannschmidt commented 8 years ago

hmm, i feel there is at least a need for some automated test for such implementations, unless there is a automated test people must pass, its very certain a messy situation with lots of barely working implementations is going to happen

enkore commented 8 years ago

Can always have a spec (authoritative) and a reference test suite or implementation (or both)

But first there needs to be a working spec

ThomasWaldmann commented 8 years ago

Let's continue there: https://github.com/borgbackup/service-spec - there is an issue tracker also.

ThomasWaldmann commented 4 years ago

closing due to #5230.

ThomasWaldmann commented 4 years ago

reopening, see #5230.

ThomasWaldmann commented 1 year ago

Note: I am closing this temporarily to use the funds for other bounties: #7468 #7469

ThomasWaldmann commented 1 year ago

Now open again, TODO: create a new bounty.