View Code? Open in Web Editor
NEW
Command line tool for creating encrypted backups avoiding duplicates
License: BSD 3-Clause "New" or "Revised" License
backup's Introduction
- ๐ฑ Rust
- ๐ FreeBSD
- ๐ฆญ ๐ DBRE
- ๐ฒ make it work, ๐ make it better, โ๏ธ make it fast
backup's People
Contributors
Stargazers
backup's Issues
define db (sqlite or similar) to keep track of keys and paths where backups are stored (probably multiple destinations)
also encrypt the db since files can only be decrypted with it
test encrypting in chunks, benchmark vs AES
keep track of changes and update/create backup, do this async:
- keep track of changes in DB
- digest DB data at custom time (define priority)
define the backup layout:
zstd
offers a good ratio(speed, size), maybe also use xv
to get a better compression ratio, (find way to provide multiple option)
flow:
- get files
- compress
- encrypt
if the system to backup is almost full, give the option to select a buffer dir in which compression and encryption occur.
The flow:
- get checksum
- compress (split if necessary (define maybe max chunk/spit size)
- upload