Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Free lesson

7.6 (3 of 3): Backups, recovery sites and procedures

The whole lesson, free. Read it and have a go at the activities. To work the tasks and labs in the real lesson, press Start lab, with no account needed.

50 minutes

A quick check that you are not a bot, then your own lab opens on the interactive lesson.

Already have an account? Sign in

Your laptop is stolen

Your laptop is stolen from your bag on the bus. It holds all your coursework. Is the work lost?

It is not, if you have a backup. A backup is a copy of your data, kept in another place. Businesses go further. They also plan how to get the whole system working again after a disaster.

Key words

WordWhat it meansExample
BackupA copy of data kept in another place.A copy on a cloud drive
RestoreTo put data back from a backup.Getting a deleted file back
OnsiteIn the same building as the original.A backup disk in the office
OffsiteIn a different place, away from the original.A copy in another city
Cloud backupA copy kept on a provider's servers over the internet.An online backup service
Hot siteA spare site, ready and up to date, that takes over at once.A mirror of the data centre
Warm siteA spare site with equipment, but no data until it is restored.Ready by tomorrow
Cold siteAn empty room with power and a network link.A room, ready in days
ProcedureA list of steps that gets a job done.Steps to restore the files
SOPStandard operating procedure: written steps staff follow for a task.How to restore the files
NetworkComputers joined to share data.The college network

The cells students fill in are left blank in this preview.

Where is the backup?

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Three places to keep backups

OnsiteOffsiteCloud
Restore speedFastSlowerDepends on the internet speed
Safe from fire or flood at your site?NoYesYes
CostBuy the equipmentBuy equipment and pay for transport or spacePay as you go
Main riskLost with the originalLost or stolen in transitDepends on the provider and the link

The cells students fill in are left blank in this preview.

Quick check: backups

Have a go

Quick check: backups

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Extra: The 3-2-1 rule

Tip

Keep 3 copies of your data. The original counts as one. Use 2 different kinds of storage. Keep 1 copy offsite. Then no single accident can destroy all your copies.

Extra: Make a file to protect

Command
echo "my coursework" > homework.txt

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Back it up

Command
tar -czf backup.tar.gz homework.txt

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Look inside the backup

Command
tar -tzf backup.tar.gz

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Disaster: delete the file

Command
rm homework.txt

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Recovery: restore from the backup

Command
tar -xzf backup.tar.gz

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Check the file is back

Command
cat homework.txt

A command for the lesson’s lab terminal. It is shown here and not run.

You just did a recovery

Important

You made a backup, lost the original and restored it. A business follows the same steps with far more data. It also tests its restores often. Then nobody finds out on the bad day that the backup does not work.

Hot, warm and cold sites

What if a whole building is lost? A company can keep a spare site.

A hot site is a copy of the working system, always up to date. It takes over in minutes. It costs the most.

A warm site has equipment ready, but the data must be restored from backup. It takes hours or a day.

A cold site is only a room with power and a network link. Equipment must be brought in. It takes days, but it costs the least.

The three sites compared

HotWarmCold
EquipmentReady and runningReady, not runningNone, or stored
DataCopied all the timeRestored from backupRestored from backup
Time to recoverMinutesHours to a dayDays to weeks
CostHighestMiddleLowest
Good forA bank or a hospitalA medium businessA small business that can wait

The cells students fill in are left blank in this preview.

Which site or backup?

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Procedures and people

A plan is useless if staff do not know it. A standard operating procedure (SOP) is a set of written steps for a job. For example: "What to do if the server fails."

People need to be ready. Staff practise the steps regularly. New staff have an induction. A new digital system comes with training. A new or changed policy comes with a briefing.

Four times staff are trained

WhenWhat happensExample
Effective staff trainingStaff practise the procedures regularlyA yearly practice of a restore
InductionNew staff learn the key procedures in their first daysHow to report a security problem
A new digital systemStaff learn it before it goes liveTraining on a new booking system
A new or updated policyStaff are told what changed and whyA new rule for passwords

The cells students fill in are left blank in this preview.

Put the recovery in order

Have a go

Put the recovery in order

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your turn: choose a site

Write a function. choose_site(hours_allowed) gives back "hot" if the business can wait 1 hour or less, "warm" for up to 24 hours, and "cold" for longer. Press Run Tests to check.

Code: python
def choose_site(hours_allowed):
    # hours_allowed is how many hours the business can be without its system.
    # Give back "hot" if it can wait 1 hour or less, "warm" for up to 24 hours,
    # and "cold" for longer than that.
    return ""

Make a free account to save your work, or press Start lab to work through the whole lesson.

Extra: Your turn: check the 3-2-1 rule

Write a function. follows_321(copies, media_types, offsite_copies) gives back True if there are at least 3 copies. They must be on at least 2 kinds of storage. At least 1 copy must be offsite. Otherwise it gives back False. Press Run Tests to check.

Code: python
def follows_321(copies, media_types, offsite_copies):
    # The 3-2-1 rule: at least 3 copies of the data, on at least 2 kinds of storage,
    # with at least 1 copy offsite. Give back True or False.
    return False

Make a free account to save your work, or press Start lab to work through the whole lesson.

Myth or fact?

Have a go

Myth or fact?

5 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Final check

Have a go

Final check

5 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Teach this lesson with your class

On a college account your students work the tasks and the labs as well, and every mark is kept for you.