top | item 39653808

(no title)

gbletr42 | 2 years ago

I'm not familiar with zbackup, but from a google search appears to be a tool to deduplicate and encrypt data. The process envisioned while making this was to use a series of pipes unix style to make the backup, e.g.

tar c dir | zstd | gpg -e | bef -c -o backup.tar.zst.gpg.bef

and then to get back that file with the terribly long filename

bef -d -i backup.tar.zst.gpg.bef | unzstd | gpg -d | tar x

discuss

order

alchemist1e9|2 years ago

Makes sense and is very neat. I can likely replace the par2 splits with a single file using your tool.

Since your head is in the thick of this problem, I’d recommend you look at seqbox and consider implementing sbx headers and blocks as an optional container that would give you resilience to filesystem corruption. That way your tool would be an all in one bitrot safeguard and streaming/pipe based!

Regarding zbackup, it’s perhaps a bit obscure but extremely useful tool for managing data. The way I use it I’m able to get both dedup and lazy incremental backups, although with a computational cost, but not so significant. The encryption is a nice side effect of its implementation that is also handy.

frutiger|2 years ago

Small error in your restore command (given your creation command)

> bef -d -i backup.tar.zst.gpg.bef | unzstd | gpg -d | tar x

Should probably be

> bef -d -i backup.tar.zst.gpg.bef | gpg -d | unzstd | tar x