Re:Deduplicating a 10.4 TiB game preservation archive (WIP)
by Intralexical on Wednesday December 18, 2024 @03:49AM
(#42449016)
This is good thinking, but I think you are basically describing a Restic/Borg respository :)
- Deduplication? Check.
- Compact format? Check.
- Good read speed? Yep. (Proportional to backing store.)
- Custom purpose-built? Yeah, that's what backup programs are for.
- Custom data layout? Check. (Rabin/BuzHash content-defined chunking, SHA256 dedupe.)
- Adding additional versions? Yes. ("Incremental backups"— See above.)
- Virtual filesystem access? `restic mount`/`borg mount`.
i was already brainstorming of writing a custom purpose-built archive format, which would allow me to have more fine grained control over how i can lay out data and reference it. the thing is that this archive is most likely not absolutely final (additional versions being added) - having a plain filesystem allows for easier adding of new entries. an archive file might have to be rewritten.
if i go the route of custom archive, i can in theory write a virtual filesystem for it to access it read only like it would be a real filesystem... and if i design it properly, maybe even write it.
still would prefer to use a btrfs filesystem tbh ^^ will brainstorm a bit more over the next days - thanks for your input!