7
Advice on backing up disk images to S3?
(programming.dev)
Completely untested, but it shouldn't be anything particularly complicated if all you want is a full image you can flash back:
dd if=/dev/sda bs=4M | zstd -T0 -9 | openssl enc -aes256 | aws cp - s3://your-bucket/backup-sda.zstd.enc
Using tar is probably a lot more efficient though, at least you only upload what's used not the whole drive.
Or even better, use btrfs/zfs snapshots.
I've recently been looking into using Backblaze with their S3 object storage for hosting Lemmy, but it looks like they also have personal PC backup cloud offerings. Perhaps you could use them to do both?
A community for everything relating to the linux operating system
Also check out !linux_memes@programming.dev
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP