3 ms·
On the backup question, this is one reason why I have a set of backups that are physically disconnected and not automated.
by jl6 4y ago
On the backup question, this is one reason why I have a set of backups that are physically disconnected and not automated.
- BLKNSLVR 4y agoI have a backup NAS that's normally powered off, but it's scheduled to turn on, perform backup, shut down. It doesn't wake on LAN and there should be no way of knowing it exists outside of checking DHCP static addresses reservations - and now that I mention it, maybe I should remove it from there too. This minimises the size of the window, and network-snoopable information, required to compromise this set of backups.
- jl6 4y agoIf your main computer has had all its files encrypted by ransomware, will the backup NAS know not to replace the good backup with a bad one? i.e. hopefully it's not doing something like `rsync --delete`.
- 2000UltraDeluxe 4y agoNot the GP but I use ZFS snapshots for such things. Should the files be overwritten or deleted I can always fetch an older copy from snapshots. The trick is to make sure nothing has access to the backup storage, which is obviously easier said than done.
- mnw21cam 4y agoThat's not hard. On my backup server, I have an account with a restricted shell that my backed-up machine has an ssh key for. That restricted shell is simply the following script: #!/bin/bash cd ~/backups tar --restrict --keep-old-files -x So the only thing that the backed-up machine (or an attacker) can do with the ssh key is push new files onto the backup server as a tar stream - it can't overwrite any files, and it can't put any files anywhere except the correct directory.
- account42 4y agoFor my server I went one step further and set it up so that the server being backed up has no access to the backup system at all and insteady only prepares encrypted (differential) tar archives that the backup system then grabs.
- fbdab103 4y agoRestic is my current backup solution of choice and that takes snapshots by default. If you took a backup on Monday, ransomwared on Tuesday, your backup volume would double in size (file de-duplication is going to fail spectacularly), but the Monday backup will be unimpacted until a prune operation is run. Suggested prune workflow is to maintain fairly staggered snapshots eg: 1x six-months ago, 1x three-months ago, 3x from last month, whatever makes you comfortable. Which should give a pretty comfortable margin on retaining your files.
- NikolaNovak 4y agoI think, perhaps ignorantly, That may prevent some human being or intelligent agent specifically targeting your nas. I don't think it would help against situations where your primary system is being encrypted for a while, and thus your backups eventually get overwritten with bad stuff.
- conception 4y agoReplication isn’t backup though?
- NikolaNovak 4y agoI would agree, but I feel the GP specifically talked about "Backup NAS", which is where my question pertains. I do have a set of hard drives I exchange with my friend as "off site" backup. Neither my cloud service nor NAS keep copies/snapshots of previous versions of files; and I have too much stuff to create BlueRay let alone DVD one-off backups :0/
- stephen_g 4y agoHopefully they’re taking snapshots!
- Izkata 4y ago> and thus your backups eventually get overwritten with bad stuff. I use rsync's --link-dest to get Time Machine-like backups so they can't be overwritten through the backup system itself. I don't take the "shut it down" precautions with this system the other person does, though I do have a separate in-place one that's strictly manual (as in I have to physically plug it in to update).
- BLKNSLVR 4y agoThe data being backed up is in tiers of importance or 'frequency of change', and based on this the backups are staggered, some daily, some weekly. I wouldn't often go a full week without checking some file or other, so I think I'd know pretty swiftly if I got infected with an encrypting ransomware virus - hopefully quickly enough to minimise damage. I also do off-site backups on occasion, so I could roll back to the last full set of off-site backups - so long as I remember where/when the most recent one is. My main adversary I'm protecting against is hardware failure, however. I think I run a pretty tight ship in restricting access to data that I'd rather not lose. Maybe some hubris payback will come visit one day though...
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]