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

Split to multiple files #161

Open
brommeltje opened this issue Dec 4, 2023 · 4 comments
Open

Split to multiple files #161

brommeltje opened this issue Dec 4, 2023 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@brommeltje
Copy link

Is it possible to split the file up to multiple smaller tgz files. My cloud storage tool has some problems with +1gb files.

@itzg
Copy link
Owner

itzg commented Dec 6, 2023

That will be dependent on what restic, rclone, and/or tar can support. Any chance you can research output file splitting provided by any of those?

@itzg itzg added the help wanted Extra attention is needed label Dec 6, 2023
@brommeltje
Copy link
Author

The thing i could find:
You can pipe tar to the split command:
tar cvzf - dir/ | split --bytes=700MB - sda1.backup.tar.gz.
or
tar cvzf - dir/ | split -b 700m - sda1.backup.tar.gz.

restic, rclone i'm afraid i know even less about.

@itzg
Copy link
Owner

itzg commented Dec 8, 2023

That seems like a good approach and would fine to be supported for tar backup method only.

Want to make the code change 😀? If not, I can queue it up to work on.

@brommeltje
Copy link
Author

I'll gladly leave it up to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: No status
Development

No branches or pull requests

2 participants