8

In the good old days, backups went to tapes, some of which were often offline if not offsite. This made it difficult to destroy all backups (accidentally or maliciously), especially if the network/servers have been compromised.

These days, disk to disk backups are all the rage which brings up two questions:

  • Is it common for a d2d setup to keep all backups online (as opposed to also using tapes, rotating drives, ...)?
  • How are online backups typically protected? In other words, how is access to the media (e.g. files), and the ability to destroy it, restricted? How many people typically have access? etc..
Toto
  • 738
  • 2
  • 5
  • 11

5 Answers5

7

disk-2-disk backups as long as disks are kept offline in remote location: OK

online-only backups: Not OK

backups stored physically near your server: Not OK

if your site gets compromised and attacker will want to take you down - [s]he will not only destroy your data but also backups.

take a look here how people handle such backups.

you can obviously experiment with pull method of taking backups - so it's your backup server that connects to machines and copies the files. make sure backup machine is not internet reachable, is located in remote office / datacenter - this can actually work.

pQd
  • 29,561
  • 5
  • 64
  • 106
  • Take a look at "here". The word is a URL to this link: http://serverfault.com/questions/22064/how-do-you-do-the-offsite-hard-drive-backups/22081 I was going to answer this question but the link squillman referenced is my answer anyway. LOL – KPWINC Jun 15 '09 at 21:24
5

Disk to disk over a WAN link to another site is ok. I am not a fan of having all my backups online, nor of having all my backups on tape. I've been in the backup game for quite a while now and people keep saying "Tape is dead." I don't think tape is dead. Disk 2 disk isn't the perfect replacement yet. Tape write speed is a limiting factor to some degree, but if you're talking about backing up with something like LTO4 you're going to hit network transfer limits long before you hit tape write limits. Unless you've got 10GB Ethernet. So if you're backing up to disk over the network then you're probably not going to see a huge speed hit going to enterprise class tape.

Backups are covering several contingencies most places: accidental file deletion, intentional data deletion/destruction, and disaster recovery, and sometimes data archiving. Depending on what all your needs are you probably need your data further away than the next rack.

Disk to disk backup comes in many forms, from scripted or manual file copies, to virtual tape libraries, to disk storage managed by your backup software. The VTL and disk backup managed by your software have the advantage of providing offline backup that can only be managed via backup software, and thus aren't subject to user intervention, and less susceptible to virus or malicious user attacks. I am using a deduplicating VTL now. Previously I had a large chunk of SAN space managed by NetBackup setup as a Disk Storage Unit. Since my total storage in this arena was limited I used it for backups that had short retention and didn't grow much.

I am not aware of a d2d solution that is meant to have it's drives pulled out and rotated. Since most of them are using RAID across all the disks. Which means your retention is limited by your disk size.

I strongly advocate against online disk based backups. They aren't really secure against tampering, and they can lead to data inconsistencies. I know a lot of people especially here on serverfault are using them but I don't think this is the way to make disk backup most effective.

I feel the same way about breaking mirrors and moving disks. Most RAID controllers will take it fine, but it is a lot of overhead to rebuild that RAID set and in the mean time your performance will suffer.

Laura Thomas
  • 2,825
  • 1
  • 26
  • 24
2

One nice thing about doing backups to hard drives is that they are fast. Using a tape-based system, our tape-write-speed is the slow link in the chain. I think that if we began using hard-drives for backups, our network throughput would become the limiting factor.

Probably more critical is that restores can take place quicker. Not only due to the speed of the drives, but because they are random-access, you don't have to wait for a tape drive to do a slow sequential seek to find where to begin reading before you can perform the restore. And in a disaster recovery situation, time can be critical.

Brent
  • 22,219
  • 19
  • 68
  • 102
2

It depends.

Disk to disk backup is ideal for a service restoration scenario. Say you need to restore a downed server within 90 minutes, 24/7. You need disk to disk, particularly if you're remotely supporting the server.

Disk to disk, replicated backup to a remote DR site is also great, as it gives you protection against a disaster affecting your primary datacenter.

Disk to disk, not-replicated backup is not a good choice if backup with part of your business continuity plan in the event of a failure at your primary datacenter.

Disk to disk also isn't a good idea if you need to preserve massive amounts of data for a very long time. People store tapes in old salt mines for decades...

IMO, you build backup to satisfy your need for service restoration. Long-term retention of data (not systems) gets done by an archive.

duffbeer703
  • 20,077
  • 4
  • 30
  • 39
0

Servers with hot-swappable drives are very useful here. You treat the drives as you would a tape - pull it out after the back up is finished, and take it offsite for storage.

Brent
  • 22,219
  • 19
  • 68
  • 102
  • or just usb-attached drives. they suck big time [ high cpu usage, slower transfer ] ... but are convenient up to the point that i'm willing to forget first two. i use 4 1tb drives with truecrypt on them. so far so good [ there was even couple of data restores already ! ]. – pQd Jun 15 '09 at 21:25
  • 1
    esata a useful also. Depending on your chipset, they can also be hot-swapped and you benefit from full bandwidth. – David Jun 16 '09 at 00:01
  • Ok, but hotswap requires human interaction. Backup should happen automatically, because it is against unexpected data loss. If you expect a data loss, you make a backup manually on the spot... -> backup must happen all-automatically -> if hotswap is required, you will have a major problem the first time as it does not happen (it will). – peterh Jan 22 '20 at 00:54