Split from #176
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.
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.
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.