Skip to content

Comment on Ask HN: How do you back up your 'daily driver' computer?

Comments

My method is to use rsnapshot [1] to make a local copy. The rsnapshot script uses hard links to save space for files that have not changed. That has made fixing a corrupted git repo easy and I am lazy so that works for me.

I then rsync that snapshot to a local NAS and also copy that data from the NAS to external SSD USB drives. The NAS also has rsnapshot for important folders. The SSD drives get unplugged and one goes into my vehicle in case the house converts to another state of matter.

If something is extra important I encrypt it and then lftp+sftp [2] it to a chroot SFTP server on the internet. The lftp command has a mirror sub-system that can replicate most of the behavior of rsync except using multiple threads to a chroot sftp-only server to make it faster than native rsync.

[1] - https://wiki.archlinux.org/title/rsnapshot

[2] - https://en.wikipedia.org/wiki/Lftp

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.