-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
import-tar: create archive from tarball #2233
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. |
@enkore so what is happening with this, will it be merged/reimplemented? Is there any way to restore a backup from an exported tar with borg? |
#2233 (comment) about being "untangled":
So there has been a bit work in this direction, but not yet at the right place needed for import-tar (like having some in-memory object having all the metadata and data and giving that to "put that into this archive code"). |
The implementation is now merged to master branch and everybody interested is invited to help with some practical testing. See Stuff to test:
Please open new issues if you find bugs or ask here if you have questions. |
Split from #176
The text was updated successfully, but these errors were encountered: