Home › Guides › How do you make backups you can restore?
How do you make backups you can restore?
To make backups you can restore, you need three things: copy everything required to rebuild the system and not just the files, keep several copies in separate places, and rehearse the restore on a regular basis. A backup that has never been restored is an assumption; the rehearsal is what turns it into reasonable assurance.
Reviewed on · Neona Tech
- A backup is measured by what you can recover, not by a message saying the job completed.
- At least one copy must sit beyond the reach of anyone who gets into your network.
- Restoring is practiced calmly, well before the day it is needed.
The only backups that count are backups you can restore
A backup is useful only if it gets you working again. Many companies find out on the day of the incident that the copy was incomplete, corrupted, encrypted with a key nobody remembers, or stored on the very machine that failed.
So the right question is not whether you have copies, but when someone last recovered the system from one. If the answer is never, you do not yet know whether you have a backup.
What to back up: far more than the files
You need to copy everything it would take to rebuild the service from scratch on an empty machine. Documents are the obvious part; what tends to be missing is whatever makes the application start and connect to everything else.
A database, moreover, is not copied like a folder. Copied while in use, it can end up inconsistent. The correct approach is the export or snapshot tool that ships with the database engine itself.
- Databases, exported with their own tooling.
- Working files and documents uploaded by users.
- Server, application and network configuration.
- Source code and the exact version currently deployed.
- Secrets, encryption keys and credentials, stored separately and protected.
- Data living in online services: email, spreadsheets, CRM.
Several copies, in different places, one out of reach
A single copy is not enough, because whatever damages the original usually damages what sits beside it. The widespread practice is more than one copy, on more than one kind of storage, with one of them in another location, away from the fire, the theft or the power failure.
Ransomware adds a condition: attackers look for the backups first so they can encrypt them. That is why one copy should be immutable or offline, and held under credentials different from the everyday ones, so that getting into your network is not enough to delete it.
Decide how much you can lose and how long you can wait
Two business decisions drive the whole technical design. The first is how much recent information you accept losing: with a nightly copy, damage in the afternoon erases the day's work. The second is how long the company can go without the system while it is being recovered.
The industry calls them recovery point objective and recovery time objective, RPO and RTO. They are not the same for everything: invoicing usually demands more than the historical archive, and telling them apart keeps you from buying the most expensive protection for data that does not need it.
How to run a restore test
You test by restoring for real, in a separate environment, without touching the live system. Take the most recent copy, bring the service up on a clean machine and confirm that the application opens, that yesterday's data is there and that a user can do their usual task.
Time it and note every snag: the missing key, the step only one person knew, the version that can no longer be downloaded. Turn that into a procedure anyone on the team could follow. Repeat the test periodically and after every significant change to the system.
Frequently asked questions about backups
Is a synced cloud folder a backup?
Not on its own. Sync replicates everything that happens, including deletions and files encrypted by an attack. The version history many of these services offer helps, but it has retention limits you should check. A backup is a separate, dated copy that does not change when the original does.
Does my cloud provider already back up my data?
Do not assume so. In general the provider is responsible for keeping its infrastructure running, and you are responsible for your data and configuration. Some plans include copies and others charge for them or leave them to you; check the contract for what is copied, how long it is kept and how a restore is requested.
How often should I test a restore?
On a fixed schedule you can actually keep, and always after a big change such as a version upgrade or a migration. Critical systems deserve more frequent tests than secondary ones. What does not work is testing once at installation and never again.