Sub topic 6
Backing up before you change anything
This chapter assumes you know the six steps by name, can use basic Windows tools, and understand why Step 1 (identify the problem) comes first. Here you will learn why a backup belongs before any fix, and what to check before you trust one.
Why backups come before changes
Most fixes change something: a driver, a registry value, a partition, a file. Some of those changes cannot be undone. A backup is your way back if the fix makes things worse.
CompTIA places this task at the end of Step 1, before you theorize or test. The exam phrase is usually "back up the data before making changes." Watch for it in scenario questions. If the next action in the scenario would modify the system and no backup has been made, the backup is usually the best next step.
What to back up
Match the backup to the risk of the planned change.
| Planned change | What to back up |
|---|---|
| Reinstalling or repairing Windows | User files, such as Documents, Desktop, and browser bookmarks |
| Editing the registry | An export of the registry key you will edit |
| Updating a driver or firmware | A restore point and the current driver version |
| Replacing or repartitioning a drive | A full disk image |
| Changing a router or switch | The current configuration file |
A simple file backup
You can copy a user's files to external storage with robocopy, which is built into Windows. Run it from a command prompt. Replace jsmith and the destination drive letter with your own values.
robocopy C:\Users\jsmith\Documents E:\Backup\jsmith\Documents /E /R:1 /W:1The /E option copies all subfolders, including empty ones. /R:1 /W:1 makes robocopy retry a locked file once and wait one second, so one bad file does not stall the job.
Check the backup
A backup you have not checked is only a hope. Before you start the fix:
- Confirm the backup finished without errors. Read the robocopy summary for failed files.
- Compare file counts and folder sizes between source and destination.
- Open a few files from the backup to confirm they are readable.
- Store the backup on a different device from the source. A copy on the same failing drive protects nothing.
Handling a backup you cannot make
Sometimes the drive is too damaged to copy, or you lack permission to access the data. Do not push ahead with a repair that could overwrite it. Stop and escalate, which is covered in a later chapter. Also treat customer data with care. Do not browse the files, and keep the backup in a secure place.
Where it fits in the process
Common errors
- Backing up after a failed fix, when the data may already be gone.
- Saving the backup to the same disk that holds the original.
- Skipping the check and finding an empty or corrupt backup later.
- Backing up only documents when the fix also touches settings or configurations.
Exercise
A user's laptop will not boot, and you suspect a corrupted Windows install. You plan to run a repair that may reformat the system partition. The user says their files are not backed up. What should you do next, and why?
Show answer
Back up the user's data first, for example by connecting the drive to another system or booting from external media and copying the files to separate storage, then verify the copy. Repairs that reformat or overwrite can destroy data permanently, so the backup must come before the change. If the data cannot be copied, stop and escalate instead of continuing.