posts
After 15+ years of running servers I know a backup is only worth something if I can restore data from it. Here is a summary of what I set up and check at companies.
Why back up
Data disappears because of a failed disk, an accidental delete, a bad update, a stolen laptop or ransomware. Without a backup a company loses work, money and customer trust. With a working backup it is an outage, not a disaster.
What a backup does not solve
Many ransomware crews also steal data before encrypting it. Then they extort twice (double extortion): for decryption and for not publishing the data. A backup restores data but does not stop a leak. MFA, patching and least privilege reduce the risk of theft; backups handle recovery.
The 3-2-1-1-0 rule
- 3 copies of the data: the original and two backups.
- 2 different storage types: one failure does not destroy everything.
- 1 copy off-site: it survives a fire, a burglary or a flood.
- 1 copy offline or protected against deletion: a disconnected disk or storage that protects backups for a defined period.
- 0 errors: the restore is verified by a test.
Full, incremental, differential?
This split comes from the tape era. Modern tools (Restic, BorgBackup) make deduplicated snapshots: restore points that store only changed data. A backup runs as fast as an incremental one and restores like a full one. I restore any snapshot in one step.
Tools
| Tool | What for | Remote target |
|---|---|---|
| Restic | servers and workstations, encryption, deduplication | S3, Azure, GCS and SFTP directly |
| BorgBackup | Linux servers, encryption, deduplication | SSH server (e.g. BorgBase, Hetzner Storage Box, your own server) |
| Duplicati | Windows workstations, web interface | S3, Azure, GCS and more directly |
| rdiff-backup | mirror with change history | SSH |
BorgBackup 1.x cannot write to S3. It needs an SSH server, or you move the repository to S3 in an extra step with rclone.
Where to store backups
- Locally (NAS, backup server): fastest restore, but it shares the risk with the original.
- Off-site (second location, cloud, a provider’s storage): it survives a disaster at the building.
- Offline or immutable: keep one copy disconnected or protected against deletion for a defined period. Check which accounts can change or bypass that protection. Keep credentials that allow backup deletion off the computers being backed up. Online storage is not physically disconnected.
The backup server belongs outside the company Windows domain (Active Directory), with its own accounts and MFA, and with management access only from a dedicated network. If an attacker gets domain admin, that alone does not give them the backups.
Retention
Keep several versions, not just the latest. Ransomware or data corruption is often found only after days. A sensible starting point is, for example, 14 daily, 8 weekly and 12 monthly snapshots. The law requires a company to keep some data longer, so I set retention by data type.
Restore tests
A backup nobody has tried to restore is just a good feeling without proof.
- Regularly (for example quarterly) restore selected files and a whole server to a test environment.
- Measure how long the restore takes and write the result down.
- Watch that backups actually run: monitoring and alerts on failure.
Disaster recovery plan (DRP)
The plan rests on two numbers:
- RPO: how much data you can afford to lose. It sets how often to back up.
- RTO: how long you can be down. It sets where and how to back up.
The plan contains a list of critical systems and the restore order, a step-by-step procedure, contacts and responsibilities, and the place where the backup credentials are. These credentials must not live only on the systems you are restoring.
GDPR and NIS2
GDPR (Art. 32(1)(c)) requires the ability to restore the availability of and access to personal data in a timely manner. It does not prescribe a specific type of backup. A tested backup helps meet this requirement if it enables availability of and access to personal data to be restored within a time appropriate to the risks.
Since 1 November 2025 the Czech Act No. 264/2025 Sb. on cybersecurity has been in force. It transposes the NIS2 directive. Most small firms do not fall under it directly, but as suppliers to regulated firms they can get its requirements in their contracts. To check whether the act applies to you directly, use the self-identification (samoidentifikace) on the NÚKIB portal. This is general information, not legal advice.
How I do it
I do not offer off-site backups as a standalone service. I do them only as part of the server management I handle for a client: encrypted, with an immutable copy and with regular restore tests.
Looking for server management, backups included? Write to me.