Slashdot Mirror


Why Mirroring Is Not a Backup Solution

Craig writes "Journalspace.com has fallen and can't get up. The post on their site describes how their entire database was overwritten through either some inconceivable OS or application bug, or more likely a malicious act. Regardless of how the data was lost, their undoing appears to have been that they treated drive mirroring as a backup and have now paid the ultimate price for not having point-in-time backups of the data that was their business." The site had been in business since 2002 and had an Alexa page rank of 106,881. Quantcast said they had 14,000 monthly visitors recently. No word on how many thousands of bloggers' entire output has evaporated.

71 of 711 comments (clear)

  1. DUH! by Anonymous Coward · · Score: 5, Insightful

    DUH!

    1. Re:DUH! by djupedal · · Score: 5, Funny

      As if millions of voices suddenly cried out in terror, and were suddenly silenced.

    2. Re:DUH! by larry+bagina · · Score: 5, Funny

      I pity the fool who hahas?

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    3. Re:DUH! by severoon · · Score: 4, Funny

      Journalspace CTO: We don't need an expensive off-site backup solution b/c we mirror all of our data real-time. It's genius!

      -entire database gets overwritten-

      Journalspace CTO: Ohhhhhh...now I get it.

      --
      but have you considered the following argument: shut up.
    4. Re:DUH! by NickFitz · · Score: 5, Funny

      What about archive.org?

      Ah, apparently not... :-D

      --
      Using HTML in email is like putting sound effects on your phone calls. Just say <strong>no</strong>.
    5. Re:DUH! by jcuervo · · Score: 4, Funny

      What we've got here is failure to administrate.

      --
      Assume I was drunk when I posted this.
    6. Re:DUH! by darthflo · · Score: 3, Insightful

      As if millions of voices constantly cried out in angst, and were finally silenced.

      Fixed that for you. ;)

  2. Again a frost post to a red story by Anonymous Coward · · Score: 5, Funny

    While this mirrors previous comments, it's not really a backup solution.

  3. When is backing up *not* an option? by wandazulu · · Score: 5, Interesting

    Mirroring, RAID, grid, whatever. At some point, you want your data safe and secure on something not physically attached to any power source.

    1. Re:When is backing up *not* an option? by Anonymous Coward · · Score: 5, Insightful

      Incremental backups to tape every night, full backup at the weekend. Tapes must be stored off-site at a proper storage location. Got lots of data and a small backup window? Get a faster tape drive and a tape robot. It costs money, but you data costs more.

      This is at a minimum people. Come on!

    2. Re:When is backing up *not* an option? by postbigbang · · Score: 3, Interesting

      Nope.

      Mirrors are fine, just snapshot them and store them offsite regularly. Do delta backups as needed but close-in for fast restoration.

      There is no rational justification for tape anymore, what with the cost per TB stored on hard disks now under $130, total $$. Random accessibility unless you're stalling a subpoena, is just mandatory on backup media.

      --
      ---- Teach Peace. It's Cheaper Than War.
    3. Re:When is backing up *not* an option? by z_gringo · · Score: 3, Insightful

      NAS devices are cheaper and faster now. Lower end removable drives are not much more expensive than tapes, and they are a lot faster and easier to manage.

      --
      -- -- Warning. Do not stare directly at the sun.
    4. Re:When is backing up *not* an option? by Wdomburg · · Score: 4, Insightful

      Even accepting your price that's a cost of about 12.7 cents per gigabyte and you can get 800GB native LTO-4 tapes for about $50, which comes out to about 6.3 cents per gigabyte.

      But quoting costs for desktop grade SATA drives severely understates the true cost. For any non-trivial site installation you're talking near-line rated drives, drive caddies, storage shelves and additional SAN fabric. Then price out the additional power, cooling and rack space. Then price offsite shipping and storage for the bulkier, heavier and more delicate disk option.

      Mirroring has its place. Snapshotting has its place. And backups to stable media still has its place too.

    5. Re:When is backing up *not* an option? by Trixter · · Score: 4, Insightful

      That's not my company's policy, that's *my* policy. I can take a 3-month hit to my personal data. AND YET MY LAX PERSONAL POLICY WOULD HAVE SAVED JOURNALSPACE.

      My *company's* policy is daily offsiting. Expensive, but very many of our locations could become a smoking hole in the ground and we'd still be able to restore and operate.

    6. Re:When is backing up *not* an option? by Wdomburg · · Score: 4, Insightful

      Fine. Get the cartridges, but what about the capital cost minus depreciation of the drive? What about random access?

      Random access is why snapshots also have their place. :) Archival backups and nearline backups solve different sets of problems.

      Now weigh those against an inexpensive jbod frame with a 2gb FC backplane.

      What kind of capacity are we talking. For a small site you can pick up a little 2U unit that'll store 6.4TB uncompressed for under $5k. Or if you're running a larger site you can snag a 4U unit with two drives for about $15k that'll handle 30.4TB with optional expansion to 60.8TB native.

      What's the write speed of LT vs a tasty little GB SAS drive?

      120MB/sec per drive without compression. And now that you've talking about SAS drives your per TB cost is hopelessly optimistic. Even OEM packaged terabyte SAS drives are going to run you about a quarter a gigabyte, which is now four times the media cost of an LTO-4 solution.

      Rackspace? You can put a dozen into about 4U.

      So about 12TB in 4U compared to the 30TB unit I mention above.

      Cooling? Although I'll grant you green cost, the random accessibility out-classes the seek time and tape insertion by a human cost dramatically.

      Have you never heard of a tape library?

      Stable media? Tape? Sometimes.

      Properly handled tape is incredibly stable.

      Shelf space?

      If you're doing off-site storage, that's going to be an issue regardless of what media you're using. And as I pointed out, tape is far more compact and far lighter than disks.

      No need to use tape anymore. Get out of the reality distortion field, but do the right thing by testing what you have and doing drills to ensure that whatever you have, works and is a procedure understood by all.

      I'm not the one dismissing an entire class of technology while demonstrating ignorance of its costs and benefits.

  4. Dear Every Corporate Tool in the Universe: by yttrstein · · Score: 5, Insightful

    And that's why your IT department actually needs funding. Sleep tight.

    1. Re:Dear Every Corporate Tool in the Universe: by TubeSteak · · Score: 5, Insightful

      And that's why your IT department actually needs funding. Sleep tight.

      They've had the site live for 6 years.
      This wasn't a lack of funding, it was just sheer stupidity.

      6 years and nobody ever thought it'd be a good idea to back everything up to dvd or an external hard drive. HTML compresses really well in case they didn't know.

      --
      [Fuck Beta]
      o0t!
    2. Re:Dear Every Corporate Tool in the Universe: by yttrstein · · Score: 4, Insightful

      Stupidity IS a lack of funding. Pay the salary of someone smart enough to handle your data correctly if you have no interest in becoming smart yourself. Simple.

    3. Re:Dear Every Corporate Tool in the Universe: by Volante3192 · · Score: 3, Insightful

      Never underestimate the beancounter's desire to save every cent possible. If your site's working perfectly fine, well, what's the point of having backups? Seriously, I see this happen all the time with small businesses. "Oh, it's never failed before, why do we need backups?" Then the server implodes.

      Course, they then get pissed at us for not preventing it, but what do they expect us to do, shell out for a tape drive with our own cash? I think not.

    4. Re:Dear Every Corporate Tool in the Universe: by mrchaotica · · Score: 4, Insightful

      Hell, they could have spent $50 on a USB hard drive (i.e., half-assed it) and been better off!

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    5. Re:Dear Every Corporate Tool in the Universe: by slugtastic · · Score: 5, Funny

      I'm more surprised that the site lived for 6 years without back-up. That's pretty hardcore.

    6. Re:Dear Every Corporate Tool in the Universe: by modmans2ndcoming · · Score: 5, Funny

      Screw that!! IT Departments are cost centers and have absolutely no benefit to the bottom line of a company... none at all... nope.

    7. Re:Dear Every Corporate Tool in the Universe: by Kjella · · Score: 5, Insightful

      Being too stupid to recognize your own shortcomings is also a form of stupidity. Or hubris, whichever is more appropriate.

      --
      Live today, because you never know what tomorrow brings
    8. Re:Dear Every Corporate Tool in the Universe: by bb5ch39t · · Score: 4, Funny

      Absolutely correct! Why management here is drooling over how much they money could save if they just didn't need the damn IT department. And all those damn desktop computers! Why, life was much better back in the days of paper ledgers and pencils! Sigh - if only we could have the perfect company. One which only has high level managers and none of the "riff raff" that infects them. Oh! Wait! That's Congress. And they have a monopoly.

    9. Re:Dear Every Corporate Tool in the Universe: by slushdork · · Score: 5, Funny

      Maybe they should have used this backup strategy, although this one looks more like this...

    10. Re:Dear Every Corporate Tool in the Universe: by sjames · · Score: 3, Insightful

      A USB drive is an excellent non-archival backup. Two or more in rotation is even better. That plus a decent RAID for the primary storage will cover most data losses. Even better if the drive goes home with the admin at night.

  5. rm -rf / by corsec67 · · Score: 5, Informative

    rm -rf /

    That is one reason why mirroring isn't a backup, and why backups should ideally be off-line.

    --
    If I have nothing to hide, don't search me
    1. Re:rm -rf / by Piranhaa · · Score: 5, Funny

      C:\>rm -rf /
      'rm' is not recognized as an internal or external command,
      operable program or batch file.

      Everything's still running here...

    2. Re:rm -rf / by Anonymous Coward · · Score: 3, Funny

      Ha! I store all my data in directory names!

  6. Ouch by scubamage · · Score: 3, Informative

    We do data hosting, and I can't imagine how catastrophic that would be. Jebus. Let this be an ultimate example of why numerous backups are needed. Always. Without question.

    1. Re:Ouch by conureman · · Score: 4, Insightful

      Or even one, stale, backup.

      --
      The cost of that cleanup, of course, will be borne by taxpayers, not industry.
    2. Re:Ouch by jabithew · · Score: 3, Insightful

      This story put the fear of god into me. The first thing I did since reading it is to back up the website I admin (for my dad) locally. I'd always assumed our host would have good backup, but that seems naÃve now.

      --
      All intents and purposes. Not intensive purposes.
    3. Re:Ouch by slugstone · · Score: 3, Interesting

      Working at several hosting places I would say,you are correct. Never trust a hosting service backup. I always told our customers to never trust our backup. Sometimes backups just never happened. They are not high on the list of things to keep working.

  7. Excellent! by GravityStar · · Score: 5, Funny

    Excellent! We can use their demise as yet another cautionary tale.

    1. Re:Excellent! by El+Torico · · Score: 5, Funny

      Excellent! We can use their demise as yet another cautionary tale.

      Ironically, it's more useful than the entire collection of blogs that they stored.

      --
      In the land of the blind, the one-eyed man is usually crucified.
  8. Mirroring is not intended as a data backup by zaibazu · · Score: 3, Informative

    It is an inexpensive protection against a total harddisc failure, but effective at this part. A software going rogue or a user deleting the wrong files can't be helped by it.

  9. That's what backups are for by MBCook · · Score: 5, Interesting

    It's really unfortunate that this happened. If they had simply had a backup snapshot of the DB they could have restored it. RAID only saves you from disk failures. It doesn't work on OS/user failures.

    Unfortunately this is the kind of thing you tend to learn from experience (either yours or someone else). It's very easy to think "RAID 1 = disks are safe".

    Just like a database cluster wouldn't have saved them. A clustering database can save you from load, or you can swap servers if a disk goes bad. But when someone issues "DELETE * FROM..." the other cluster nodes start to happily run the same thing and now you have 2 (or 3 or 10 or...) empty database boxes.

    I hope those bloggers had a backup of some sort of their own.

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    1. Re:That's what backups are for by MBCook · · Score: 5, Insightful

      My guess (and this is a guess, I'd never heard of the site before yesterday) is that this is some guy who started his own little site and it got bigger and bigger. Basically he never designed the backup, the system was just slowly pieced bigger and bigger until it got to it's current state.

      The comments in the messages from the site's operator about the cost of the drive recover and thinking both drives just died at once indicate to me that this site was basically a hobby for him and he isn't experienced as an admin.

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    2. Re:That's what backups are for by mzito · · Score: 3, Interesting

      Ah, it totally depends on the type of database cluster. For example, with Oracle, if you're using Oracle DataGuard, even in synchronous replication mode you can define an "apply delay" - basically, "Don't acknowledge this commit until it is written locally, and copied and acknowledged on the remote side, but don't actually apply the transaction for two hours"

      That way, if someone does a delete * from blogs;, it will be reflected immediately on the production, but you've got a nice window to sort it out.

      Plus, if you've got database flashback turned on, you can simply say, "Flash my database back to what it looked like before someone was an idiot", and all your data comes back.

      These features are expensive in Oracle, but they can be very useful when you actually need them.

      --
      me@mzi.to
  10. El Oh El by greymond · · Score: 3, Insightful

    That's all I can say at this. I'm really surprised that with all the users they had, they are so quick to say "everything is gone and we're giving up" instead of just starting over and maybe implementing protocol that would make sure this doesn't happen again.

    1. Re:El Oh El by kurtmckee · · Score: 5, Insightful

      I'm really surprised that with all the users they had, they are so quick to say "everything is gone and we're giving up"

      Considering how complete and unrecoverable the loss is, they have no idea who their users are. The accounts would have to be recreated from scratch, but who would try? Their users have no reason to ever trust them again. Journalspace would have a difficult time wooing back their original users, and no new user would seriously consider using them.

      Bowing out is the only recourse, but I'm glad they're considering releasing their source code.

    2. Re:El Oh El by spuke4000 · · Score: 3, Funny

      Indeed. Everyone knows that when you drive your company into the ground through incompetence you don't give up! You go to Washington to get your bail out. That's the American way.

      --
      This post cannot be rebroadcast without the express written constent of Major League Baseball.
  11. Inconceivable? by LSD-OBS · · Score: 3, Funny

    I do not think it means what you think it means.

    --
    Today's weirdness is tomorrow's reason why. -- Hunter S. Thompson
  12. How hard is it to remember: by computersareevil · · Score: 4, Insightful

    Mirroring: High availability
    Backups: High reliability

  13. The rules of backups by Anonymous Coward · · Score: 5, Informative

    The rules of backups:

    1. Backup all your data
    2. Backup frequently
    3. Take some backups off-site
    4. Keep some old backups
    5. Test your backups
    6. Secure your backups
    7. Perform integrity checking

    1. Re:The rules of backups by Anonymous Coward · · Score: 3, Insightful

      1. Backup all your data
      2. Test your backups
      3. Backup frequently
      4. Test your backups
      5. Take some backups off-site
      6. Test your backups
      7. Keep some old backups
      8. Test your backups
      9. Secure your backups
      10. Test your backups
      11. Perform integrity checking
      10. Test your backups

      Every company I've worked at has had a backup plan. Exactly zero have had a recovery plan.

  14. To many shops think HA==DR by uncledrax · · Score: 4, Informative

    It's more an issue that some people think that HA == DR.. which obviously this story reminds us that it is not the same thing.

    Mirroring / RAID == HA.. if one of your HDDs let the smoke out, you still don't incur downtime. If you have a hot-spare, you're even better.. all it does it let you have alittle time to correct the
    issue (ie: "It can wait until morning").

    Also, one other very important thing.. mirroring doesn't prevent/restore data corruption. If you're mirroring your rm -rf (as pointed out by Corsec67 below), your RAID will happy do what it does.. and span your command to all your disks.... Congrats, you just successfully gave yourself HA to your disk erasing! :]

    Backups are DR.. If your RAID croaks.. your SOL if you don't off-machine backups. If you accidently nuke your disks with an rm or something, you can still go back and restore data.. sure you'll likely loose -some- data, but -some- is better then all in this case.

    --
    ----- The internet has given everyone the ability to have their voice heard equally as loud.. even if they shouldn't be
    1. Re:To many shops think HA==DR by xyphor · · Score: 5, Informative

      DR is Disaster Recovery

      HA is High Availability

    2. Re:To many shops think HA==DR by cbiltcliffe · · Score: 5, Funny

      I tried Googling, but the only results I got were a medical office in Chinatown.....

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
  15. Re:stunned silence by conureman · · Score: 5, Funny

    I am experiencing a strange phenomenon. The jaw-drop reflex has been popping my mouth open for several minutes and won't stop. If I focus I can close it, but then it pops open again. wow.

    --
    The cost of that cleanup, of course, will be borne by taxpayers, not industry.
  16. Only 2 drives? by lalena · · Score: 4, Insightful

    Maybe I could understand that there might be issues with backing up live databases, and they didn't want to deal with it. Still not an excuse.
    BUT, according to the site "the server which held the journalspace data had two large drives in a RAID configuration". Only TWO drives.
    All they had to do was pull one of the drives, replace it, and lock up the original off site. In a couple of hours the drives would have been mirrored again.

  17. To the HR department by squeegee_boy · · Score: 5, Funny

    Important note: don't hire the IT dude with Journalspace.com on his resume.

    1. Re:To the HR department by DaveV1.0 · · Score: 3, Insightful

      The only problem with that idea is that it may not have been the IT guy's decision to save money by not having a true backup system. I have seen companies skimp on backup systems because they thought their RAID system was enough.

      --
      There is no "-1 offended" or "-1 you don't agree with me" mod options for a reason.
  18. A lesson for admins, and users too by gzipped_tar · · Score: 4, Insightful

    No doubt this incident is the result of the admin's fault. He's been confusing mirroring and backup and carried on the mistake until it's too late, as pointed out in other comments.

    Now what about a user's angle? The morale is you can never think your data is safer when it's "in the cloud". If you value your blog and your readers, you *should* save a copy of your work as well as the readers' info, *locally*, somewhere you have control over.

    There's no place like $HOME.

    --
    Colorless green Cthulhu waits dreaming furiously.
    1. Re:A lesson for admins, and users too by djmurdoch · · Score: 4, Insightful

      And a corollary to the parent's good advice: if you can't easily get a complete copy of your work, find another host. Manual one-by-one downloads don't cut it.

  19. Re:Noobs. No, really. by emag · · Score: 4, Informative

    Even the greenest IT employee knows that mirroring is to protect against hard drive failure and not software corruption.

    I only wish that were true. I've given up arguing with friends about this, who insist that their mirrors are good enough backups. I just stare at colleagues who think such, especially those who SHOULD know better. And I *know* coworkers are doing this @ work, too, and I'm just waiting for about 50TB of data to suddenly go missing...

    --
    "The urge to save humanity is almost always a false front for the urge to rule." --H.L. Mencken
  20. No Archive.org either by computersareevil · · Score: 5, Informative

    They also purposely blocked archive.org via a robots.txt exclusion, so the bloggers can't use that to try and recover some of their blogs.

  21. There is a denial going on by hwyhobo · · Score: 5, Insightful

    In today's world where primary storage and protection storage are well-defined, and where entire industry grew around it (examples: NetApp, Data Domain), one is hard-pressed to understand the reason for such a debacle. The reading of the note referred to in the article leads me to believe, unfortunately, that Journalspace's IT department did not understand the difference.

    It is sometimes considered a bad form to say something bad about fellow techies. We prefer to look for 'outside' causes. Still, to learn and avoid the same problems in the future, one has to admit his mistakes first. This paragraph from the Journalspace's page:

    The value of such a setup is that if one drive fails, the server keeps running, using the remaining drive. Since the remaining drive has a copy of the data on the other drive, the data is intact. The administrator simply replaces the drive that's gone bad, and the server is back to operating with two redundant drives.

    makes me believe there is a denial going on.

    --
    End anonymous moderation and posting on /.
  22. Someone needs to be FIRED by spitek · · Score: 4, Funny

    You pay your infrastructure people to maintain business, continuity I mean the tittle of this post made me go, "Really, no shit" That's like systems admin 101! If the admin was aware then the manager that didn't listen needs to be fired. If the manager listened and they are just run by retards then they got what they deserve. You'd think 17,000 visitors a month would be worth enough to do it right, in add revenue alone. The cost of a consumer machine running linux with a few TB's of SATA space - $1200 How much the company paid to have a system's admin play video games all day - $50,000 The cost of a 17,000 vistor a month site going down because they had no data base backups - Priceless.

  23. Mirroring by jav1231 · · Score: 5, Insightful

    See mirroring is like...well a mirror. If you stand before one and stick a fork in your eye your mirror-image does the same. In real time. Analogies are there for a reason.

    1. Re:Mirroring by gEvil+(beta) · · Score: 4, Funny

      See mirroring is like...well a mirror. If you stand before one and stick a fork in your eye your mirror-image does the same. In real time. Analogies are there for a reason.

      There's a major flaw in your analogy. See, if I stick a fork in my right eye, the mirror image will stick a fork in his left eye. Between the two of us, however, we still have one good left AND right eye. So ipso fatso, I have a complete backup.

      --
      This guy's the limit!
  24. Google cache diving by Chris+Pimlott · · Score: 5, Informative

    Looks like at least some content is still in Google's cache, those looking to salvage their journals should act quickly.

    You can limit google's search results to a particular site by using the "site:domainname.com" search term (example) and then click the "Cached" links of each result to see Google's copy.

    There's also a Greasemonkey script for Firefox that can automatically add Google Cache links next to page links, so you can navigate from one cached page to another easier.

  25. You need more than backups ... by blowdart · · Score: 5, Insightful

    You don't just need backups. You need to TEST them. Having a backup run every night is nice and all; but if the tapes are unreadable and no error was reported, or if you're doing it wrong and the backup is corrupted and you only find out when you come to restore ....

    1. Re:You need more than backups ... by mortonda · · Score: 3, Informative

      Backups must be:

      1) Automated - if you need human intervention, it will fail

      2) Point-in-time - the system must be able to provide restores for a set of times, as fitting for the turn around on your data. A good default is: daily backups for a week, weekly for a month, and monthly for a year

      3) TESTED: You must fully test the restoration process (if this can be automated, even better). Backups that you can't restore from a bare machine are worthless.

      For better disaster recovery, backups should be:

      4) offsite - if a fire or tornado hits, is the backup somewhere else?

      5) easily accessible - how long will it take to get the restore going?

  26. Double Duh! by Roger+W+Moore · · Score: 4, Interesting

    Since they apparently used OSX Server this is particularly bad. All they needed was a large enough USB attached disk and then to turn on Time Machine. Might not be the best solution for their needs but it is hard to imagine one which requires less effort.

    1. Re:Double Duh! by azav · · Score: 3, Insightful

      Or attach a 4 TB Drobo to it and then use Time Machine.

      Then make a backup and test the restore.

      Their admin is criminally incompetent.

      --
      - Zav - Imagine a Beowulf cluster of insensitive clods...
    2. Re:Double Duh! by MarkRose · · Score: 4, Informative

      Not quite. Backing up a live database can be a bit tricky. By the time you finish copying part of the database, the first bit can change again. So you have to create a snapshot of some kind. And that has to be supported in the database setup (at the application or server level) in order for the backup to be in a consistent state. And you don't want your backup process to degrade site performance, either. So a simple file copy is totally inadequate.

      A common solution is replication. Backup is then performed by creating a replication point on the slave database machine then taking a snapshot and copying that while while master database machine continues serving at full speed. Replication can then catch up when the backup is complete. Another advantage to having replication is duplication on the machine level -- if the master fails, go live to the slave with minimal to no downtime. Set both machines up in a master-master configuration and you can swap back and forth as needed, allowing live maintenance and backup with no performance degredation.

      --
      Be relentless!
    3. Re:Double Duh! by MBCook · · Score: 4, Informative

      *BZZZZT*

      The GP was 100% correct. If you had kept reading, you'd see that the suggestion was to use replication so you can lock the DB into a consistent state while backing up. When the backup is done, the box starts replicating again. If you didn't have the backup box, you'd have to lock the production database while your backup was going on.

      He was suggesting replication purely as a way to avoid having to pause the application during backup, not as the backup it's self.

      --
      Comment forecast: Bits of genius surrounded by a sea of mediocrity.
  27. Personal backups of online data by RevWaldo · · Score: 4, Insightful

    This is why users should be able to easily back up their own data for any online service. If a service entrusted with your data provides no straightforward way to drop a copy of it onto your own hard drive, don't trust it. I'd go as far to say that any service that doesn't strongly recommend you keep your own backups shouldn't be trusted.

    Do the big kahunas of the "Web 2.0" world give users that option? Gmail, Myspace, Facebook, Twitter etcetera ad nauseam?

  28. Darwin awards by ZiggyM · · Score: 3, Funny

    Are there Darwin awards for websites?

  29. Archive/redo logs too by DamnStupidElf · · Score: 3, Informative

    ACID compliant databases use a log, much like a filesystem journal, that contains all the changes made to the database before those changes were actually written out to the main database storage. When you back up the raw database, you back up all the logs since at least the time you started backup up the raw files until the time the backup was finished, and when you need to restore the database you put the raw data back and then let the database replay the logs.