youRFate@feddit.detolinuxmemes@lemmy.world•the fear of missing out a better compression
6·
5 months agoRight, I usually do that or lz4.
Right, I usually do that or lz4.
On windows.
With restic you can pipe to stdin, so I use mysqldump and pipe it to restic:
mysqldump --defaults-file=/root/backup_scripts/.my.cnf --databases db-name | restic backup --stdin --stdin-filename db-name.sql
The .my.cnf looks like this:
[mysqldump]
user=db-user
password="databasepassword"
You can’t dedup/compress restic repos at fs level due to the encryption.
Nice thing is you get those even with „dumb“ targets that can‘t do those for you.
Restic is my tool of choice for deduplicated encrypted verifiable compressed incremental backups.
Why would you put a file system on the drive if you dd a disto image?
I know, but I’d say ppl on Linux tend to not use it.