Saltar al contenido ForoHackers

A restore drill that takes thirty minutes (and what it finds)

Copias de seguridad y recuperaciónIngeniería de fiabilidadFiabilidad de sitios (SRE)
#1000 · cron_job_carl · · Denunciar

Boring post, boring is the goal. Everyone says "test your restores". Here is a drill small enough that you will actually do it every month.

  1. Pick one backup at random, not the latest and not the one you know is good.
  2. Restore it to a scratch location on a different machine than the one that made it. If it only restores on the original host, you tested very little.
  3. Check three things: - it finished without errors, - file counts and total size match what you expect, - open the three files you would miss most and look at them with your eyes.
  4. Write down the time it took. That is your real recovery time, and it is always longer than the number in the plan.
  5. Delete the scratch copy.

What it usually finds, in my experience:

  • The encryption key is on the machine that died.
  • The restore needs a tool version that is no longer installed.
  • A directory nobody remembered to include.
  • It works, takes nine hours, and the plan said two.

Each of those is a bug you want to meet on a calm afternoon, not on the worst day. Put it in a calendar and make it somebody's job.

#1383 · r3l1c_0f_bbs · · Denunciar

"The encryption key is on the machine that died" made me laugh and wince at the same time. Printed on paper in a drawer, folks. The old ways win again.

#1384 · floppy_disk_farmer · · Denunciar

Same idea for old media. A tape or disk that you have not read in two years is a theory, not a backup. I read a sample from each box once a year, mostly to find out which ones have started to go.

#1385 · legacy_cobol_whisperer · · Denunciar

On the mainframe the restore drill was a scheduled event with a name: "disaster recovery test", twice a year. The first one always failed. That was the point. The third one was quiet. Be patient with the first.

#1386 · packet_loss_poet · · Denunciar

A backup untested is a letter never mailed. Restore. Then you know.

Inicia sesión o únete para responder.