A backup is a second, independent copy of your data that you can restore from when the original is gone: the disk dies, the phone falls into water, someone deletes the wrong folder or ransomware encrypts your files. Everyone knows they should have one. Few people do it well.
In short
- A backup only helps if it lives somewhere else and survives whatever destroys the original.
- Sync (Dropbox, OneDrive, Google Drive) is not a backup - deleting a file deletes it everywhere.
- A backup nobody has ever restored from is only the hope of a backup.
The spare key under the doormat
A spare house key is a good idea. A spare key under the doormat - less so. If you lose your keys on a walk, it works. But if someone breaks the door down or the flat floods, that key is no use, because it sits right next to the problem.
Data works the same way. A copy of your photos on the same disk protects you from deleting a file by accident, but not from the disk failing. A copy on an external drive lying next to your laptop will not survive a burglary or a fire. So what matters is not just whether you have a copy, but where it is.
The 3-2-1 rule
A simple rule system administrators have sworn by for years:
- 3 copies of your data - the original and two backups,
- 2 different media - say, your computer's disk and an external drive or the cloud,
- 1 copy off-site - in the cloud, or with someone you trust.
Sounds like overkill? It takes one incident, such as ransomware that encrypts both your computer and the backup drive plugged into it. That is when the third copy, the one far away, saves you.
Sync is not a backup
A cloud drive that syncs a folder between your laptop and your phone is very handy. But it does exactly what it promises: keeps the same state everywhere. Delete a file on the laptop and it disappears from the cloud too. Ransomware encrypts your files, and the encrypted versions sync.
What can save you is the version history and recycle bin most of these services keep for a while (usually a few weeks). Find out exactly how long before you need it. A real backup, on the other hand, keeps versions from the past: yesterday's, last week's, last month's.
Backing up a website
A website is usually two things: files (theme, plugins, images) and a database (content, settings, users). Files without the database will not bring back a WordPress site, for example. And Git protects your code, but not the database or uploaded images.
Most hosting companies back up automatically, but check:
- how long they keep the backups (a week? a month?),
- whether you can download them yourself, not just ask for a restore,
- whether the backups live in a different data centre from the server.
Before any bigger change, such as an update or a site migration, make your own backup and download it to your computer. A few minutes that can save you a few days.
Data in your browser
More and more apps keep data only in your browser, with no account and no server. Great for privacy - but clearing your browser data wipes it without a trace. That is why such apps let you save your work to a file: in Charts, for example, you can save a chart as a file and open it later on any computer. That file is a backup too.
Test that it works
The worst moment to discover that a backup is empty, incomplete or locked with a password nobody remembers is during the disaster. Every now and then, restore one folder from your backup, or bring your site up from a backup on a test server. In other words: do not ask whether you have a backup - check that you can come back from it.
When it matters to you
- You have photos, documents or work you could not recreate - so, always 🙂
- You run a website or a shop - a copy of the files and the database, stored away from the server, is the absolute basic.
- You run a business - backups of customer data are personal data too, so they should be encrypted and protected like the original.
Related terms
cloud, server, website migration, ransomware, file size.