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

Feature request : dividing archive into several smaller archives #16

Open
theTrekman opened this issue Feb 3, 2023 · 1 comment
Open

Comments

@theTrekman
Copy link

theTrekman commented Feb 3, 2023

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

  • fwbackups version: 1.43.8-rc1
  • OS name and version: Linux Mint 21.1 Cinnamon
@theTrekman theTrekman changed the title Feature request Feature request : dividing archive into several smaller archives Feb 3, 2023
@stewartadam
Copy link
Owner

stewartadam commented Feb 6, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants