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.
We use an Exabyte X80 with 2 mammoth2 drives (it's upgradable to 8!), and fully loaded it backs up ~1gb / sec. Not very cheap, but very fast.
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.
I'm only tackling the restores part of the question here... typically, speed or a lack thereof in restores is a function of your backup software. If I restore a library on one of my AS/400s (using IBM's OS/400 builtin backup utilities, which are not very bright), it takes a few hours to read the tape and seconds to restore it (single unit LTO). However, if I can give a tape id in addition to the library name, the restore takes seconds since the LTO is really very fast, particularly if it knows the tape segment where the file is stored.
Amateurs discuss tactics. Professionals discuss logistics.
First question is tape the medium you have to move the data to, or could it be staged to disk then to tape. Also what kind of system is the dat stored on now? Is it a disk array or JBOD? Who is the manufacture of the disk system? EMC, Hitachi, HP, and SUN all offer ways to create an internal point in time disk copy of production data. This copy can be mounted on a system then backed up to tape. The copy doesn't have to be mounted on the original system the data was on, just the same type for mounting purposes. The next question is where will the tape be attached? Is it going to be attached to the system via SCSI, or Fibre Channel? A single 20mb/s tape drive in a best case might be able to do 36Gb an hour. But the average I've seen has been about 80% for a substanined transfer rate do to tape, and system overhead. So your only looking at 28Gb per hour. This does not include the time it takes for the library to exchange the tape. You would need at least 4 tapes drives to even be able to back the system up in this time frame, but your recovery would suffer along with you system during backup. The only way to get a the best performance out of a tape system is to strip you data streams, and have multiple data streams. All the major backup software vedors do this (HP, Veritas, Legato). The problem is the recovery hurts as most will only recover one stream at a time. So if you backup four stream at a time, your recovery will be 4x the backup time. I guess that is basic overview of DR. I can write for hours on this...
What we did to reduce backup windows was create a large IDE array. We got 13 100gb IDE drives together and we run all our backups to that. Have about 900gb of space in a raid 5 array. Once the data is to disk, we have a seperate gigabit nic with a crossover cable running to a second machine with two HP DAT40x6is which take the data off the disk and dump it to take. We have extreamly small backup windows.
The problem with this is that to restore a file older then a week or so (once it's off the disk array) we need to restore the whole backup set which can take hours. Were useing Backupexec on Windows 2000 so I'm sure whatever software you guys are useing is more flexable.
This might offer a cheap solution to your problem, good luck!
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
What are you talking about?
I run a major financial bank institution on a bunch of overclocked Athlon XP's. we use IDE RAID and linux 2.4.10.
Some tape backup vendors will sell you product that backs up faster by striping backups across tape writes the same way RAID stripes data across disks.
However, there's no parity tape in these circumstances. So if one tape is trashed (frighteningly common), you've lost the backup.
Go with off-site disks, and then take however long it takes to back that up. Cheaper, more reliable, and restoring from online hard drives is much, much faster.
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
I feel dumb, that's ~1gb/hour ;)
Disregard my post.
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 :)
The AutoLoader is SPOT ON. I have the LVD version of the library ( they make a fiberchannel ), and am running it on a 32bit pci U2W tekram scsi card.
Actually, real world throughput ( from the spooling disks, not the network ) is 13MB/sec. The spool is two ATA100 100MB drives, striped together, each on it's own channel from a single promise controller, using the 'md' driver.
The autoloader delivers. They are stackable, and the robot/loader is capable of inverting and passing vertically around the stack. Love HP hardware engineers.
Here is last nights statistics: DAMNED LAMENESS FILTER!!! Heavily edited now:
That looks AWFULL now. Comeon guys, at the risk of some ascii art, and for the sake of some tables, could you allow the <pre> tags?Before I part with'em: two pennies weigh ~4.996+/-0.014g, have a zinc core, and the face of Lincoln. You can keep 'em.
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.
Depending on your backup and recovery needs you may want to look at using a SAN or NAS that has the ability to do snapshots or point in time copies of your data. All you'd need to do then is pause or stop your db engine, snap the filesystem and restart the db engine. This one approch you can take to expand your backup window. This can also let you take advantage of resources that may not be available during your normal backup window. For example, we have a storage tek tape silo that is heavily used at night by our legacy systems for various production jobs. That same silo is idle much of the day time hours. We have a NAS that supports snapshotting(a netapp filer) so we can pause our db engine at 2AM, snaphot the filesystem, and restart the db engine. Then the next day, when we have lots of available time on the silo we can dump it to tape. This also gives us quick restore capability, if we need it. For example, if the DBA makes a boo-boo and needs to restore the db they can stop the db engine, rollback to the snapshot from 2AM and restart the db engine. This takes very little time compared to doing a restore from tape. But, don't just snapshot the data because if the building burns down you'd be SOL. If you really need quick restore times and tape is still too slow you can look at replicated db's or replicated file systems. If you give your friendly local network appliance, veritas, IBM, sun, hp, compaq, EMC, or auspex sales person a call they would probably be more than happy to talk with you about various products that support some form of snapshotting, rollback, replication, clustering, etc. You may also be able to cut down the amount of data that you need to backup nightly. A lot of times in large databases there is tons of static data, for example if you have a a large GIS database with lots of satellite imagery you may find that you only need to backup the imagery quarterly or yearly instead of nightly.
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.
Copy the data across a dedicted network connection to a large disk array. Arrange the backups so you have sequential backups - Day1,day2,day3 etc. on disk
Back the files from the disk array to tape.
You should come in under your window w/ the net xfer. You have all day to write tapes.
Display some adaptability.
Use a striping RAID array for the backup, then copy to tape.
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 run a major financial bank institution on a bunch of overclocked Athlon XP's. we use IDE RAID and linux 2.4.10."
I hope this bank is somewhere cold, because it's gonna be damn hot in there.
I didn't read this while scanning he other messages, so....
1. Backup to an separate system, onto its hard drives.
2. Tape backup the separate system.
You get speed, and your tape requirement.
Try Floppy Disks
Employ a few million people, each with a floppy disk in hand.
It'll solve the unemployment problem too!
..wont dump to a disk device. Naitively anyway...not like MSSQL does.
You could ghost(drive image) it though to an equivalent HW platform.
"I am a warrior, and information is my weapon..."
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.
With standard backup software like Sun's (rebranded Legato) Solstice Backup you can also specify a filesystem to back up to as well as tape's, so you might be able to use an extra RAID for quick backup's then use the tape to back that up in a larger window. Filesystem snapshotting (Sun's Instant Image) would work fine if you can shutdown the database for a sec. I'm in the same pickle btw. Oracle Financials, Sun, tape backup, RMAN, etc. I'm going to end up doing just tape (single drive L20 DLT8K) we don't have a window nearly as small as yours though. I'm currently getting 10GB/hr via NETWORK backup, which isn't half bad. But I'm also going to have a extra RAID for Redo logs (mirrored drive) and a RAID-5 for whatever snapshotting I need.
-- Chris Martin, System Administrator
...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.
Well not mine, but I get to use it at work. It is an IBM Ultrium 3580. Each tape holds 100GB. The specs say it holds 200GB compressed, but all of my data was JPEG images, which I don't think can be compressed anymore. Depending on the server load, the times I have noticed are approximately 1hr 15min. per Gig. This is my best case scenario.
The data being backed up was coming off a EXP300 external RAID array (again, IBM), conencted via Ultra160 SCSI.
The only bad thing I can say about this drive is that we are on our second unit. A tape got jammed into the first one, and was destroyed in the process. IBM was good about getting a replacement here, however.
Is that a real poncho? I mean, is that a Mexican poncho or is that a Sears poncho?
The "ask slashdot" law of answers to backup-related questions:
Any discussion about backup solutions of ANY kind will turn into a flamewar about whether current, huge, cheap hard disks are better for backup than tapes.
At where I work, we deal with ridiculously large databases (SQL and Oracle), and we need to make sure we always have up-to-date backups of those databases and associated other files at all times.
We do have an EMC, but we don't use it for backups (GASP!). Instead we use it as fast,fast,fast storage LUNS where our databases live. Once EMC's snapshot software catches up to us, we'll snapshot a LUN and then spool it out to tape.
In the meantime, depending on the size and activity of the database being backed up, we'll either to a database export out to NAS (Maxtor 4400s) and then have our Veritas NetBack server with an ATL autloader (2 LTO drives and holds 20 tapes) back up that, or we'll do a backup directly from Oracle, SQL or the server itself.
Backing up to the NAS units works well for our large databases, because we've had issues with NetBack aborting backup jobs when doing direct backups because it wasn't finished by the time the backup window closed.
Being unbiased and all, Heh. why dont you examine the NearStore box? http://www.netapp.com/news/press/2001/news_rel_200 11210a.html
It's an inexpensive near-line and tape consolidation solution for existing systems, and if you had a network appliance filer you could just use snapshots which takes 3 seconds, without doubling your disk space requirements and then you can take your merry time putting it to tape.
http://www.netapp.com/tech_library/3043.html
I have had a bit of experience with IBM Ultrium LTO drives on AIX in environments ranging from SCSI attached to Fibre Switched. They can backup in my experience 60-70GB per hour but the restore takes 4 times as long as the backup time. The problem I am told is the back-hitching that the tape drive has to do in order to keep data going to the disk drives. These things will restore much faster than the system can handle so they have to stop, go back and resend. What you might have to do is look at other backup methodologies like incremental hot backups of your database like RMAN for Oracle (I assume that this is what we are talking about here). Combine this with the LTO and you should easily make your backup window.
Cheers,
makath99