No workflow, we just use BackupPC ( http://backuppc.sourceforge.net/ ) - cant recommend it enough. Restores are easy, monitoring and automation on different schedules is all built in. It's really great.
Ask HN: How do you backup your linux system?
21–30 of 86 posts
Re: Ask HN: How do you backup your linux system?
#22My work files are kept in git repos which I push to the same servers.
I use Ansible to configure my machine, so that I don't have to backup system files, just the playbooks.
Re: Ask HN: How do you backup your linux system?
#23Re: Ask HN: How do you backup your linux system?
#24I don't back up the system. Drive failures are so rare nowadays that I will reinstall more often because of hardware changes. The important stuff (projects, dotfiles) I keep on Tarsnap. I also rsync my entire home directory to an external drive every other week or so. Similar for servers but I do back up /etc as well.
Re: Ask HN: How do you backup your linux system?
#25I don't back up the system. Drive failures are so rare nowadays that I will reinstall more often because of hardware changes. The important stuff (projects, dotfiles) I keep on Tarsnap. I also rsync my entire home directory to an external drive every other week or so. Similar for servers but I do back up /etc as well.
This is what I do as well, just not quite as often. Sometimes I wonder if I should switch to something like rdiff-backup to get snapshots, but that would only really be useful if I accidentally deleted a file and didn't notice for a while, for instance, which in practice is not a serious problem.
If I had more time and inclination, I might set up a small 2-drive RAIDed NAS box, and do automated regular backups to that. But for my laptop PC, just doing regular syncs to an external HD seems to be fine for now.
Re: Ask HN: How do you backup your linux system?
#26I don't back up the system. Drive failures are so rare nowadays that I will reinstall more often because of hardware changes. The important stuff (projects, dotfiles) I keep on Tarsnap. I also rsync my entire home directory to an external drive every other week or so. Similar for servers but I do back up /etc as well.
Why would you reinstall due to hardware changes? My Debian installation has survived the move from two laptops already without any glitches.
Re: Ask HN: How do you backup your linux system?
#27I use rdiff-backup.[1] "rdiff-backup backs up one directory to another, possibly over a network. The target directory ends up a copy of the source directory, but extra reverse diffs are stored in a special subdirectory of that target directory, so you can still recover files lost some time ago. The idea is to combine the best features of a mirror and an incremental backup. rdiff-backup also preserves subdirectories,…