Borg: import-tar: create archive from tarball

Created on 28 Feb 2017  路  5Comments  路  Source: borgbackup/borg

Split from #176

Most helpful comment

I am looking for a way to transfer an archive between borg repositories. My use case is syncing a local and remote repository.

By gluing together tar import + tar export I could transfer archives between repositories, and move toward my goal.

All 5 comments

Note: should be done after 1.2, borg is expected to be more modular / untangled by then.

This is pretty simple actually, since the model used by the various tar's is fairly close to what Borg does. (Also, the stdlib tarfile module handles all the dirty work for us). See PR, not much code.

2234 is the implementation PoC for this that can be recycled later for a real implementation.

I am looking for a way to transfer an archive between borg repositories. My use case is syncing a local and remote repository.

By gluing together tar import + tar export I could transfer archives between repositories, and move toward my goal.

Oof, I actually thought this was merged back then and I was so confused why import-tar seemingly vanished from the CLI and the docs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chebee7i picture chebee7i  路  5Comments

auanasgheps picture auanasgheps  路  5Comments

pierreozoux picture pierreozoux  路  4Comments

htho picture htho  路  5Comments

verygreen picture verygreen  路  4Comments