Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup S3 bucket to local borg repository #431

Closed
pgtaboada opened this issue Nov 19, 2015 · 7 comments
Closed

Backup S3 bucket to local borg repository #431

pgtaboada opened this issue Nov 19, 2015 · 7 comments

Comments

@pgtaboada
Copy link

Hi,

I need to backup a S3 repo locally. What is the best approach?

@ThomasWaldmann
Copy link
Member

borg only supports "filesystem" as method of accessing input (backup source) data (not: "remote repository").

so you'ld need a "S3 filesystem" and mount it locally, maybe check if there is something like that as a FUSE filesystem. alternatively, you could pull stuff out from S3 by any means, store it in local filesystem and then backup that with borg.

@RonnyPfannschmidt
Copy link
Contributor

RonnyPfannschmidt commented Nov 19, 2015

i think s3 would be fit as another key/value backend instead of the default one
edit: i misunderstood the source/sink direction of OP - sorry

@anarcat
Copy link
Contributor

anarcat commented Nov 19, 2015

"from borg to S3" is #102, from what i understand, this is "from s3 to borg".

@ThomasWaldmann
Copy link
Member

@anarcat thanks, confused that. @RonnyPfannschmidt please update or delete your answer.

@ThomasWaldmann
Copy link
Member

This is some stuff a quick search gives:

Closing this as out of scope.

@xenithorb
Copy link

Sorry for resurrecting an old ticket, but I have a quick question:

Do you think aws s3 sync would suffice, to sync the resultant repo to S3? As far as I understand it works similarly to rsync (without the deltas I believe):

DESCRIPTION
       Syncs  directories  and S3 prefixes. Recursively copies new and updated
       files from the source directory to the destination. Only creates  fold-
       ers in the destination if they contain one or more files.

It also has a --delete option to effectively mirror

@enkore
Copy link
Contributor

enkore commented Mar 2, 2017

Should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants