Is Your Server Backup at the Same Provider? Find the Gap with the 3-2-1 Rule — post content
The 3-2-1 backup rule for servers says: keep three copies of your data, on two different types of storage, with at least one copy somewhere completely separate from your server and your hosting provider. If all your backups sit on the same machine or with the same provider, you are breaking the rule, because whatever takes the server down takes the backups with it.
To keep this concrete, here is my own setup: more than a hundred domains run on a single server, and I audited its security, backup and monitoring with an AI assistant. Most of the thirty-plus items closed automatically. Only three were left, and none of them were technical problems. They were questions of identity, trust and permission. This article walks through those three so you can apply them to your own server or hosting account.
The 3-2-1 rule in short: three copies, two media, one off-site
The rule is simple, but it is often applied badly. CISA's business backup guidance recommends three copies of important files on two kinds of storage (source: CISA, back up business data). The off-site copy is insurance against local events such as a fire, a flood or a failure in the server room.
- 3 copies: the live data plus at least two backups.
- 2 media: for example the server disk and cloud object storage, not two folders on the same disk.
- 1 off-site copy: in a different account and a different place than your server and its provider.
Most people who say “I have backups” really have one backup repository. Mine was like that too: encrypted backups with restic, the database every six hours, a full backup every night, and a restore test every week. Still, the only off-server repository was with the same provider as the server. On paper there was a backup; by 3-2-1 standards it was incomplete.
The second backup repository: an encrypted copy at another provider
An S3-compatible object store works well for the second copy. Cloudflare R2 is one option: you can point existing S3 tools at it just by changing the endpoint (source: Cloudflare R2 S3 API docs). Prices change, so I am not quoting any; check the current pricing page before you choose.
Tools like restic encrypt the backup before it is written to the repository. According to the official design document, data is encrypted with AES-256 and authenticated with Poly1305-AES, so the storage provider cannot read your backup. But if you lose the password, you lose the backup: keep it somewhere independent of the server, such as a password manager and a printed emergency note.
Two traps appear at this step:
- You have to open the account yourself. A cloud account, a payment method and access keys are tied to your identity. Automation can prepare the configuration, but it should not open an account in your name. What is left after the preparation is the account ID, the access key and the secret key.
- Your own firewall can stop your own backup. If you set up a guard that limits bulk data leaving the server (I capped bulk transfer to a single address at 1 GB), the new repository must be added to the allow list, or your shield will cut off your own backup. When you add a new destination, update the allow list first.
An unencrypted backup is a data leak on its own
The most uncomfortable finding in the audit was this: one copy of the backups was going to an unencrypted cloud drive, and it contained contact form submissions. However well the live site was protected, that copy was an open archive of names, emails and phone numbers.
Personal data stays personal data inside a backup. Article 12 of Turkey's Personal Data Protection Law (KVKK, Law No. 6698) obliges the data controller to take appropriate technical and administrative measures against unauthorized access (source: KVKK, data security obligations, in Turkish). An unencrypted backup is one of the clearest gaps in those measures.
An easy check: for every place your backup goes, ask “can it be opened without a password?” If yes, encrypt that copy or delete it.
If the server goes down, who sounds the alarm?
My server runs dozens of watchers: a site check every five minutes, certificate expiry, disk usage, the mail queue, suspicious logins. But all of them sent email from the server itself. When the server dies completely, the thing that would send the alarm is dead too. A night watchman who cannot report his own death is no watchman at all.
The fix is a monitor that looks from the outside:
- External uptime monitoring: a service on a different network that checks your site and alerts you when it stops answering. Several have free tiers; pick what fits your needs.
- A Telegram bot: you can create a bot and get a token through BotFather in a few minutes. The alert lands on your phone instead of in an inbox you might not open at 2 a.m.
- Certificate and domain expiry: monitor these from outside too, since an expired SSL certificate shows visitors a browser warning.
After you set up the alert channel, test it: make the monitor treat your server as down and confirm the message really reaches your phone.
A backup you have never restored is only an assumption
Taking a backup is easy; the real question is whether you can go back. If you have never restored a backup, you do not know it works, you assume it does. Files may be missing, the database dump may be corrupt, or email settings may not have been included.
If you use cPanel, here is a simple test plan:
- Restore a sample account's backup into a temporary, separate account. Do not overwrite the live account.
- Open the site, log in to the admin panel, submit a form, and check the latest database records and the email accounts.
- Once it works, delete the temporary account and note how long the restore took. That is your answer to “how long would a real outage last?”
The restore puts a light load on the server, so run it at a quiet hour. I also thought it was right that the automation did not start this without asking me.
The limit of automation: it knocks, it does not break the door
The lesson from this audit: good automation does most of the work, then knocks on the door for the rest and does not break it down. Opening an account, handing over an access key, approving an action that is hard to undo are matters of authority, not technical skill.
On my server, critical actions like creating, deleting or restoring accounts do not go through without a one-time code from my phone. If you give an AI assistant or a script broad permissions, add a second approval step so the final word on irreversible actions stays with you.
A five-question backup checklist
If you cannot answer yes to all of these, you have found your gap:
- Are your backups with two different providers? Another server at the same company does not count.
- Are they encrypted, and is the password stored off the server?
- When did you last test a restore? If the answer is “never,” do it this week.
- If the server goes down, does the alarm come from outside? Have you tested that it reaches your phone?
- Do irreversible actions ask for a second approval?
Frequently asked questions
What is the 3-2-1 backup rule?
Keep three copies of your data, store them on two different kinds of storage, and keep one copy in a different location. The goal is to stop a single failure from destroying both the data and its backup.
Is my hosting company's backup enough?
Not on its own. A provider's backup usually lives on the same infrastructure, and its scope and retention are not under your control. An independent copy elsewhere is safer.
How often should I test a restore?
There is no fixed number; the more often your site changes and the costlier a loss would be, the more often you should test. If you have never tried, do it once now, then put it on a schedule.
Do backup files fall under data protection law?
If they contain personal data, yes. Form submissions, customer records and email lists are personal data inside a backup too and need the same security measures.
In short
Count a backup as real only when it exists at two providers, is encrypted and has been restored at least once; make sure the alarm comes from outside the server, and keep the last word on irreversible actions for yourself.