docker-mc-backup
docker-mc-backup copied to clipboard
Split to multiple files
Is it possible to split the file up to multiple smaller tgz files. My cloud storage tool has some problems with +1gb files.
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?
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.
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.
I'll gladly leave it up to you.