by CGamesPlay · 5y ago · 0 comments
I think about backups in terms of blast radius. 1) The local machine has the working copy of data and a local backup as permitted by free space. The smallest blast radius where I lose data is "my laptop hard drive fails". 2) My external drive has another backup. The new blast radius is "my house burns down". 3) I maintain a cloud backup. The new blast radius is "a catastrophe on a global scale".
Any two of these backups can fail and the data is still salvageable.
It exists and is important because many backup strategies are broken and people don't realize it.
For example your own strategy treats a PC's local storage and an external drive as distinct backups when in reality you've only evaluated hardware failures when formulating it and not malicious actors. In 3-2-1, in particular the media type + off-site thing, tries to "trick" you into having a backup which isn't accessible from the same system that it is backing up (i.e. offline backups).
Your backup strategy has been used almost verbatim by multiple institutions who got cryto-locked. The external drive was hit and then the cloud backup service happily synced the now encrypted files. They went from "backed up in three places" to backed up in zero places, and are now calling the cloud provider hoping that their backups had unencrypted copies in them.
3-2-1 isn't simple, but it is good, and that's what it tries to be.
Is that good enough in your point of view?
Thanks
[0] https://www.rsync.net/resources/howto/snapshots.html (not affiliated, just a happy customer)
[1] https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versio... (ditto)
For targeted - it often doesn't because often your AWS keys are on the system doing the back up and have permissions to delete items etc.
Of course, this is why S3 allows you to set and object lock rule (ie, 30 days is plenty) that means even you (or your computer) can't go and delete those online backups.
Just a reminder - snapshots at rsync.net are immutable.[1]
Even if Mallory gains access to all of your access credentials, she cannot delete/change the snapshots in your rsync.net account.
For cloud, I use a time4vps storage server. I rsync some data and use borg for more sensitive stuff.
Of course if the provider is locked then it's a moot point.
Presumably the rule was invented before ransomware was a thing, so perhaps it gets a pass for not anticipating versions, but yeah: the rule of thumb for the modern world probably includes something about backup versions.
Veeam for example (other backup systems are available) have several "immutable offerings" whereby you get backups that can't be deleted for a while. These are not appliances but configuration recipes. One of them is a generic Linux box with XFS with reflinks, a particular set of file perms and what they call a one off credential (a sort of app password I think), forward incrementals and a few other things. Get it all in line then even if a baddy gets in they can't delete your backups for a while. This does require detection inside say a week. The reflinks thing is really useful for storage space and things like "synthetic fulls" where you roll up incrementals into the last full backup.
You can also use AWS etc object storage for immutable. In all of these things you can lengthen the timescales available by applying more cash.
For me: tape in a safe is the only decent way to protect against ransomware. Even then some tape hygiene is needed!
I think there's an element that is as important as keeping a backup safe against a state-wide wildfire and that's AUTOMATION. If it isn't automated then chances are that your backup is very old once you finally need it.
far more simpler solutions exist that don't provide anything like reliability.
Things area more nuanced these days than when this "rule" was first formulated, but I suspect it's still true that the vast majority of people would be far better off with following it than whatever they are doing now. Doubly true of personal use.
I only use cloud backups (Glacier and Google Workspace), I gave up on off-site drives as they end up too far away to be easily/consistently updated, or close enough they are in the same disaster area I am in (Earthquake zone).
Houston flooding is another good example.