Comment on How often do you back up?
dr_robot@kbin.social 10 months ago
As others have said, with an incremental filesystem level mechanism, the backup process won't be too taxing for the CPU. I have ZFS set up which makes this easy and I make hourly snapshots which also get sent to another mirrored pair of connected drives using ZFS send/receive. Then, once a day, I upload encrypted daily snapshots to a bucket in the cloud using restic. Sounds complicated, but actually ZFS and restic do all the heavy lifting. All I did is automate their schedules using systemd timers and some scripts to backup the right directories.
doeknius_gloek@discuss.tchncs.de 10 months ago
How do you upload a snapshot? I’m using TrueNAS where I can make snapshots visible in a otherwise hidden .zfs directory. Do you just backup from there or something similar? Is there an upside to backing up a snapshot instead of just the current data?
dr_robot@kbin.social 10 months ago
Basically, as you said. Mount the data somewhere and back up its contents.
I back up snapshots rather than current data, because I don't want to stop the running containers that read and write from that data. I'd rather avoid the situation where the container is writing data while it's being backed up. The back up happens shortly after the daily snapshot is made so the difference between current and snapshot data is small.