raidisnotabackup/content/4.md

16 lines
2.0 KiB
Markdown
Raw Permalink Normal View History

2016-09-28 12:17:03 -04:00
+++
title = "You've convinced me - so how do I back up?"
description = "Backups are a contentions and complicated subject, but these simple rules should help guide you."
2017-02-22 01:51:00 -05:00
weight = 4
2016-09-28 12:17:03 -04:00
type = "post"
+++
2022-10-13 09:39:59 -04:00
* Always back up in _some way_. While a copy of the data on the same array won't protect you against all, or even very many, failure modes, it will protect you against some, and those are usually the most common. Remember that a _backup on the same server_ is still susceptable to some of the _same failures as the original data_ set, but having 2 copies is still better than 1.
* A good rule of thumb is _three copies_: the _original_ (RAID or otherwise); one _onsite copy_ on a different, preferrably offline, medium; and one _offsite copy_. Store the offsite copy in the cloud, a data vault, or at a friend's house; just keep it somewhere else. This is often called the "3-2-1" rule: 3 copies, 2 different media types, 1 offsite.
2022-10-13 09:46:03 -04:00
* _Make backups regularly_, at least once a week, preferrably more, and automate it! Forgetting to back something up and then needing just that backup is a common scenario and is never fun. The more frequently you back up, the better your recovery resolution, and back up regularly-changed files more often.
2022-10-13 09:39:59 -04:00
* _Test_ your backups regularly, at least once a month; _a backup is worthless if you can't restore from it_. Just because you have a backup doesn't mean you're protected: always test them and fix any problems. If you never test your backup, you will almost certainly find it doesn't work, right when you need it.
2016-09-28 12:19:54 -04:00
2022-10-13 09:39:59 -04:00
There are dozens of backup utilities out there which work well; I'm not going to prosthelytize for any one of them, but I personally use [BackupPC](http://backuppc.sourceforge.net/) and plain old `rsync` for my server and workstation backups.
2016-09-28 12:19:54 -04:00
2022-10-13 09:39:59 -04:00
Only you can determine what you need to back up, and that differs for everyone. But if you can't replace a set of data, you should definitely back it up: Murphy's Law applies here as much as anywhere.