Slashdot Mirror


Might Flash Memory be a Viable Backup Medium?

General Books asks: "Rather than fuss over mechanical failures and damaged media, why not use flash memory for backups? We maintain about 100 servers distributed to customers' sites. Each night we copy a backup of critical data (generally less than 128MB) to removable media in case the hard drive fails. We have experienced high failure rates with CDRWs and so now I am considering some sort of flash memory like a USB key drive. They are solid-state and you can get a 128MB device for $20. They seem ideal to me, but I can't find solid evidence. One question is how would they endure a lightning strike (perhaps not as good as an optical medium)? Admittedly, there is a wide variety of CDRW drives and media but don't they all seem risky compared to a solid-state device? More info about my circumstances: We have no network for backups. A second hard disk is not viable because it could not be rotated offsite. Tape drives are relatively expensive and overkill for our volume of data."

84 comments

  1. How about CD-R ? by orkysoft · · Score: 3, Informative

    You mentioned that CD-RWs weren't all that good, and I have the same experience, but why not try normal CD-R discs? They're cheap and pretty reliable. You can even make multiple backup copies if you want, or a multi-session disc to store several backups on one CD to cut costs.

    --

    I suffer from attention surplus disorder.
    1. Re:How about CD-R ? by asimulator · · Score: 0, Troll

      Except that after a few days, the data on a full CD-R will be invalid and the CD-R unusable. So you'll soon have a pile of plastic to deal with!

  2. external HD by Anonymous Coward · · Score: 4, Insightful

    A USB or Firewire external drive would store far more data and could be rotated offsite.

    1. Re:external HD by sql*kitten · · Score: 1

      A USB or Firewire external drive would store far more data and could be rotated offsite.

      You never use a device like a HD for backing up critical data.

      You see, tapes themselves are pretty robust, the thing that is most likely to fail is the tape drive - which can easily be replaced. If a HD fails, what are you going to do, transplant the platters onto a new spindle? *LOL*

    2. Re:external HD by joto · · Score: 1
      You see, tapes themselves are pretty robust, the thing that is most likely to fail is the tape drive - which can easily be replaced.

      Ever used an exabyte on a sun? At least I wouldn't trust my data to it, if I didn't have a backup somewhere else... Even floppies are more reliable...

      As all media, tapes and tapedrives come in different qualities. Just saying that it's "tape", doesn't mean it's secure.

      If a HD fails, what are you going to do, transplant the platters onto a new spindle? *LOL*

      And why should the HD fail? Most HD's doesn't fail after even 10 years. But yes, you can get burned, especially with cheaper disk-drives (the kind you are likely to use for backups). If you want to be absolutely safe, make multiple backups, and store them at several different locations, regardless of type of media used.

  3. I don't do offsite backups by the_other_one · · Score: 5, Funny

    When that place burns I want to be sure all the evidence goes up in smoke.

    --
    134340: I am not a number. I am a free planet!
    1. Re:I don't do offsite backups by Jeremiah+Cornelius · · Score: 2, Funny
      Hell,

      This guy's worried about LIGHTNING hitting his backups!

      I figure if that's what happens, you were supposed to lose that data!

      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
    2. Re:I don't do offsite backups by Anonymous Coward · · Score: 0

      Where does he say he doesn't do offsite backups. RTFPost.

    3. Re:I don't do offsite backups by Anonymous Coward · · Score: 0

      RTFA
      Also look up "humor" in a dictionary.

  4. Questions by mugnyte · · Score: 2, Interesting

    So let me think this through... you are trying to store small amount of data on individual items. Why? Once in storage, are they kept apart fro one another?

    I think a RAID will suffice. Locally. If you need to keep it on the cheap, pump your small amount of data to 3 other simple boxen offsite. I mean, for small amounts of data, there's no reason to muck around juggling the physical medium. One can duplicate that data faster and more reliably than boxes of little memory cards with scribble on them.

    If you need to go cheaper, try floppies! W00T!

    mug

    1. Re:Questions by anthony_dipierro · · Score: 1

      If you need to keep it on the cheap, pump your small amount of data to 3 other simple boxen offsite.

      They "have no network for backups."

    2. Re:Questions by mugnyte · · Score: 1

      I understand, but implementing a network seems quite cheap than building a management system for endless memory cards.

    3. Re:Questions by anthony_dipierro · · Score: 1

      Maybe they have security considerations which prevent them from implementing a network. In any case, I don't see how it's cheaper. You just rotate 2 or 3 memory cards to/from a secure location.

  5. Carry the flash memory on you by Anonymous Coward · · Score: 3, Funny

    If you carry it with you when you aren't actively backing it up, you don't have to worry about lightning, fire or whatever. If you are struck by lightning, burnt in a fire or in some other way destroyed, you won't really miss the data.

  6. Rotating HDDs by Breakerofthings · · Score: 2, Interesting

    Or why not get yourself a few of those neato caddies that hold a HDD, and allow you to swap them out (internally; I am not talking about external enclosures) they are available for IDE, and the more expensive ones (claim to) allow hot swapping, even (I cannot personally verify how well the hot swap feature works or doesn't ...). I have seen them that even allow you to lock them in place with a key; how cool is that?

    Much cheaper in the long run, in terms of media costs, at least for large quantities of data. Especially if you score some inexpensive smaller drives (like a surplus batch of 10 GB or so)

    Hell, if you went all the way and just put an inexpensive RAID controller in there, it might pay off in the simplification of your backup procedures ... i.e. just pull a drive, and put a fresh one in, let the card rebuild it for you; backup your whole system if you like. Restoring doesn't get much easier than that, either.

    Here is one made by 3ware
    Here is one made by Promise
    There are plenty of other, cheaper ones out there, too

    1. Re:Rotating HDDs by jjshoe · · Score: 1

      This is what i was thinking, this is what we use in our workgroup of 16,000 pc's. no matter what form factor the pc is we can slide hd's in and out quite simply.

      The disadvantage of flash is it has an estimated limit of one million writes that could be reached quite quickly doing backups. why not invest $20 in the hard drive caddy's?

      --
      -- botsex is {grep;touch;strip;unzip;head;mount} /dev/girl -t {wet;fsck;fsck;yes;yes;yes;umount} {/de
    2. Re:Rotating HDDs by Anonymous Coward · · Score: 0

      Much cheaper in the long run, in terms of media costs, at least for large quantities of data.

      Umm, he said he only had 128 megs of data.

    3. Re:Rotating HDDs by Anonymous Coward · · Score: 0

      The disadvantage of flash is it has an estimated limit of one million writes that could be reached quite quickly doing backups.

      Reached quite quickly? How long does it take you to do one million backups?

    4. Re:Rotating HDDs by ivan256 · · Score: 2, Insightful

      Let's say you fill the entire card every backup... At one backup a day you could use the card for 1000 years without exceeding the write limits of the card. Hardly a disadvantage when you consider that unlike a hard drive, the flash will still work after you drop it.

    5. Re:Rotating HDDs by jjshoe · · Score: 1

      Well lets assume 100 keys, now where i work there are aproximatly 150 workgroups, and my workgroup has 16,000 work stations in it. I could easily reach the write limits in a year.

      Dropping hard drives? While definatly a risk however it is minimal when you work in a profesional shop like mine.

      --
      -- botsex is {grep;touch;strip;unzip;head;mount} /dev/girl -t {wet;fsck;fsck;yes;yes;yes;umount} {/de
    6. Re:Rotating HDDs by Myself · · Score: 1

      The hot-swap features are dubious. They technically won't hurt the drive, but your OS will be royally pissed at you if you yank a drive right off an IDE chain. Particularly if it was jumpered as Master.

      There's a simple solution, though: USB/Firewire external drives have support in the drivers for hot connection and disconnection. Usually you have to click an icon to tell the drivers to prepare, but after a moment you'll be permitted to remove such a device. "But!", you say, "that's an extra power supply and an extra case sitting around!"

      "Not so fast", I reply. You can combine the drive-bay-mounted removable racks that we all know and love, with the hot insertion and removal of USB or Firewire! Check out this one which I particularly like because of the easy availability of extra trays.

      That model is USB2.0 capable, but of course all such devices are USB1.1 backwards compatible, so if your motherboard has a 1.1 controller and you're only backing up a bit of data, there's no need to buy a 2.0 controller.

    7. Re:Rotating HDDs by IpalindromeI · · Score: 1

      Dropping hard drives? While definatly a risk however it is minimal when you work in a profesional shop like mine.

      Why, because you have 3 inch thick foam padding covering the entire floorspace, or because you all wear sticky gloves?

      --

      --
      Promoting critical thinking since 1994.
    8. Re:Rotating HDDs by ivan256 · · Score: 1

      So you overwrite each key 160 times a day?

      I don't buy it. That doesn't give you any protection. It's each cell in the flash chip that has a limit, not the entire chip. If you fill all the keys once a day you can use the card for 1000 years (Something else will probably happen to it by then, but you get the picture). It doesn't matter if you fill them all at once or you fill them in 160 little bursts.

      And don't give me any crap about FAT wear. Just because you *can* do something stupid like use FAT16 on a flash device doesn't mean you *should*. You could make your backup image over the network and write all at once. If you need 100 keys to backup you shouldn't be doing it anyway. Spend $40 and get a 10GB tape drive. It's cheaper than hard drives *and* flash, you'll be able to keep more archives because tapes are smaller and cheaper than disks. Your process will be more reliable too.

      As an aside, what's with all the stupidity about backups being spouted around here? Don't you have to work with an experienced sysadmin before you can get hired into a decision making position anymore? Here's a hint: If you're a self-taught sysadmin, and you see a way to do things that you think is way better and way cheaper than how everybody else is doing it, and it seems like it should have been obvoius, you're doing something stupid. There's a reason why experienced sysadmins do everything the way they do. The chances that you've had some revolutionary idea are slim due simply to the vast number of inteligent people who have already thought about your problems before you. Learn from their experience.... and don't come crying around here when you get fired for accidentally nudging a hard drive off the shelf, or they decide to do construction on the office next to you and the vibrations cause you to loose 20% of your data. Professional means you get paid, not that you've got a clue. Even if you have a clue, shit happens. Handle enough disks and you're going to drop one someday. I don't care how "professional" you are.

    9. Re:Rotating HDDs by jjshoe · · Score: 1

      You dont create a situation that facilitates the dropping of a drive.

      --
      -- botsex is {grep;touch;strip;unzip;head;mount} /dev/girl -t {wet;fsck;fsck;yes;yes;yes;umount} {/de
    10. Re:Rotating HDDs by jjshoe · · Score: 1

      Im sorry, your rambling, whats your point?

      --
      -- botsex is {grep;touch;strip;unzip;head;mount} /dev/girl -t {wet;fsck;fsck;yes;yes;yes;umount} {/de
  7. I've had no luck with Flash Media by xanderwilson · · Score: 4, Informative

    I cross my fingers (no, not literally) every time I've inserted a piece of Flash Media into my camera, PDA, or USB drive. I find that about one in every 20 times the disk comes up empty. I take good care of them (three different media types), but I don't find them reliable at all. I'd sooner use CD-Rs (though now I might start backing those up every 2 years on new CD-Rs.

    Alex.

    1. Re:I've had no luck with Flash Media by cloudless.net · · Score: 2, Interesting

      Maybe I ask what kind of flash media you use? I have been using flash media for years, including 2 SD cards, 2 MMC cards, 3 MemorySticks, 2 CF cards, and 1 SmartMedia card. And I have never experienced any problem with them.

    2. Re:I've had no luck with Flash Media by P145M4 · · Score: 0

      I have a CF card in my purse together with all the coins. There are dents all over but data was never corrupted.

      However, I wouldn't do this with SmartMedia :)

    3. Re:I've had no luck with Flash Media by invisik · · Score: 2, Interesting

      I have one of the M-Systems 16MB USB keychain jobs (admittedly a few years old now) and 90% of the time comes up empty when I move it from computer to computer. Same host OS, different host OS, doesn't matter. I let the machine (2000/xp) install it's own drivers while 95/98 machines I download the drivers from M-Sys. Do I need to flash my flash device for some updated firmware or any idea why this thing bites? I should get a newer one and try it back to back....

      Thanks for any info....

      -m

      --
      http://www.invisik.com
    4. Re:I've had no luck with Flash Media by xanderwilson · · Score: 2, Interesting

      Memory Stick, SD card (2 brands Lexar and SanDisk), and I want to say SmartMedia for the camera. I've also used one of those keychain-type USB jobs. Memory Stick was probably the most reliable of the bunch (though not without problems), but none of my current stuff uses Memory Stick.

      Alex.

    5. Re:I've had no luck with Flash Media by amlai · · Score: 2, Informative

      On Windows machines you have to "eject"(stop the device totally sometimes to get the files copied to the device. I have experienced similar problems and a clean stop before removal will do the trick.

    6. Re:I've had no luck with Flash Media by Paul+d'Aoust · · Score: 1

      amlai is right; flash media has "delayed writes", just the same as hard drives. Now the problemmmmmmmm......... is that some USB flash media doesn't have an "eject" item on its context menu. Unless it's Windows itself that provides the "eject" feature, in which case.... where the hell did it go in XP? I've had all sorts of problems with my flash media just because I couldn't find the "eject" menu item! Fie and pox upon them! (please mod me up for calling down a pox on Microsoft)

      --
      Standing at the very edge of my imagination, I peered into the inky void and realised -- I couldn't think up a new sig.
    7. Re:I've had no luck with Flash Media by Anonymous Coward · · Score: 0

      Well that goes to show you, nothing is entirely idiot proof.

    8. Re:I've had no luck with Flash Media by Artifex · · Score: 1

      I've had extremely good luck with my CF cards. I first started using them personally when I bought a Canon digital camera, and as long as the reader device worked properly with my computer (various OSes and readers tested), the data was always there. I read them as FAT drives (I never used above 48M cards, because my Powershot A5 supposedly can't use anything higher, so higher sizes might use FAT32). In fact, I think I remember using Ontrack's data recovery software to recover some files I accidentally deleted off a card, but I'm not sure. More importantly, though, I've gotten one wet, dried it out, and it still worked (don't rely on this, though). In fact, the only time I couldn't read a card was when there was lint or dust clogging a couple of edge connector holes, or I didn't have a card fully seated in the camera.

      I've known people who've cracked the plastic shells, and some of the cards didn't work any more - but some of them did, at least long enough to move the data off. And any kind of mechanical damage harsh enough to crack a CF card open is more than enough to destroy most other storage media too, probably.

      Don't forget, some routers use flash memory to store configuration data. in fact, that application probably helped drive the early development. They're not the fastest media, but they're a very rugged solution.

      If you're losing data all the time on your cards, check that you're not using buffered writes and removing them before they're ready, or that you're not nicknamed Sparky because of a chronic static charge :) Seriously. Or try a different brand. For CF, I've used Lexans that were on sale, as well as plenty of Sandisks, and the tiny "free" Canon-branded card that came with my camera. For SD, I've only used the Canon-branded card that came with my videocamera), but it wasn't great at making stills, so I didn't get much practice. I have no experience with SmartMedia. Oh, and my parents had a lot of trouble getting data off their Memory Sticks the first couple times after they bought a Sony, but eventually got that working.

      --
      Get off my launchpad!
    9. Re:I've had no luck with Flash Media by Myself · · Score: 1

      I've used "PC Inspector File Recovery" with great success in recovering files from a smartmedia card that I accidentally deleted from the camera's interface. Compactflash should be similar.

      CF cards shouldn't get wet! They have plenty of space inside for moisture to linger. You got lucky. If I got a CF card wet and it didn't work after blowing the holes dry, I'd crack it open and rinse the innards with alcohol, then try again. I've got pics of the insides of a CF card on my photo gallery under the Tech album.

      For those who want to attach CF cards directly to IDE controllers, adapters are available.

    10. Re:I've had no luck with Flash Media by JediTrainer · · Score: 2, Informative

      I've had a similar problem too. Here's what you do: Go into your control panel. Find the device (under System or whatever). Go to properties. There should be a checkbox there for 'removable'. Make sure it's checked.

      --

      You can accomplish anything you set your mind to. The impossible just takes a little longer.
    11. Re:I've had no luck with Flash Media by smallfries · · Score: 1

      I find that memorysticks are very reliable as long as you don't write to them from the PC. They're fine as long as you only write to them from the camera (so obviously not any good for what this guy wants). If you do write from the PC (and I've tried this under linux and windows) then they totally blank the card pretty frequently. We scanned them and the problem is an incompatability between the way the hardware devices (like sony cameras) and the software drivers write to them. If you really want the data you can recover it by touching dummy filenames as its only the FAT entries that disappear, not the data.

      --
      Slashdot: where don knuth is an idiot because he cant grasp the awesome power of php
    12. Re:I've had no luck with Flash Media by Wolfrider · · Score: 1

      --I know that in W98 at least, there's also a setting that you can un-check. Right-click on "My computer, Properties, "Performance\File system\Removable Disk\Enable write caching on all removable drives."

      --This may slow things down but at least all your writes will be committed.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  8. Been there... by shadwwulf · · Score: 2, Interesting

    I work for a university as an educational content developer. We are in the same situation in that our whole codebase doesn't break the 100 meg mark but needs to be kept extremely safe given that it represents months and months of man hours.

    We had a lot of bad luck with CDRW's and ended up dropping that idea and moving to a dual backup system. We do intremental backups to CD-R's and make two copies. Secondly we push the content to an FTP site that is elsewhere on campus. The FTP site is backed up seperately onto tape as added an precaution.

    Just my $.02

  9. Er, wait. by dasunt · · Score: 3, Informative

    Before you give up on CD-R/CD-RWs, try this:

    • Make sure you have a decent CD drive. If you have a first-generation CD-R drive, replace it. Lite-on is cheap, but seems to do well in reviews.
    • Burn at the lowest possible speed for a better burn.
    • Verify DMA settings for each device.
    • For an IDE burner and an IDE hard drive, keep the hard drive on a separate channel from the burner. For example, set up the hard drive as primary master, and the CD drive as secondary master.
    • Keep the burned CDs in a cool, dark place. Use a jeweled case for each to prevent scratches.

    I don't see any reason why USB flash media wouldn't work for backups if the OS supports it. The only problem is that USB flash media is more expensive then CD-Rs. $20 will buy you enough CD's for a monthly 'archive' (12 CDs/1 per month), plus a weekly backup/incremental daily backup (4 per month), even if you don't reuse the weekly backup media (personally, with the cost per CD, I wouldn't). However, to implement such a system with USB flash drives (assuming $20/drive), would cost $320 dollars.

    I love my USB flash drive, but its not cost effective for backups.

    1. Re:Er, wait. by Cinematique · · Score: 1

      "Better burn" ??

      Can someone confirm this? This sounds like the bullshit that some audiophiles spout in reviews of hardware.

    2. Re:Er, wait. by dasunt · · Score: 1

      Explanation:

      A CD is a collection of pits, and the reflective quality of each pit is in a different range depending on if the bit is a 0 or a 1. A CD burner uses a dye in each pit, and the stronger laser in a burner chemically changes the reflectivity of the dye. At higher speed, less time is spent on each pit, which allows less energy for the chemical change. At lower speeds, more time is spent on each pit, which allows more energy for the chemical change. (At least for CD-Rs, CD-RWs don't use dyes at all, but instead uses a shift in chemical structure to change the reflectivity - but the principle is still the same).

      I'm far from being an expert, and there is a lot of misinformation floating around out there, so if you are curious, I highly suggest that you do your own research. The above explanation was the way that burners were explained to me, and it makes sense.

      Incidentally, even with `burn-proof' technology in newer CD drives, a CD that has experienced a buffer underrun will have a short gap between when the laser was turned off and when the laser was turned back on. CD drives should have correction technology that transparently hides these flaws, but some CD readers do have problems with them.

      The problem with CD's is that they are not digital. The amount of light reflected from each part of the drive do not end up being either X amount or Y amount. Instead, there is a range, and if the amount of light returned falls into one range, then its considered a pit, and if the amount of light returned falls into another range, its considered a non-pit. For audio CDs, it doesn't matter, a flipped bit is probably not detectable by the human ear. If you want to experiment, try scratching up a audio CD and a data CD - its amazing how badly damaged an audio CD can be without any noticeable sound difference. Data CDs try to get around a small amount of errors by including additional information to help correct any small read errors - which is why the capacity for a data CD is smaller then the capacity for an audio CD. Amazingly, most of the time, the analog->digital conversion works without a problem, and computers receive the five billion bits without any show-stopping errors.

    3. Re:Er, wait. by NickDngr · · Score: 1

      At higher speed, less time is spent on each pit, which allows less energy for the chemical change. At lower speeds, more time is spent on each pit, which allows more energy for the chemical change.

      Which is why the higher speeds use a more powerful beam to compensate.

      --
      Yoda of Borg am I! Assimilated shall you be! Futile resistance is, hmm?
    4. Re:Er, wait. by shamino0 · · Score: 1
      I didn't make the comment, but I know what he's talking about.

      Sweetwater Sound, a seller of professional studio audio equipment has written several articles in their InSync newsletter, including this one.

      They don't give a technical reason why, but their experience (which I trust) is that different burn speeds produce different bit-level error rates (BLERs) and most drives seem to have their lowest BLERs at 2x speeds (surprisingly, not 1x). These shouldn't affect data discs, since ISO-9660 incorporates error correction, but it does sometimes have a noticeable effect on audio discs. (And a high BLER on a master disc can cause a duplicator to reject it.)

      I realize that Sweetwater is talking about audio media and their article is aimed at recording engineers, but I think it's also relevant to computer users.

      (FWIW, I record my data discs at the drive's top speed, but I record my audio discs at 4x (since my setup doesn't seem to allow 2x burning.))

  10. No problems with CD-R/W by Methuseus · · Score: 1

    I can still read CD-R and CD-RW discs that I recorded 4 years ago without any problem. The only disc read errors I've had stem either from horribly scratched media or dying CD-ROM drives. Maybe you should just experiment with different burners and media and see what happens.

    On the subject of flash media, I haven't heard of any tests saying they have any real reliability. They were created to share files easily and quickly, not for long term storage as CD media (in theory at least) was.

    --
    Two things are infinite: the universe and human stupidity, though I'm not yet sure about the universe. - A Einstein
  11. Huh? by rmohr02 · · Score: 2
    [Y]ou can get a 128MB [USB storage] device for $20
    Where, may I ask?
  12. How about... by EaTiN+cOfFeE+bEaNs · · Score: 4, Interesting
    --
    No TiVo and no caffeine make me something something...
    1. Re:How about... by soyle · · Score: 1

      No, buy some of these and get a few of these.

      Appearently you can actually boot from the iPods, although the older models with built-in FW connectors were easier to carry along to the serverroom.

  13. Limited writes by Kris_J · · Score: 3, Informative
    Flash RAM has quite a limited number of writes. This can cause problems if you're writing large numbers of small files to flash RAM as it can cause a huge number of writes to the FAT area of the device. This may have been solved with different file systems, but I recall reading a story of one person who was getting failures. CD-RW discs avoid this problem by preparing the files and writing them in a single batch.

    Is the "generally less than 128MB" before or after compression? A nice compression package like 7-zip might get the files down to a size that can be emailed off-site each night.

    1. Re:Limited writes by Kris_J · · Score: 1
      Argh, postus interruptus.
      I recall reading a story of one person who was getting failures...
      who was getting failures during the first job because they were writing something like half the number of files to the device as a single area could cope with in writes and the FAT got updated twice for each file.
    2. Re:Limited writes by Artifex · · Score: 1
      Flash RAM has quite a limited number of writes. This can cause problems if you're writing large numbers of small files to flash RAM as it can cause a huge number of writes to the FAT area of the device.


      That's odd. Flash sees heavy use in routers. When I was an engineer for a Tier 1 provider, being conservative and cautious always meant saving more often, not less :)

      Oh, by the way, if you think Flash is bad for a storage medium, some Juniper routers have an LS-120 floppy drive for backup :)

      --
      Get off my launchpad!
    3. Re:Limited writes by Kris_J · · Score: 1

      The flash in routers doesn't see a huge number of writes (our Cisco ADSL modem/router got its first OS upgrade ever last weekend, and has had its configurations options changed maybe four times) and probably is written in a proprietory format designed to prolong its life.

    4. Re:Limited writes by Artifex · · Score: 1
      The flash in routers doesn't see a huge number of writes (our Cisco ADSL modem/router[...]


      I'm not talking about consumer-grade devices that aren't reconfigured often, I'm talking about "production" equipment used as regional aggregates, that have T-1 and DS-3 and other cards hanging off them, that get updates every day as new circuits get put in, existing circuits get changes in IP routing, interfaces get shut down because customers don't pay the bills or get caught spamming, etc.
      Devices that might see the equivalent of hourly saves throughout their use, frequently for very minor changes, in bursts.

      ("oops, I forgot to increment the date in the header, the config server won't rebuild the new routing tables, better do it again," "did i save it after shutting that interface a minute ago? better do it again," "That guy wants to add BGP, here's his ASN," "oh wait, he was wrong, that's his downstream's ASN, he's this," "oh, he doesn't want to pay for BGP, he wants static routes," "ok, his salesguy talked him into it," "oh, no, he's multi-homed and didn't tell us, and his other providers' space is not portable, so we need to drop his announcement of their space until he sends us permission from them," "oh, his downstream is spamming, jerks!" "oh, no, actually he lied about it being a downstream, he really owns that company too, do a shut until he calls us so we can chew him out," "his other provider's NOC just alerted us that they yanked his space, so remove the BGP totally until he fixes the route objects," "oh, accounting called, his check bounced also, yank his keycard access to the colo at the POP and padlock his rack, then remove his configs for his home T-1 also," "dude, some guy showed up at the data center, pulled a gun, and got arrested, was it him? no! it was the consultant who built a box for him, who got ripped off too! Guess you'll have to wait for legal's approval before disassembling his boxes with prejudice, but they'll probably tell the guy they won't press charges if he goes away quietly, since he just got hauled off by the cops"), etc.

      That's the kind of use production routers get, all day (and night). Except in reality, the deadbeat's box at the POP may become our new secret quake server eventually instead of being dropped off the loading dock or sold at auction, so it will be routed some IPs from the office pool, which involves more routing changes... :)
      --
      Get off my launchpad!
    5. Re:Limited writes by Kris_J · · Score: 1

      You're seriously trying to tell me that production routers would use slow flash rather than battery backed-up SDRAM?

    6. Re:Limited writes by Artifex · · Score: 1
      You're seriously trying to tell me that production routers would use slow flash rather than battery backed-up SDRAM?


      Have you tried going to Cisco's website and looking for yourself? Oh, wait, silly me, I forgot this is Slashdot.

      Here you go.

      Oh, and here's a link for Juniper, also.

      A backup has to be reliable. It doesn't have to be fast, because it's not where the config actually runs. That's RAM, but there's no need for it to be battery-backed, because you always save your config... don't you?

      --
      Get off my launchpad!
    7. Re:Limited writes by shamino0 · · Score: 1
      You're seriously trying to tell me that production routers would use slow flash rather than battery backed-up SDRAM?

      Absolutely. They all do. If you were making high-end routers, you would do.

      Do you think AT&T (or any other big service provider) would buy a router that might lose all of its configuration data as a result of a dead battery? Do you think they could afford the maintenance costs of routinely checking and replacing batteries in all of their routers worldwide? We're talking thousands of routers in hundreds of locations here.

  14. Lightning? by Glonoinha · · Score: 1

    -One question is how would they endure a lightning strike (perhaps not as good as an optical medium)?

    Given that when you aren't actively moving data onto / off this thing it is supposed to be in your pocket or on your keychain, if it gets hit by lightning then 'data retention' is going to be pretty low on your list of concerns.

    --
    Glonoinha the MebiByte Slayer
  15. How much difference? by cperciva · · Score: 1

    You say there's generally less than 128MB of data which needs to be backed up; how much of that is new each day?

    If most of that data isn't changing, you could use those antique things called phone lines to transmit the differences.

    1. Re:How much difference? by Anonymous Coward · · Score: 0

      Sure, if you want to spend way more money.

      Hell, you could just print out all the data in binary and have someone type it back in too. How is using phone lines better than the solution already suggested?

    2. Re:How much difference? by zcat_NZ · · Score: 1

      Hell, you could just print out all the data in binary and have someone type it back in too. How is using phone lines better than the solution already suggested?

      There's this thing called a 'mo-dem' that will send data down the phone line for you. It's not very fast, but if you're rsyncing 128M of data you might only need to transfer 10-20M every night to keep the backups in sync..

      --
      455fe10422ca29c4933f95052b792ab2
  16. More info please! by Bourbon+Man · · Score: 2, Insightful

    What operating system are you running? How long do you need to keep each days data? Does it need to be stored offsite? Is this data security sensitive?

    An extra hard drive and cron works wonders on a Linux or Novell server. I assume the task scheduler and a set of .bat files on a Windows server would work similarly. Make directories on the backup HD corresponding to day of week/month and automate a job to copy the data to the appropriate backup directory. Automate a job to tar/gzip or zip said backups. Automate a job to FTP those zip files to a remote server. Hard drives are dirt cheap, and with the tiny amount of data you are talking about you could hold a whole years worth of backups on a $70 dollar hard drive. Need redundancy? Do the same process to yet another machine with another $70 hard drive. Never buy a tape or CD-RW media again. Never worry about backups again. Set it and forget it. Have the backup machine(s) email you the results of each night's backup just to be sure they happened. Make a test file on the server and delete it and restore it every so often to ensure you can recover last data. Burn monthly to a CD-R for even better sleep at night.

  17. Flash memory and remote backup by Halvard · · Score: 2, Informative

    Rather than fuss over mechanical failures and damaged media, why not use flash memory for backups? We maintain about 100 servers distributed to customers' sites. Each night we copy a backup of critical data (generally less than 128MB) to removable media in case the hard drive fails.

    Both of these would be my recommendation. I use flash media to boot firewalls, routers and embedded servers that run from RAM drives (nearing 100 deployed at customer sites and in our network). But I automount a partion on CF modules for logs. Flash memory is very reliable; it's rated at about 100,000 destructive writes. Read that as wiping it out, reformating it, not as I wrote to /var/log/messages for a week and the media toasted because somebody's machine caused the firewall to log crap every 2 seconds for a week. If it wasn't reliable, Cisco wouldn't use it for non-volatile storage (neither would I).

    The way we handle server backups is for servers to backup via a script to a tar.gz file over a private T-1 for servers. Granted, this amounts to a lot of GB for us but if you use something like rdiff-backup or a more simple script that backups up your files across the net through an SSH tunnel, you should be in pretty good shape. CDRWs are a poor choice if you can't or won't rotate media routinely. Especially since their lifespan for writes is low. You or your customer will have to rotate if you use CDRWs.

  18. Paper by jayrtfm · · Score: 2, Interesting

    you can always Print out the info. If you're really worried about lightning you can use a laser printer and marble

  19. in case the hard drive fails? by onya · · Score: 1

    that's only one part of the story.

    most of the restores i've ever done have been because some clueless user has accidentally deleted a file, three weeks ago, and only just realised they need it. if you're continually wiping out your old backups then you're fucked.

    don't think "what do i want to backup?" think - "what do i want to be able to restore?"

  20. Google by Molina+the+Bofh · · Score: 3, Informative
    The best way to know the answer (as always) is RTFMing.

    You can read the Compact Flash FAQ

    A quick google search returned these links, that may be interesting to you

    IDE to Compact Flash Adapter

    Flash Storage Solutions

    Read all this thread if you will be storing sensitive information

    How Compact Flash can keep your data safe?

    This guy has an opinon different from mine. He says that, all of a sudden, he lost hundreds of picture. Well, I've been working with Compact Flash for more than one year, now, and the ONLY time I gost corrupted data was when I took the card off the camera while it was writing. Then the camera could not read any picture. They seemed to be lost. But later I put that CF in my CF reader, and ran a chkdsk. It found lost chains, that I saved as files. And recovered ALL pictures except for the bottom half of the one it was writing at the very moment when I removed the CF. It probably corrupted the FAT (same way as hard disks, when the computer is not properly shut down).

    And I do think CF is more reliable than Microdrive.

    --

    -
    Roses are #FF0000, Violets are #0000FF, find / -name '*base*' |xargs chown -R us && mv zig greatjustice
    1. Re:Google by Artifex · · Score: 1
      And I do think CF is more reliable than Microdrive.


      Now there's an understatement. Solid-state versus a tiny little hard drive. Drop both into your pocket without any protective cases, let them bang up against each other, your keys, loose change, and the side of your desk as you swing into your chair, for a few weeks. Step on them accidentally (on purpose) when you change clothes at the gym, or when you're at home with your honey (Slashdot regulars excluded) and in a hurry to undress...

      Microdrives are cute, and store a lot of data, but they still rely on hard drive technology, so they still have floating heads less than a hair away from fast-spinning disk surfaces. Probably any failure point CF has, microdrives also share, as well as their own. Even if they are as externally as rugged as CF (and I think the tests above may disprove that), you can't get around the internal points of failure.
      --
      Get off my launchpad!
  21. Easy backup plan by mnmn · · Score: 1

    Forget the DLTs. Look for a college friend who is working at another company in the same city and is also assigned the task of backups. Give her a user account on your firewall get a user account on hers. Now setup perl scripts to encrypt the backup data on your site, bzip2 it and then transfer it to her site... and she should do the same for her site... swapping offsite space and gaining even a few GBs of space is quite enough for good backups. Just be sure your Internet connection does not come with download or upload caps.

    --
    "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
    1. Re:Easy backup plan by buttahead · · Score: 1

      unless you are within the same goegraphical location. a nuke would take out both data sets.

    2. Re:Easy backup plan by iantri · · Score: 1

      Of course, if somebody drops a nuke on your city I'd think you should have bigger concerns than some computer data. ;)

    3. Re:Easy backup plan by buttahead · · Score: 1

      well... if you are the disaster management department in that locality, and withstood the blast... but your datacenter didn't... having the data backed up elsewhere could be handy. .. if far fetched.

  22. A few things more... by Ayanami+Rei · · Score: 1

    1) Slowest speed possible doesn't mean best burn. You may actually have to experiment. Frequently higher speed drives have less-than-accurate servos and do better when they aren't trying to keep the speed down. Pick a slower integer factor of the highest rated speed and use that.

    2) Buy a lot of CDs, and not only back up the CDs, but have a schedule where you regularly duplicate older copies onto new media. CD-Rs can have short lifetimes (and can be damaged during handling). Check your md5sums after each burn, and maybe write the last 8 digits on the disc itself for quick verification.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  23. Close enough... by Ayanami+Rei · · Score: 1

    http://www.newegg.com/app/viewproduct.asp?descript ion=20-167-108&refer=pricewatch
    http://shop.store .yahoo.com/digi4me/mem12usbflas.h tml

    The 256 is about $50-55, 512 is avail for less than $100.

    It's a pretty good deal they have going now adays.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  24. I use Flash PCMCIA cards as HDs on my laptop by narratorDan · · Score: 1

    I set up my powerbook 1400cs with two Flash PCMCIA cards. One is used as a boot disk and the second one is used as VM (virtual memory e.g. swap) both of them are 256mb and work fantastically. I removed the internal HD now I get about 6-7 hours of charge. While researching the effectiveness of using Flash in this manner I found some reports as to its low number of writes before breakdown but so far I've had no problems with the card I use as VM (swap).

    NarratorDan

    --
    "If you're not confused by quantum mechanics, you really don't understand it." - Niels Bohr
    1. Re:I use Flash PCMCIA cards as HDs on my laptop by dhunley · · Score: 1

      I've been thinking of doing this, not just with a laptop, but with a few mini-atx machines I have at home. BUT.. noone can tell me the average life cycle (ie Read/writes) of a CF card. Since the media is flash, there has to be some limit to the amount of times you can read/write them. I've been warned by various others doing this not to allow windows/*nix to create a swap file on the CF card, since that would result in unknown numbers of read/writes..

      Does anyone know the magic number for this, or is there another viable alternative besites the costly solid-state drives.

    2. Re:I use Flash PCMCIA cards as HDs on my laptop by farnz · · Score: 1
      It's extremely card dependant. Flash chips vary between 10,000 and 1,000,000 erases per erase unit (often 32 or 64Kbytes). However, the card can do write-balancing, which moves data around to even out the number of erases each EU receives.

      So, you are extremely unlucky if you get less than 10,000 write cycles. A million should be about right, more is good luck :)

  25. M-Systems by DarkDust · · Score: 1

    You could try M-Systems's products like DiskOnChip or even their IDE/SCSI Flash Disks.

    I'm working with embedded systems (Linux) in my company and I'm very pleased with the DiskOnChips despite their half-proprietary driver with which you can only generate kernel modules, not compile it into the kernel for legalese reasons. The DiskOnChips work way more reliable than any other flash chips I've used so far, with no defects yet (and we use them just like normal hard-disks currently).

    Granted, it could be just that we had bad luck with the other flash chips we tried before, I don't know enough about the flash market / flash chips in general.

    Disclaimer: No, I didn't get paid for this "advertising", but I wouldn't mind if someone would do it nevertheless ;-)

  26. Lightning survival... by Myself · · Score: 1

    You're right that optical media, or anything that rotates only when being accessed, is very secure in the event that the machine takes a hit while the media is in the drive. For this reason, you might want to keep the CD-RW drives in the machines even if you're using a different technique for nightly backup, and do weekly backups to an RW disc or something.

    A USB flash device, left plugged in to the machine for days at a time, would be connected to the PC's power supply during such a strike and might sustain damage. However, there are USB surge protectors made by several companies, they're just not super cheap. (Personally, I'd throw a $2 16V MOV across VCC and GND, and call it a day.)

    Look at the costs before selecting a keychain drive. You might be able to get a USB-CF reader, and a large CF card, cheaper than a straight USB keychain drive.

    Why exactly are you worried about lightning anyway? I'm sure you've got a surge protector on the AC power input.. are these machines connected to a lot of weird interfaces that would be impractical to put protection on? I'm imagining a warehouse environment where RS232 links and stuff might make things difficult, but B&B makes surge protectors for just about every interface you can imagine. APC has a pretty wide selection of surge protectors too.

    If the threat model didn't include "massive jolt frying everything in the box", you could get away with some much cheaper backup solutions. Get a batch of surplus or refurb hard drives. They're cheap in single quantities, and practically free if you buy by the crate! Set your software to spin the drive down except during the nightly backup run. This reduces the chances of all sorts of failures, including data corruption risks caused by power glitches during operation.

    I don't know if it would be of any use to your application, but having a ten-gig backup device means you could keep old backups for quite a while before reusing the space.

  27. Zip Disks by Elm+Tree · · Score: 1

    I think this was one of the most compelling reasons for getting a zip drive back in the day. Quick, cheap backup of 100 megs. Or with modern drives 250Megs. The media is cheap ($20 per disk), the drives are relatively cheap ($100) and they've never failed me. Except for the paralell drive that got the click of death, but the media didn't get corrupted.

    1. Re:Zip Disks by shamino0 · · Score: 1
      Except for the paralell drive that got the click of death, but the media didn't get corrupted.

      Then you got lucky. Most of the time, inserting good media into a click-of-death drive would result in damaged media. And damaged in such a way that insertion into a new drive would damage it (resulting in more click-of-death.)

      I personally have never had click-of-death problems in my Zip drives (I own four, and regularly use 6 or 7 - mostly 100M drives, but one is a 250.) I once had the drive click a lot on a disc's insertion, but it appears to have been the result of dust in the drive. There was no visible damage to the drive heads or the media, and the problem didn't recur after blowing air into the drive and re-inserting the media.

  28. Go magnetic by shamino0 · · Score: 1
    In my personal experience, I've found the most reliable backup storage medium to be magnetic media. It can be hard drives, tapes, Zip disks, SyQuest, whatever.

    In my personal experience, all of them have been more reliable than optical or flash media.

    Since you're talking about less than 128M per backup, I'd seriously consider a Zip-250 drive. They're fast and

    You should also be able to get an inexpensive tape drive. The old DAT/DDS-1 standard stores 1.3GB on a cheap 60m tape, which more than enough storage.

    Heck, even an ancient DC-600 QIC drive will do it (600M per tape) although the tapes are a bit too large for me to find convenient. You can probably find one of these for free at a flea market (but I wouldn't trust critical corporate data to a drive I got for free at a flea market.)

  29. Re: Keychain in XP by CmdrPorno · · Score: 1

    There should be an icon with a green arrow with all the others in the tray. If you click on it, select the option that says "safely remove hardware." It will then display a bubble which states it's safe to remove your hardware.

    --
    Sent from my iPhone
  30. Compact flash is designed to distribute writes by EMIce · · Score: 1

    Compact flash is addressed much like any other drive, but often the card's own logic distributes writes so that all portions of the card are used evenly. This is called "wear leveling" and extends the life of the card. The problem is that cheap no-name manufacturers don't implement it, so do a little research before picking one. Also, I hear that some of the nicer cards remap failed sectors and do read after write verification, though at the expense of speed. Again, check into the specs of the more respected brands before buying.

    Now consider that a good consumer level CF card can do 300,000 writes on a sector before failure. With the benefit of wear leveling this means a 64 meg card can have rougly 64 x 300,000 megabytes written to it before failure. Now this seems fine and dandy, but you still have two potential problems to worry about.

    Frequently accessing the card causes the OS to write information like last access time very frequently. Each time this happens the data is moved to a new sector on the card, using up one of the 300,000 writes that sector is allowed. In some scenarios this can wear down the card very quickly. With backups, the data usually sits unaccessed, so take it as a warning. Alternatively, pass the 'noatime' option to mount. This tells linux not to update access times.

    One last pitfall - CF has a bad habit of dying if power goes out mid-write. For this reason I'd buy 2 quality CF cards with more capacity, and thus lifespan, than I need, rotate them, and not worry about it.

  31. Backup to an FTP site? by bonds · · Score: 1

    Would backing up to an offsite FTP account or two provide the protection you need? You could host it yourself or have an ISP with its own backups host it for extra protection. It may even be straighforward to automate depending on your setup. You can use GPG to encrypt the backups if you are concerned for their privacy in transit or at the backup storage site.

  32. Any type of medium is good by satterth · · Score: 1
    Any type of medium is good for backup. Just factor the possible costs and hopefully they fall within your budget and needs.

    Since your backup is 128meg, you should factor a backup medium that has some room to grow. What do you do if one night your working late and your backup is 135meg? Skip it and wait for the next day to buy another key? So lets up your USB key to 256meg.

    CDRW's, lets say they fail every 20 uses. 365 days a year, 20 uses per disc. That will be ~19 discs per year. @ $40 per 25 pack. $40 per year.

    USB Flash, Lets say you go through 1 a year. @ $190 per 256meg of storage. $190 per year.

    Now, it is quite possible that the USB key will last longer than a year. So your purchase can be spread over a number of years. After a few years the cost difference will even out. But there is a downside. What if you loose or break the USB key. What happens then? Your fuxored, plain and simple. At least with the CDRW's you have the previous disc to fall back on for historical data if you rotate the disc's before they phisically fail.

    You can even use a new CD-R everyday and keep the daily disks for historical protection for just a little bit more than a USB flash key.

    But it all depends on what you are looking for in a backup, temporary daily backup that is gone a day later, or an actual backup with historical protection.

    --
    Being called a dork on Slashdot must be like being called the retard in special ed.