Ask Slashdot: >2GB Backup Software for Linux? 173
Fer asks:
"Are there backup program for
Linux that do not have filesystem or volume
size limits? I am trying to make a full backup of
a 22 GB FTP server, using 4 GB TR-4 tapes. I have tried tar,
dump, afio, taper, and afbackup, and every one of
them either did not allow >2GB volumes or had
weird problems with >4GB filesystems. Currently
I am using dd to do the job, but I think there
must be another option. Any suggestions on free
programs which I may use?"
dd is probably the wrong tool - use tar (Score:1)
I use gtar + gzip (i.e. tar czvf
Works fine on my 4 gig tape drive.
Mark
Re:Why Tape? (Score:1)
This, however, is not what tape users use tape for. Nobody with a tape drive has just one tape to go with that drive, they have many tapes to go with that drive, they have backups from yesterday, last week, and last month.
A hard drive backup can only be used in the case of disaster recovery, if one drive crashes, you have all the data neatly stored on the second. However, if a file has been deleted/modified and you later realize that you need the old file back, you are SOL if your second hard drive has already been backed up to, while a tape user will have a backup from before the file was deleted/modified.
Hard drive backups are good for disaster recovery only; tape backups are good not only for recovering your entire filesystem, but for recovering individual files from your filesystem as well.
Oh, did I forget to mention that tape is cheaper too?
Re:Jamie: Sony AIT - 25GB Native (Score:1)
The GP series runs at 5400 RPM, slower than their other high-capacity IDE drive, the GXP, although I'd like it to be even lower around 4000 RPM like the Quantum Bigfoot TS drives. For $100 less per drive, I might get a couple Quantum 19.2 Bigfoot TSs instead. For the ``need that file I deleted a year ago'' situation I would burn a CD-R or two every couple months for longer term storage.
But then Toshiba has that $450 DVD-RAM drive, with double-sided 5.2G media around $40...
Re:Backup to CD-R? (Score:1)
Of course, for a large installment (ie. Business, not at home), tapes are the only way to go. You can't fit 10 GB on a CD, and using over 10 CD's is just prohibitively sLooooW!
Note: I beleieve cdrecord will burn from stdin, but if I remember right, the author strongly reccomends against this... Oh well, I've got a CD-Rewriteable, guess I'll give it a shot later and tell you my luck.
tar | split (Score:1)
BTW: TR-4 tapes hold about 3.8 GB of data, so you might want to use slightly smaller chunks than 2GB, to make sure you can fit them onto the tape without wasting space.
odd moderation (Score:1)
My view is that the question referred to backup solutions, and you offered one. I disagree with the solution, and am preparing to respond to your post. But your post seems to be entirely on topic. It looks like some good moderators came by and corrected the scoring problem.
anonymous moderator
Re:what kind of tar? (Score:1)
Re:linux problems with files > 2Gb must end. (Score:1)
In fact, if you abstract the filesystem from the OS well, allow for 64-bit references, you could have any kind of large file system, like SGI, WinNT, etc... Maybe he just needs to expand the integer sizes in the kernel to support true(r) 64-bit file systems. Maybe that's what this is all about.
afio >2GB (Score:1)
Koen.
(koen@win.tue.nl, current afio maintainer)
Re:How about good backup software for heterogenous (Score:1)
HP just released a cheap (~$250) 7/14GB Colorado IDE tape drive using Travan technology that I use to backup my network. [i'm not an hp rep, i just think hp is a reliable company and that's a good price for that size] For some reason the software and drivers that shipped with it don't work with NT Server (just Workstation) likely due to some "licensing" issues, since the binaries would be identical...
"If Bill Gates had a nickel for every time Windows crashed...
Oh, That's right. He does."
Re:Travan sucks? (Score:1)
The one thing that bothers me most about Travans is how HOT they get. There's a reason why each tape has a heat sink built in!
Re:Why Tape? Terabyte systems! (Score:1)
An eight-gig Travan tape is $20 at the same place.
From Web vendors, a DLT that will compress up to 70 GIGS of binary data is $80.
I think that pretty much speaks for itself.
Legato Networker (Score:2)
Re:Backup to CD-R? (Score:2)
mkisofs -R
and if it does remove the -dummy to make the real thing
mkisofs -R
You may have to change some of the flags. If your CDR won't do double speed remove the speed= (or change it to 4 if you are lucky enough to have a 4x drive) and if the drive is at a different SCSI id you'll have to change the dev= flag. I find that the fs= flag is not necessary but that it doesn't hurt either.
One caveat is if the filesystem is larger that 650MB you will have just have made yourself a coaster. You can check the file system size with
du -s
or, for more accurate results,
mkisofs -print-size
Re:Not on a 32-bit system it mustn't. (Score:4)
When we had 16-bit DOS, did it mean we can only have 64K files. You might say, "but 32-bit only addresses 2GB (signed) of memory or whatever". Programs don't even typically load 2-4GB worth of file at a time, but that doesn't mean we can't or shouldn't use the contents of a 80GB file, just because we have a 32-bit processor.
A true 64-bit file system can exist on a 32-bit machine, which would lead to having >2GB files. In fact, if you abstract the filesystem from the OS well, allow for 64-bit references, you could have any kind of large file system, like SGI, WinNT, etc... Maybe he just needs to expand the API / working integer sizes in the kernel to support true(r) 64-bit file systems. Maybe that's what this is all about.
Re:Commercial solution: arkeia (Score:1)
Re:Are you writing straight to tape? (Score:1)
Tape - easier on the pocketbook for big backups (Score:1)
Two of those disks cost $678.20 and would have about 2GB more capacity than a $65.71 tape (IIRC a 25GB tape can be had for about $78), and $999.60 (probably a little less, because there's a discount for 3-packs) to buy eight Jaz cartridges which would equal a single tape. The disks and cartridges would probably be faster (although it would be annoying to sit for hours changing cartridges when you can stick in a tape and go home), but imagine paying $8000 to keep twice-a-week backups going back six weeks when you could pay $800 plus the one-time expense of the drive. Imagine if you did daily backups (which we don't), or kept a few months worth of backups... or kept 'em indefinately...
The drive *is* rather expensive, but because of media prices tape is cheaper than other solutions if you make frequent backups and keep them for a while.
...and, the 8 Jaz cartridges take up as much space in your fireproof container (which should hopefully be designed to protect magnetic media, as mentioned elsewhere in this thread) as four tapes - that's four backups in the physical space of one.
Re:Backup to CD-R? (Score:1)
But nice big fast tape drives are sooo much more expensive than CD burners...
(gahck, if you read my posts in this article you'd think I'm some crazy tape evangelist... I sound like your steriotypical OS bigot... uh-oh, here come the men in white coats...
Re:Travan sucks? (Score:2)
Re:NOOOOoooo..... (Score:1)
-Colin
Lone-Tar (Score:4)
Re:No backup solution - not enterprise ready (Score:2)
slightly o/t: best backup system for single user? (Score:1)
What's the best backup system - ie. hardware for a single user PC Linux system? The machine is just for my use at home, but I need to back up some files. Are Zip drives really worth it, and supported out of the box by Redhat (its what I use, ok?!)? Anyone hear anything from the Orb device that came out recently?
Re:Commercial solution: arkeia (Score:1)
Arkeia is great. You may be able to get a significant discount on the commercial product. I had communication with the president of the company and received a 54% discount on the mini lan product + 1 server class backup license for personal use. I just received my licensed product directly from the president of Knox Software. I previously tested the product to backup NT and Linux to a 8mm Exabyte Drive.
-Scott
NOOOOoooo..... (Score:2)
If ANYONE suggests Legato Networker, run away as fast and as far as you can.
We had this piece of crap installed on Netware and it SUCKED. Oh, it backed up and restored just fine. But it was literally an all day event to restore a single file. And the "user interface" (in quotes because it barely qualified) was the WORST I have ever seen for ANY program. And it required numerous patched NLMs to handle file-locking correctly. And it still brought down our servers regularly.
--
"Please remember that how you say something is often more important than what you say." - Rob Malda
>2G backup *media*? (Score:2)
If I want to backup 4G or 8G of data, and I don't want to have to switch media halfway through, what should I buy?
Bonus points if it's media that is still likely to be in fashion (and thus easily readable) five years from now.
I'm leaning toward the idea of not using tapes for backups at all, but just cloning everything to a spare hard disk, that is only ever mounted during the backup process.
why all this seperate server crap? (Score:1)
Maybe I'm missing something REALLY obvious here, but what's wrong with that?
the email/dialup/firewall is a seperate box for security reasons but why *should* the backup server be a different computer? If the main server dies, you're fried either way. I have another machine I can throw the tape into and restore from, but I don't understand what's inherently wrong with using the same machine...
please email me as well as send to this forum,
Re:Tape - easier on the pocketbook for big backups (Score:1)
...and in the first fire that eats through the floor and crashes said safe on the floor below, you lose your four backups since JAZ drives can't stand being dropped off a desktop, let alone a story.
I don't like JAZ. at all. ZIPs are damn near indestructable, as are tapes.
Re:Why Tape? (Score:2)
Snapshot filesystem backup solution for linux? (Score:1)
I would recommend Amanda (Score:3)
Re:linux problems with files > 2Gb must end. (Score:1)
backup straight to the device!!!
Re:No backup solution? try ADSM (Score:1)
ADSM is very powerful; very "enterprise", but it's like repeatedly beating your head against a plasterboard wall. Legato's much nicer tho not as powerful.
Re:>2G backup *media*? (Score:1)
ordering a HP DAT24 DDS-3 drive next week so I
can let you know how I get on (it's for an NT
box though
DDS-3 is 12GB (24 compresses) per tape. Something
like 7GB/hour compressed. And the drives can
read & write your original DDS-1 tapes as well.
Kenn
Re:Commercial solution: arkeia (Score:1)
--Warning: Start of Shameless plug --
We are also a reseller for the..so if you are interested give us a call +1-201-384-4444 x204
--end Shameless plug --
Re:Jamie: Sony AIT - 25GB Native (Score:1)
You will need new tapes though...Also one other note...using the AIT drives with ARKEIA..Do not buy the Tapes with a MIC (in cartridge memory), ARKEIA does not use it..(nor does tar, BRU, etc)..Save yourself $20 per tape...
Also...It looks like the casue of our problem was a bad batch of tapes from seagate (also made by sony, confirmed by a seagate rep.)..Unfortuanatly I don't have any more info to pass on (like lot numbers)..
Good luck with backups...and the restores when need be...
Linux's 2GB limit (Score:2)
Re:NOOOOoooo..... (Score:3)
We've had endless trouble with Arcserve for Windows NT. It backs up UNIX clients very slowly, and trashes its databases on a regular basis. I finally called up Arcserve to scream at them about it, and the upshot is that their database system cannot handle more than 16 million records, about 1GB, and the sheer volume of files we need to backup overwhelms their database engine. Of course, it doesn't gracefully fail, it just quietly corrupts itself without telling you. I have been dodging bullets with that system for months.
Apparently, if you install a SQL server and use it to store your database of records, it works fine for larger installations, but I'm so pissed at them about not documenting such a basic limitation of their system that I've been exploring other alternatives.
I did a test install of Legato Networker on a Solaris 2.5.1 box, and it seems to work pretty well. It spools multiple volumes to tape at the same time, seems to run A LOT faster than Arcserve did under UNIX (about the same speed as Arcserve/NT backing up NT files, about 2.5MB/minute to a 40GB SCSI DLT tape unit), and the restores run fine. It is a bit slow about responding to commands, sometimes taking a minute or so to set itself up for the next job, but it seems good on Unix at least.
Unfortunately, there is no Linux client for Networker.
Have you used Networker in anything other than a Novell environment? S'possible that their Netware stuff isn't so good, while their UNIX stuff is fine. I have all of one week experience with it, and while it seems fine to me, I haven't really loaded it down yet.
Not on a 32-bit system it mustn't. (Score:4)
The *last* thing Linux should do about 2GB files is try and use hack after kludge to satisfy people who want to use Intel chips but don't want to hear about their limitations.
COMMERCIAL: BRU 2000 (Score:3)
Re:>2G backup *media*? (Score:2)
If you shop around on the net, you can find name-brand DDS-3 tapes for under $14.
Sony and HP have announced their DDS-4 drives. DDS-4 gets 20G native capacity. I was a little disappointed when DDS-4 was announced, as it is only a 67% capacity increase over DDS-3, while DDS-3 was a 200% increase over DDS-2. Anyhow, as near as I can tell, Sony is shipping their DDS-4 drive already but HP is not. I haven't seen any DDS-4 tapes at retail yet.
Some people whine about the cost of DDS drives. It's almost irrelevant to me; I spend much more money on tapes. I find it to be a much better tradeoff to buy an expensive drive that uses inexpensive tapes. Most of the Travan and similar things are priced the other way around, so I have no use for them.
Re:what kind of tar? (Score:1)
----------------------------------------------
Matt on IRC, Nick: Tuttle
Re:Why Tape? (Score:2)
--------------------------------------------
bash# lynx http://www.slashdot.org >>/dev/geek
Matt on IRC, Nick: Tuttle
Travan sucks? (Score:1)
/* Steinar */
Re:NOOOOoooo..... (Score:1)
I remember using arcserve 5 on netware... Perhaps the only backup program that was more reliable was NT's backup. I could almost guarrentee that a backup run would result in an ABEND or corrupt files on tape. We switched to arcserve 6 when we moved to novell 4.1 - it didn't crash the server regularly either. But I have to say that Novell is not a brilliant platform on which to judge cross platform enterprise backup software.
We currently use Legato Networker to back up a small constellation of suns, a couple of NT boxen and a few linux boxes - there are linux clients - for i386 and for sparc. They just don't have the graphical interfaces.
ADSM (Score:1)
The company I worked for when I looked into this performs remote backups via network lines. They also offer Internet access over the network lines they use for the backups. It's really a nice system. If you happen to live in Houston, check them out: www.edms.net
Re:Why Tape? Terabyte systems! (Score:2)
Yes, for systems under 100 GB which don't need to keep historical data, backing up to disk is feasible, and in many circumstances is better than tape. However, that doesn't mean that tape has "been superceded" entirely.
Re:Why Tape? (Score:1)
how about afbackup or burt? (Score:2)
afbackup [freshmeat.net] is pretty painless to setup, speedy backups, can run over ssh, prompts by email when tape changes are needed, reasonable restores of entire backup sets, but is very slow for selected file restores.
burt [wisc.edu] is wicked fast for backups, tcl-based interface, imho elegant, and can run over ssh. afbackup was better documented and offered an emergency restore option that i preferred at the time.
i ruled out amanda because it is complex and tends to want a holding disk the size of an entire backup set.
CTAR recommendation: seconded! (Score:1)
My company has been running CTAR for 3 1/2 years, and it has never let us down. It can run as command line with TAR-like commands, or via a very well-designed character-mode menu. I've been backing up 8+ gigs at a time on our main SCO Unix server with no problems.
It's available for Linux as well as most varieties of Unix. $195 for the Linux version.
what kind of tar? (Score:4)
Try this (Score:1)
Re:There are three good choices. (Score:1)
How many files are you backing up? (Score:3)
tar -cf part-a-of-tree.tar
tar -cf part-b-of-tree.tar
etc...
BRU (Score:1)
The True Dork
Re:Why Tape? (Score:1)
We were running into the 16million record database size limitation on Arcserve, and also our backups were not finishing in time. ADSM, while rather expensive, was a job saver.
You could surely do something similar with the available free GNU utilities, and some smart perl scripting.
BRU 2000 (Score:1)
Dana
IBM ADSM runs on about as many platforms as exist (Score:1)
Re:what kind of tar? (Score:1)
For my personal machine backup, I've had IOMega TR1 (400/800M), Seagate TR4 (4/8G) and now have an Aiwa NS20 TR5 (10/20G) drive. I've never had a single failure over hundreds of backups and dozens of restores. The Aiwa finishes a 5.6G backup in an hour, validates while writing, has hardware compression, and costs Oh yeah, I use GNU Tar to backup 6GB of data that lives on an 8GB drive, and I have no problems. I'm not spanning tapes, though; that might be an issue if there's a bug.
Re:Backup to CD-R? (Score:1)
CD-Rs make good long-term backup media, but for most backup needs tapes are far superior. You can't make a coaster out of a tape.
Legato works for us (Score:2)
The interface isn't that terrible. 5.5 is much better. We have had intermittent problems backing up a 36GB RAID filesystem (Linux 2.2) though.
It's far from free, and the server requires NT or a commercial UNIX. We run it on HP-UX 10.20. But for multiplatform backup on a high-end tape changer robot, you need o go the commercial route.
Why Tape? (Score:1)
Why not just get one or two large 20+GB HDs and backup stuff to them on a regular basis. I've been using a spare HD for backups for years. crontab scripts creating tar-gzips.
I remember glancing through ads the other day that IBM makes a 22GB 3.5" IDE HD, which could backup that FTP server with no probs.
Tape is just slow these days and it's been superceded.. it might be cheaper but then old tech always is (until it becomes antqiue!
Just my 2 bits
Re:Why Tape? (Score:1)
Dunno about you, AC, but I find
tar -zxvf Backup.tar.gz /
fairly simple to do to get back any file I've ever needed to retrieve from my backups.
Yea tapes are cheaper, but HDs are MUCH faster to access
Getting a few HDs together and implementing a RAID5 system is much better for reliability anyway, RAID1 is probably a waste of time. Cheap IDE RAID is getting affordable.
Re:Why Tape? (Score:1)
tar -zxvf Backup.tar.gz [path]/[file]
was what I meant... doh
Re:Why Tape? (Score:1)
Re:Why Tape? Terabyte systems! (Score:2)
But,
I was responding to the article about backing up just 22GB and for the home or semi-pro tape is just not worth the hassle any more (tapes stretch , to counter the 'heads crash' argument) when multiple disks (can you say RAID even if you want online reliability of data) can be had for much better performance.
Okay I admit maybe 'superceded' was a bit strong given the arguments raised, but I think anyone has to admit that storage capacity of HDs (vs. cost) has shot up incredibly against tapes in the last few years.
Re:Why Tape? (Score:1)
A tape can be stored off-site or in a fireproof container.
kdat (Score:2)
(did i mention that it has a nifty gui front end
2gig backup (Score:3)
we had some trouble with backing up to another server via nfs mount that would only allow me to do a 2 gig max file
if i use the tar with compression i can get up to 24 gig backup to tape (12 gig without compression)
but kdat allows you to span tapes and keeps a nice little index of all previous files backed up on that tape (very nice gui app)
not sure if that will help but it's all i got rite now
Re:Travan sucks? (Score:1)
cjs
Re:what kind of tar? (Score:2)
I'd recommend the DLT drives to anyone who can afford them....they're awesome.
"The value of a man resides in what he gives,
and not in what he is capable of receiving."
It's a 32bit thing. (Score:2)
There are three good choices. (Score:5)
You can also use AMANDA backup, which I use on my GNU/Linux machines for backup. It seems to handle the large backup sizes acceptably.
Finally, you can always just split up huge files using dd.
Cheers,
Joshua.
Re:>2G backup *media*? (Score:1)
I suspect that all of DAT, DLT, and Exabyte 8mm tapes will be around and usable in five years (all of them are sufficiently popular now). Current generations of all of them store over 2G. Second hard drives that are active are susceptible to various problems, such as overheating, that can take them out at the same time as the main drive.
On the other hand: if you really want to make sure that the data stays usable over time, nothing beats keeping it on live disks. As JWZ mentions implicitly, various forms of backups risk either the hardware or the software (or both) no longer being capable of reading them a few years down the road. If the data is on your live disks, you will copy it around as you change and upgrade disks, machines, and operating systems, and will hopefully remember to keep being able to read it through this.
This isn't strictly a problem for pure backups (where everything in the backup is just a duplicate of what you have on the active drive), but most people and places wind up using things both for backup and for archival purposes. It may also be a problem for disaster recovery; if your existing computer melts down, can you still buy a tape drive that can read the machine's tape backups? (The paranoid (or just cautious) will also check the head alignment periodically to make sure that it hasn't drifted so that the tape drive is making tapes only it can read.)
The university I work at is currently going through this as we decomission the machine one of our last 9-track tape drives is on. We're having to sort through old 9-track tapes, work out what's important and what's not, coax the old hardware to read the tapes, and dump the data somewhere. (We're probably going to put much of it onto ISO-9660 format CD-Rs; hopefully that will have an equally good or better lifetime).
Re:DUMP solution to +2GB (Score:1)
Often, there's not much point in giving dump plausible numbers about the tape size. If you're dumping in a situation where a tape that is unexpectedly full won't get swapped, you might as well tell dump whatever lie it needs so that it never thinks it needs to change tapes.
The Linux dump manpage I have handy even suggests that most of the time dump will directly notice end of media and deal with it properly, regardless of the tape size specified.
Re:DUMP solution to +2GB (Score:1)
The other problem with trying to be accurate (or slightly conservative) about the tape size to dump is putting multiple dumps onto the same tape. To get the sizing right, you need to tell dump how much tape is still left in the second and later dumps, which means capturing and parsing dump's output to find out how much of the tape has been used up by each filesystem.
For relatively simple situations (where you don't plan to pack tapes to the brim and don't plan on tapes ever overflowing), this is a chunk of somewhat arcane work for little purpose. On the other hand, if one really needs to do this, I suspect that things like Amanda have the code already. And researching the wheel is a lot easier than reinventing it.
Anyone looking for a project could always look into adding a switch to dump so that it produces program-friendly output that's easy to parse for this sort of information.
Re:Why Tape? (Score:2)
I think that a lot of decisions will depend on what sort of disasters you want to recover from. Planning for only 'normal' aging drives having media failures is a lot different (and easier) than planning for your office burning down.
There are all sorts of potentially problematic tradeoffs with various sorts of hard drives for backup. Things like:
I suspect that everything short of Zip/Jazz cartridges are more susceptible to damage when removed than tapes. Especially if they aren't mounted in an external enclosure and are carried around with the drive electronics bare.
If you make more than one backup, tapes may become substantially cheaper than more and more HD space. If you store and handle lots of backups, again tapes may become easier and cheaper to deal with than other media.
I have a fairly high trust for the long term durability of tapes sitting around. Manufacturers test this stuff and will tell you about it, including cautions for temperature limits and so on. Do disk manufacturers give equivalent figures for removed drives?
For personal home use, I think that anything is better than nothing; a second HD is cheap and easy (especially if you aren't worried about things that would take both drives out at once, like overheating or fire). For professional use in an office or the like (even a home office), I'd trust tape more. The up-front costs are bigger, but the benefits can be substantial, and there are things that are far more convenient with tapes that are very important for professional use (such as periodic offsite backups).
If you trust tapes they can also be used for archival purposes (where you delete the data off the HD after storing it on tape and verifying the tape) as well as normal backups. Depending on how much call you have for this, this may also represent a money savings with tape over disks.
Re:Are you writing straight to tape? (Score:1)
Re:Are you writing straight to tape? (Score:1)
Re:slightly o/t: best backup system for single use (Score:1)
Re:DUMP solution to +2GB (Score:1)
--When in doubt kludge it.
-AP (Jordan Husney)
Re:DUMP solution to +2GB (Score:2)
# restore -i
(where 0 is your tape drive number)
However, If you have multiple filesystems on a single tape (like the example above), you must first use mt to fast-forward to the correct tape-mark. Let's say we want to get the second file-system off the tape:
# mt fsf 1
# restore -i
This will then put you in restore's little "shell" for adding files/directories to be restored. For example:
-- 8- *snip* ---
restore > ls
.:
.automount/ bin/ lib/ proc/ usr/
.bash_history boot/ lost+found/ root/ var/
.mc.hot dev/ misc/ sbin/
.mc.ini etc/ mnt/ tftpboot/
.netwatch home/ net/ tmp/
restore > ?
Available commands are:
ls [arg] - list directory
cd arg - change directory
pwd - print current directory
add [arg] - add `arg' to list of files to be extracted
delete [arg] - delete `arg' from list of files to be extracted
extract - extract requested files
setmodes - set modes of requested directories
quit - immediately exit program
what - list dump header information
verbose - toggle verbose flag (useful with ``ls'')
help or `?' - print this list
If no `arg' is supplied, the current directory is used
restore > add etc
restore > extract
You have not read any tapes yet.
Unless you know which volume your file(s) are on you should start
with the last volume and work towards towards the first.
Specify next volume #: 1
( it will now restore from the tape to your cwd)
Done!
--- 8-
Just to sum up, the example above opens the tape, lists the files, and adds "etc/" to the list of files to be extracted. Since this is a level 0 backup (a full non-incremental backup) I need not put in any other tapes and simply say "1" when it asks me for the next volume number.
The etc/ directory (with all its sub-directories) will be in whatever directory I started restore from. If you are doing a system restore, do it from "/".
-AP (Jordan Husney)
DUMP solution to +2GB (Score:5)
Here is our cron.daily/daily.dump file:
This dumps all three of our partitions out to a single tape. The 0 ("zero") option dumps the entire thing, as out tape drive is fast, vs. specifing a dump level > 0 (which is for doing various levels of incremental backups); The u, which updates a human-readable /etc/dumpdates file; B for the number of blocks ("kilobytes") the tape is long (this is your problem); and finally f: the device to dump to.
One of the things that really gets people is how to pass arguments correctly to dump. A little diagram might serve as an aid:
Hope that helps!We use the /dev/nst0 device to write to the tape three times without the thing rewinding. This is the key to putting more than one filesystem on per tape.
If anybody has any questions about using dump, I would be happy to help.
-AP
jordanh@remotepoint.com [mailto]
WARNING Re:Why Tape? (Score:3)
WARNING A tape or harddisk in a fireproof container will still be destroied in a fire. Most fireproof containers are designed to save paper from burning by a combination of steaming away water and thermal insulation. As such, the internal tempeture of the container will easily get over 210 degrees F. Most tapes and harddisks will be destroied at that point.
dump? (Score:4)
Re:Why Tape? (Score:2)
Keeping stuff online with big hard drives is a great way to backup data that is static, i.e. scanned documents, but is somewhat less useful for stuff that is constantly changing.
My 0.02 $CAN
Arkeia works fine for me (Score:2)
There is also a free for personal use version for linux server/clients. Just go to http://www.arkeia.com/downloadfree.html [arkeia.com] .
Regards,
Oliver.
Re:dump? (Score:2)
I've personally restored my 20GB 6 way stripe set twice from dumps under linux from a single (large) tape with no problems.
Re:NOOOOoooo..... (Score:2)
The Legato software so far has been rock solid, as long as you keep up with it. Restores have gone off without a hitch. We have NEVER lost a file with Networker.
If anyone needs more info, email me and I would be happy to tell you about our experience.
--Michael Brown
Re:Are you writing straight to tape? (Score:2)
Jamie: Sony AIT - 25GB Native (Score:4)
They also have a cool feature that allows storing directory info on NVRAM on the tape cartridge - 16 KB or so.
And because it's Sony, it's definately likely to stay around. I think they still sell Betamax decks, and I kinda think they know what they are doing when it comes to helical scan recording equipment
Are you writing straight to tape? (Score:5)
Amanda [amanda.org] handles this by splitting the disk files into 2 GB chunks and reassembling them when it writes to tape. It also deals well with network backups. The filesystem side backend is dump or GNU TAR, so it's fairly standard in that regard. I've had no problems with 8+ GB filesystems using Amanda.
I would not recomend using e2fsdump - AFAIK, it's still beta, and I had problems with the interactive restore and some other issues. Because it accesses the filesystem at a lower level than standard file access (I believe), I'd be careful with trusting important backups to it.
TAR definately a safer choice.
BTW, I have a question myself... does anyone know how to get TAR (or something else) to restore permissions on symlinks? Typically it doesn't matter, but Apache uses symlink permissions for the SymlinksIfOwnersMatch directive, and every time I restore or copy a web partition, I have to go through and fix all the links that are now root owned.
BackupEdge (Score:2)
It does do what you want, & has alot of other great features.
-great automatic backup/verifys
- backup recovery programs
- bootdisk manager.
downside: it's comercial
see www.microlite.com for details
AMANDA (Score:2)
tar-1.12.64011 for files > 2GB (Score:2)
Kludge, but should work.. (Score:2)
This will change soon when SGI releases portions of xfs as open source, and when ext3fs is ready.
Re:NOOOOoooo..... (Score:3)
ftp://ftp.legato.com/pub/Unsuppor ted/Linux_Client/ [legato.com] has both 4.2 and 5.1 client kits, in .gz and .rpm formats. The clients are unsupported, but they work well for us.
We use Networker to back up ~500 GB, spread across 30 clients (NT, Digital Unix/Tru64, and Linux). Backup performance is excellent (by interleaving sessions over two network cards and the local disks, it can keep two loaders running at ~5MB/sec each).
I don't know what the maximum "partition" size is, but we've backed up 150GB file domains with no problems.
Restore performance is slower, of course, but emphatically not an "all day event"; it takes a few seconds to find what you need in the database, and a couple minutes to load the tape (we're using twin 280GB DLT loaders). After that, the speed is the same as it would be for tar/dump/whatever; the tape drive must seek to your files and read, and that can take up to an hour.
If your files are spread across mutiple tapes (either because you're using incremental or differential backups, or because a single saveset spans multiple tapes), then it can be as long as two hours. If you have only a few clients, these times are reduced somewhat.
The only time I've spent an entire day doing restores is when we lost the Networker server (and its media indices), and had to use Networker's bootstrap procedure to bring back the index, followed by regular restores to bring back everything else. Because I hadn't bothered to keep hardcopies of the logs, Networker had to scan the tapes for a suitable bootstrap. The searching alone took a few hours.
A couple caveats, though: it's not cheap, and it's not easy.
Networker was designed for the kind of environment we've set up, and you may find it overkill for one or two clients. The GUI is marginal, but the command-line tools can completely eliminate it, and do more besides.
Expect to spend a couple of weeks configuring it, and a couple more getting comfortable with the (extremely powerful, IMHO) command-line tools.
You'll need a cabable server to hold the media indices -- we keep data in the index for a Quarter, and the database is over 2GB. We're using a dual-CPU Alpha 4100 @600MHz w/2GB memory, running Tru64 Unix (it's used for a number of other things, of course).
NB: starting with Networker 5, you can have the tape devices and databases on separate machines, which reduces the need for one mammoth server to do backups and media management. It's also good if you have mutiple sites separated by sub-LAN-speed links; you can put a tape device on each LAN.
cheers,
mike
Re:Why Tape? (Score:2)
Not only do most companies need backup rotations, they also need a backup for disaster recovery.
Ideally, you have a backup of your data kept offsite, in case of disaster. Tape makes this simple - it's readily portable. Every week night our DBA throws a couple tapes into his bag before heading out. If our building goes down in flames, we still have our data.
Insurance money can help to rebuild, but it won't get back data!
CTAR (Score:3)
I have used a program called CTAR to cure these problems. Check it out here.
http://www.ctar.com