stewartadam / fwbackups

A feature-rich, user-friendly backup program [bugfixes only]
http://www.diffingo.com/oss/fwbackups/
GNU General Public License v2.0
86 stars 20 forks source link

Feature request : dividing archive into several smaller archives #16

Open theTrekman opened 1 year ago

theTrekman commented 1 year ago

It would be nice to have the possibility to divide a backup archive into more archives which have a chosen size. e.g. 512MB or so .... ;-) ... opening too big archives can be difficult depending on hardware.

System Details

stewartadam commented 1 year ago

Thanks for the suggestion!

To share some context on implementing this, fwbackups uses the tar CLI tool to generate archive files which generates a single output data stream. Packing files in a way that make them individually openable would difficult -- utilities like split are capable of segmenting the large files to assist with storage on older filesystem (like the 4GB limit on FAT32), however each segment would not be a viable archive on it own; it simply chunks the data stream and you'd have to re-assemble all the chunks to be able to open the archive again. We'd also need some way to index the files associated to each chunk so you could know which to open.

If folks need to store backups on older filesystems and would like to split the archives, please thumbs up this issue and I'll consider working on adding the capability to call split on the output data stream; but splitting into individually openable archives would likely require a large re-work of the whole backup system.