How do backups recover lost files?
A backup is a spare copy of your files kept somewhere else, so a mistake or a broken computer does not mean your work is gone.
The big idea: A backup program copies your files to another place again and again, and keeps each copy with its date. To get a lost file back, you copy it from a backup made before it was lost.
It's like a save point in a video game. If things go wrong, you go back to the last save. Anything you did after that save is gone.
The interactive parts didn't load. The explanations below still work; try reloading the page.
How a backup brings files back
- Ana keeps her project in a folder: a story, a photo, a song and a drawing. One wrong tap, and the photo is deleted. Is it gone forever?
- Luckily, Ana set up a backup days ago. A backup program copied every file in the folder onto a separate drive. That spare copy is called a backup.
- The next day Ana adds to her story. The backup program checks which files changed and copies only those. That is much quicker than copying everything again.
- The program does not throw the old backups away. It keeps a row of them, one for each day, like photos of the folder. Each one is called a version.
- Back to today, and the missing photo. Ana picks the backup from yesterday, when the photo was still there, and the program copies it back. This is called restoring.
- A drive on the same desk could be lost together with the laptop. So careful people keep one more backup far away, in another building or in the cloud.
Look inside a backup
Tap each part of Ana's backup, from her folder to the faraway copy.
- Your files. These are the working files: the ones Ana opens and changes. They live on the laptop's own drive, and that is the copy most likely to have an accident.
- Schedule. People forget to back up, so the program follows a schedule, such as every night. An automatic backup is one you never have to remember.
- Backup drive. The backup lives on a different drive from the working files. If the laptop's own drive breaks, the copies on this one are still fine.
- Versions. Each card is a version: what the folder looked like on one day. Keeping several lets you go back to before a mistake, even if you notice it days later.
- Changed file. The bright file is the only one that changed since the last backup, so it is the only one that was copied. The program remembers that the others are the same as before.
- Restore. Restoring copies files from a backup back to where you work. You can bring back a whole folder, or just the one file you need.
- Faraway copy. A second backup is kept somewhere else, such as a relative's home or a cloud service. If something happens to the whole room, this copy survives.
Back up, change, restore
Change or delete files in the pretend folder, make backups on different days, then tap a backup card to restore it. What comes back, and what does not?
Experiment: You back up on Monday. On Tuesday you add to your story but do not back up. Then you restore Monday's backup. What happens to Tuesday's writing?
- Tap the backup drive to back up today.
- Press Next day, then tap the story to change it.
- Do not back up. Tap the earlier backup card to restore it.
- Look at the story. Which version is it?
What we found: Tuesday's writing is gone. A backup only holds what the folder looked like when the backup was made. Restoring it puts the folder back to that moment, so anything newer disappears. That is why backups should be made often.
Turn on JavaScript to try it yourself.
Fix the drawing, keep the song
Someone scribbled on the drawing on Thursday. Get the good drawing back without losing the song Ana made on Thursday.
How backups save the day
Everything on a computer is stored on a drive, and drives do not last forever. Files also vanish because of wrong taps, spilled drinks and lost laptops. A backup is a spare copy of your files kept on a different drive, so that one accident cannot destroy both.
A backup program does the copying for you, usually every day. The first time, it copies everything. After that it only copies the files that changed, which is much faster. It keeps the older copies too, each marked with its date. These dated copies are called versions.
Versions matter because you do not always notice a problem at once. If your drawing was spoiled on Thursday and you only see it on Saturday, the newest backups already contain the spoiled drawing. You need a version from before Thursday. Getting a file back from a backup is called restoring.
A backup can only give back what it holds. Work you did after the last backup is not in it. And a backup drive sitting next to the computer can be lost in the same accident, so many people keep one more copy far away. The game save point idea has a limit too: a backup does not undo things by itself. You must choose a version and restore it.
Key words
- Backup
- A spare copy of files, made at a known time and kept on separate storage.
- Restore
- To copy a file back from a backup to where you work.
- Version
- A backup from one particular day: what your files looked like then.
- Full backup
- A backup that copies every file, whether it changed or not.
- Incremental backup
- A backup that copies only the files that changed since last time.
- Off-site copy
- A backup kept in a different building, so one disaster cannot destroy every copy.
Check your thinking
-
What is a backup?
Show the answer
A spare copy of your files kept in another place. The copy must be somewhere else, so one accident cannot destroy both.
-
Your drawing was spoiled on Thursday. Which backup should you restore it from?
Show the answer
The newest one made before Thursday. Backups made after the damage hold the spoiled drawing. The newest earlier one has the most of your work.
-
You restore last Monday's backup of your whole folder. What happens to a file you created on Wednesday?
Show the answer
It disappears, because Monday's backup never had it. A whole-folder restore puts the folder back to how it was on Monday.
-
Why keep one backup in a different building?
Show the answer
So a fire, flood or thief cannot take the computer and every copy at once. One disaster can destroy everything in one room. A copy somewhere else survives it.
-
A folder holds 20 megabytes. Each day 2 megabytes of it change. About how much space do 7 daily versions need as incremental backups, if the first is a full copy?
Show the answer
About 32 megabytes. One full copy of 20, plus six increments of 2, makes 32. Seven full copies would need 140.
-
Why does a backup program copy only the files that changed?
Show the answer
It is faster and uses less space, and the other files are already saved. Files that did not change are already in an earlier backup.
You're a Computers & communication expert!
You watched, looked inside, tried it, solved the challenge and went deeper. Pick another question below, or switch the age at the top to see this topic another way.
Keep exploring
Games to play next
- Robot RoutesSnap together arrow, repeat and dance blocks to guide Bolt the robot home.
- Bug DetectiveA robot program almost works. Run it, spot the buggy block, and fix it.
- Safe Message DetectiveRead made-up messages, pop-ups and posts, spot the clues, and choose the safe, kind thing to do.
Guide for grown-ups
- How to start homeschooling: a step-by-step guide for familiesA guide for parents · 7 min read
Coding games by grade
Computer skills worksheets by grade
- Preschool Computer Skills Worksheets
- Pre-K Computer Skills Worksheets
- Kindergarten Computer Skills Worksheets
- 1st Grade Computer Skills Worksheets
- 2nd Grade Computer Skills Worksheets
- 3rd Grade Computer Skills Worksheets
- 4th Grade Computer Skills Worksheets
- 5th Grade Computer Skills Worksheets
- 6th Grade Computer Skills Worksheets
- 7th Grade Computer Skills Worksheets
- 8th Grade Computer Skills Worksheets