Backing Up 100 Gigs in an Hour?
cybrthng asks: "I am faced with finding a backup solution capable of archiving to tape about 200 gigs of a financials data in a 2 hour window. I originally looked into DLT8000 Jukeboxes with 2-4 drives but have recently discovered the new LTO drives. I am interested in knowing real world experiences with these drives as there has to be a catch. I mean there is a 3 fold performance increase in data transfers, two fold increase in tape capacity and a minimal price increase overall. With these drastic differences is there something I'm giving up with LTO over DLT or vice versa? Which backup applications are more geared to handling volume and integrate with Oracle RDBMS? Restoring speed is even more critical then backup speed so i'm curious about how these two drives compare and which applications are best geared for this much data on a nightly bases. Mind you there will also be about 500 gigs of data in an end-of-week backup as well."
Does the backup medium have to be tape? Hard drives are in fact more reliable than some tape, and would have a faster data transfer rate. A pair of hard drives hooked into a RAID array could backup over 200 GB of data and then be taken offsite just as easily as tape. Considering the fact that the drives would likely cost $400, tops, and could be reused many more times than tapes, I don't understand why people bother with tape anymore.
Remember, there were no nuclear weapons before women were allowed to vote.
You never mentioned it, so I thought I'd ask. If you don't need something easily removable, you can still have the data backed up to the other side of the data center, or even possibly they other side of the campus. With a storge array on a fibre loop you can back data up hourly, all 100GB in a full backup. Even a Gbit ethernet link could do this in under an hour, provided the link is not shared too much. Then you could run daily or twice daily tape backups off of that archive to send to you offsite safe archive location.
You certainly have quite a challenge here. Some of the newer LTO drives can, theoretically, achieve 55GB per hour transfer rates but, realistically you will get far less. Using an array of drives will allow you to increase this performance but definitely not as much as one would like to think. With a two drive array, most people expect to double their performance but, a 30% increase is likely as much as you will see. That said, it would require a 4 or 5 drive array in order to achieve the theoretical throughput that you desire. This all assumes that your server hardware and OS and backup software can in fact feed the array fast enough.
I'm afraid that your only realistic options are to either get a larger window, which is probably unlikely, or perform live backups and bear the performance degradation during that time. The only other alternative that I can think of would be to mirror your data to secondary disk based storage and then backup the secondary storage off line. Any which way, I'd be amazed if you got 100 Gig an hour.
my high end spectralogic AIT-2 tape library can handle it easily. newer AIT-3/4 should be able to do it too. i can backup around 2.75TB with hardware compression before it runs outta space (30 catridges each with around 50GB uncompressed).
Backing to a stagging array and then moving to tape is a great idea. Backing up to HD means you only get to keep the last couple of back ups. The reason to use tape is to go way back in time. With a good grand father-father-son rotation, you can keep a lot of history with a reasonable amount of tapes. I have backups dating to my first week at this company several years ago. I can raise the dead from almost any 2 week checkpoint since then. I have had requests for e-mail that has been gone for 6 months and documents that have gone for more than 18 months. It makes you look really good to just smile a friendly smile when somebody asks sheepishly, "I need a file from an employee who quit last Easter. I'm not really sure what it was called, but I think I know where it was on the network. Can you help me?"
However, you aren't the first person to have this problem, and I'm sure Oracle as solved this problem. If it's as important as you say, I would pay them for this knowledge.
Power corrupts. PowerPoint corrupts absolutely. E. Tufte
Instead of trying to get a tape system that will back up in 2 hours, why not get a 'SAN' system that supports "snapshots" and then back up the "snapshot" on a tape medium that could take many more hours?
Well, cost I suppose, but the 2 hour window will probably shrink over time, while the 200GB will turn into 250 and 300GB, so you always end up chasing the most expensive tape technologies to keep up.
As far as the DLT vs. LTO question, I don't know much about LTO in production use, but DLT is so widely used and trusted it would seem to have more of an incumbent status as the technology of choice. I ended up using AIT 50/100GB tapes -- cheaper media, faster than DLT, smaller tapes (easier to carry lots off-site), larger 'jukebox' designs available, and higher capacity (at the time I made that decision). It's worked well and I've never regretted it.
"But actually trying to use m4 as a general-purpose langage would be deeply perverse" --ESR
EMC, Hitachi, HP, and SUN all offer ways to create an internal point in time disk copy of production data.
Off topic (again), but FYI the HP and Sun storage solutions are OEM'd by Hitachi.
The Sun StorEdge 9910 and StorEdge 9960 are HDS 9910 and 9960 with different skins on them. Likewise, the HP XP48 is an HDS 9910 and the XP512 is the HDS 9960, so named for the number of disks in each (48 and 512).
I run a major financial bank institution on a bunch of overclocked Athlon XP's. we use IDE RAID and linux 2.4.10.
That sound you hear is the rustling of ten million "withdrawl" slips being hurriedly filled out.
The Database data is on an EMC system connected to some Sun machines (E3000's and V880's). I have BCV volumes setup to mirror the data, but the problem is the mirror is already used to establish database replication and clone the database to a development instance. Not enough time during the night to do this, backup and do nightly transactions and whot not.
I can add 32 more drives into the EMC and setup an addition BCV pair to mirror on and then backup from the broken mirror, but the cost is just about the same as buying a 4 drive, 20 slot changer.
This is financial data responsible for nearly a billion dollars of revenue a year so using extra disks to offload before the backups are an option, simply not using a tape solution isn't an option.
hope that helps heh
geez, 1 gig an hour? i need 100 gigs an hour :)
What kind of performance do you get throwing it over the gigabit network? How long does it take you to dump that much data?
:) hehe
I put in a PO to have a seperate server doing the backups through a gigabit network, but not necessarily to dump the data locally. Just to offload the cpu from the production environment since in reality it is a hot backup i'm working with and the 2 hour window is the only time i have where there are not batch processes running that could really kill my backup times.
Boy do i hate 24/7 systems
What are the real world numbers? I don't even see much info on usenet or anywhere other then typical sales bs.
It's by no means an easy feat, but the following should probably get you there.
First, you need to consider how the data is getting to your backup server. This looks like a job for gig-e. (since you don't really want to run you DBs on the same machine as your backup server.) You should use multiple streams. (either break it into multiple smaller jobs or enable the multiple streams option in your backup software if it has one. Many do.) It's hard to flood even a 10base network with a single TCP/IP connection. (your bandwidth utilization decreases in inverse proportion with your latency. I forget the exact formula though.)
Next there's how you're getting it to tape. I recommend running the backups to disk first if you can. This means you won't stall a network connection if you change tapes, or the like. But it does mean you need a lot of storage on the bkup server. Also, if that's a 2h from DB to tape window, this might not be useful. However, barring using a SAN and snapshots (or the like) your only other option is to go straight to tape.
To go straight to tape you'll need at least 6 DLT drives, assuming you can keep the tape streaming and get 6Mbytes/s, and you balance them across a wide enough SCSI and PCI bus(or whatever system bus you choose) This will give you N+1 redundancy and meet your bandwidth requirement of 28Mbytes/s.
As for the LTO/DLT trade off. We're moving to an LTO solution where I work, and it generally seems to be the way to go. It's worth evaluating, but I don't think your choice of tape either way should be your restricting factor. And there is something to be said for the reliability of DLT.
By no means do I know a whole lot about backup technologies or any of that, but I do have a suggestion that kindof takes a different angle on the hard drive idea.
I understand that you would want and need to keep the data off-site on tape (requirement). However, getting that transfer rate is going to be difficult. Perhaps you could do something like this:
Use the hard drive backup (SCSI RAID perhaps?) idea to backup the data quickly and reliably. THEN, you've got it backed up in your time limit. Now, you can back up that back up with a tape, but you don't have the incredible time requirement. Get it?
Concept:
Original Data on Hard Drive
--> Back it up onto a separate Hard Drive within the time limit
--> Now, back up that hard drive that has just backed up the original. You have a backup done already, so you've met the time needed. Now, you can back it up with tape or whatever without having to do it within such a short amount of time. You can use the technology you desire to back up the hard drive copy while the original data drive keeps working.
Then to restore, you can do it from whatever the removable media is.
Again, I don't know a ton about this, but it's just a thought of another way to accomplish this.
Your "backups" are toast.
Floods, tornadoes, fires, etc happen. Sometimes people fly planes into buildings. When that happens, tapes are the only thing that keeps your business in business.
No, actually it is off site backups that save your ass. All the tapes in the world won't save your ass unless you have carried backup sets off site.
Off Site Backups can be done with harddisks too. The main advantage of tapes it they are usually less fragile than hard disks, but the costs of the tapes for some large capacity tape backup systems are higher per MB than the multi GB consumer IDE disks and they don't provide random access.
An idea I had for backups was to have a system be a mirror for the main disks. As the day went on it would mirror all the changes to the main file server. At 6PM or so (end of busisness day plus an hour) the current DB after image file would be copied to the mirror and mirror would be broken, the disks pulled, and a set from the week before installed. The mirror would then be restarted bringing the old backups up to date. The removed set would then go home as the current offsite backup. Tape and DB backups would happen as normal. The DB backup would be written to a partition on the disk set. I would think this become infeasable if one has to backup more than 4 to 8 disks worth. At this point that could be more than one TB. There would be a set of disks for each day of the week. Weekly tape backups would be the long term archive, while the disk sets would be the offsite backup.
This may seem ultra low tech, but I've been able to get away with backing up extremely large ammounts of data using plain-jane removable hard drives. In one case I built an entire "backup server" who's only purpose in life was to have mass ammounts of removable storage and perform backups. Instead of shuffling tapes around we just shuffled (slightly larger) hard drives around.
We thought of using SCSI, but the cost/MB was to high. The server had a Promise UltraATA 100 card with four 40GB WD hard drives and a single 10GB WD hard drive on the on-board IDE for the op system. The case had 5 external bays, four housing the sleds for the 40GB drives and one held the CD-Rom. The 40GB drives were whipped up in RAID to create a single 120GB volume (last drive for parity)
I realize it's not really an enterprise class sollution, but it provided the fastest backup and restores for our money.
I'm against picketing, but I don't know how to show it.
You can use snapshots to back-up your data at a "reasonable" pace.
If near instant-restores are a necessity, consider creating an off-site BVC using FC/AL over fiber.
Okay... I'll do the stupid things first, then you shy people follow.
[Zappa]
cheers,
mike
Here's a copy of the email I sent to cybrthg:
:-).
Storage is all that I do for a living. Here's a quick summary of how you could do it:
1) First you have to make sure that the drives you have your data on are going to be able to give you the read rates that you need. I highly suggest that you go with a raid array of some sort. Preferrably one with substantial cache in front of it. The raid controller should be smart enough to do what's called "read ahead" caching. That reduces the read miss ratio and speeds up sequential (i.e. backup) applications tremendously.
2) Get whatever tape drive you choose. Base your decision on the speed of the device - use only the native performance. LTO is either 15mb/s or 16mb/s depending on whos drive you get. It is safe to assume that you will get about 1.2x compression. So for LTO that would get you either 18mb/s or 19.2mb/s. Assuming you get the 15mb/s drive you can realistically expect to get ~64GB/hr per drive.
3) You have to get some sort of advanced backup package to support those rates. I would suggest that you go with either Veritas NetBackup, Legato Networker, SyncSort Backup Express, or any of the enterprise class products. Don't go with cheap software - in general they do not have the performance coding necessary to move data at very high rates efficiently. This is a hard choice, but if you stick with the three I told you, you should do fine.
4) Get a library that can handle several drives, so that you can use them in parallel.
5) Put each tape drive on a separate scsi bus, or if you go with fibre channel put at most 3 drives on the channel. There's a ton of way of architecting this side of the house, but in general if you stick with those numbers, you should be fine.
6) Try not to send data over the network, even with GigE, the effective rates are going to be drastically slower than those of direct attached devices. GigE also severely impacts the server - tcp/ip overhead is a bear for high throughput environments. There are ways around this, but that ouside the scope of this email
That should do it for you for the traditional backup methodology. There are other ways of doing backups - making mirrors that you can split of. Taking snapshots..... There are a ton of products that can help you on this. Some of them are software based packages that sit on the server with the data. Some of them are hardware/software devices that sit on a SAN or a NAS. Again, going into this is quite lengthy, but it can be done. I have a customer for which we are doing over 1TB/hr backups using a combination of lots of tools. You problem is quite a bit simpler.
-- thoughts on one of those things: http://amuyu.com/
Looking at what your setup is, I can say that you really have three options:
Honestly, I would prefer the last option. You already need a backup host machine with FC connectivity and enterprise backup software in any of the scenarios. Adding a 100GB A1000 (or D1000) to this is only going to run $10k or so, and you don't need a massively expensive FC tape library, or the EMC snapshot software. It'll grow with your backup needs, and is relatively inexpensive. And you can keep last nights (or a couple of nights) worth of backups on the A1000 for fast recovery. Disks in an A1000 are much cheaper than for an EMC.
I'd go with something like the Sun L20 mid-size (2 LTO drives, 20 cartridges, 2TB total) with a 200GB A1000. Sun list is about $35k for these together.
-Erik
There are always four sides to every story: your side, their side, the truth, and what really happened.
I see a number of posts extolling the virtues of using hard drives as backup media:
*Fast!
*Cheap!
*Easy!
Unfortunately,
*Reliable!
isn't something you're going to get. Also, when you consider that you may want to be able to restore something that was deleted, say 6 months or a year ago, your media costs begin to outweigh your equipment costs. Also, a hard drive is going to be physically larger than a tape holding the same amount of data, requiring more expensive off-site storage. You do take your backups offsite, don't you? What about a flood, fire, or (gasp) terrorist attack? What about a break-in?
Another reason to not depend solely on hard drives for backup: the shelf-life of a tape is much longer than a hard drive. Fifty years from now, you'll still be able to read today's backup on tape, but the mechanics of a HDD used for backup (even if it hasn't been used) may be all goobered up rendering the drive DEAD. I won't go into handling considerations, except to tell you what you know already: hard drives are fragile.
That said, I like the idea of setting up a mirror server which updates from the master server, then running the backup on the mirror server. This'll increase your window and reduce the load on the master server.
Lastly, make sure you understand the difference between full, incremental, and differential backups. Use them to your advantage to balance price, speed, load, and storage (where you're gonna store your tapes) considerations.
Give me my freedom, and I'll take care of my own security, thank you.
...when you get two simultaneous disk failures on a RAID-5 array. In other words, the data was toast. Happened to one of my clients around a month ago. Thankfully, they monitor their backups, making sure every one is good and taking action if a backup fails. They lost only one day's worth of work.
I know people who slack off when it comes to backups, because they've got redundant drives, after all. They seem to believe that they never accidently delete files, and it's not that much work to recreate those quarterly reports. They don't realize just how much work they do on their computers, and how hard it is to retrieve that thought that came to them as they were typing up that letter to their congressmen.
Just today, one of my clients had an IDE drive on a RAID-0/1 array fail. The controller (two channels, four drives) misreported which drive it was. Now, it only shows one drive in a four drive array as being a member. Here's hoping a new controller which will arrive tomorrow will allow us to rescue the data.
No, they don't have a backup for ~100GB of data. Fools. I guess they've got a few spare months kicking around to recreate several hundred thousand pages of digital documents.
A RAID array is great for performance gains. In a production environment, it'll guarantee uptime while a bad drive is replaced or until the system can be taken offline. Don't trust a RAID controller that puts two IDE drives on the same channel; sometimes, a failed drive will prevent the system from being able to access the "good" drive on the same channel, bringing down your system. If reliablilty and uptime are important and can be measured in $$$, don't even THINK about IDE RAID solutions. The increased support costs for IDE are more than the increased hardware costs for SCSI.
Give me my freedom, and I'll take care of my own security, thank you.