Skip to content
Back to blog

Practical guides

Backup and Business Continuity for Small Systems

Reading time
10 min read
Published
Last updated
Backup and Business Continuity for Small Systems

What a small system needs to come back after an outage or a breach: a complete, consistent copy away from the failure, a restore you have tested, and a plan your team can follow.

A business that runs on one system needs three things to recover from a failure. The first is a copy of the database and files, captured at the same moment and stored away from the failure. The second is a restore you have actually tested. The third is a written plan for how the team works and communicates until the service is back. Backup keeps what you need to restore. Business continuity is how you operate, communicate and decide in the meantime.

You get a one-page inventory, a seven-step restore test, a roles table and a separate recovery path after a breach. We also show how we back up ClinicTek, the clinic management system we build and run, before every release. In August 2026 we changed one part of that process.

List everything recovery needs

Write down every component of the service. A database backup alone can bring back records without their documents, and encrypted files are useless without their key. Fill in this sheet:

Article data table: List everything recovery needs (1)
ComponentWhere it livesOwnerHow it is backed up or exportedLast successful restore
Database
Files and attachments
App configuration, secrets and encryption keys
DNS records and certificates
Scheduled jobs
Source code and architecture notes
External services: payments, invoicing, email, sign-in

DNS records point your domain name at your server. Keep passwords out of the sheet; record how authorised people get access and who approves it. Update the sheet whenever you add a provider or an integration.

Set RPO and RTO in business terms

The recovery point objective (RPO) is how much recent data the business can afford to lose, measured in time. With a nightly backup, a failure late in the day can cost almost a full day of changes. The recovery time objective (RTO) is how long the service, or a workable alternative, can be down.

Set both by asking what happens to today's appointments or orders if the system stops for two hours, or for a whole day. Components can have different targets: the marketing site can wait, while the schedule or work orders need a faster path. Write down the recovery order so the team knows what comes back first.

Keep three copies, on two media, one offsite

A 2012 US-CERT paper, now published by the US Cybersecurity and Infrastructure Security Agency (CISA), sets out the 3-2-1 rule. It means three copies of every important file (the original and two backups), on two different types of storage, with one copy offsite (CISA, Data Backup Options, 2012). CISA's ransomware guide adds offline, encrypted backups, because many ransomware variants look for reachable backups and delete or encrypt them (CISA #StopRansomware Guide, September 2023).

Store backups under an account or permission separate from the server's, so one compromised account cannot delete the live data and every copy. Where your provider offers it, turn on deletion protection or immutable storage. An immutable copy cannot be changed or deleted until a period you set has passed. A copy on the same server alone is not enough, because one disk failure takes both.

Capture the database and files at the same moment

Copying the files of a running database can produce a copy that will not restore. Use the database engine's own backup tool, and record the engine version and the restore procedure. Capture files at the same moment, so no record points to a missing attachment.

This is how we back up ClinicTek:

  1. Every release starts with a full backup, taken before any change to the database structure. If the backup or its verification fails, the release stops.
  2. The system goes into maintenance mode while the database and the non-public files, such as attachments, are captured, so nothing is written until the capture ends. Both go into one set.
  3. We seal the set with a checksum for every file (a fingerprint that exposes any change) and a marker showing the set is complete.
  4. We delete an old set only after the newest set passes full verification.

This guards against a release that fails halfway. It does not replace an offsite copy under the 3-2-1 rule above.

On 6 August 2026 we moved backups to a database role that can read every row. ClinicTek separates each clinic's data with row-level security rules in PostgreSQL, which decide the rows each account can see. Table owners normally bypass those rules. We force them on the owner too (FORCE ROW LEVEL SECURITY), so the backup needs a role that may bypass them (BYPASSRLS). The PostgreSQL documentation warns that row security could silently leave rows out of a backup. It describes a setting that makes the backup fail with an error instead (PostgreSQL: Row Security Policies, version 18, checked 4 November 2026). If your system isolates customer data this way, check that the backup role sees every row. Then compare row counts in a restored copy with production.

Run your first restore test

A backup you have never restored proves nothing. Run the first test like this:

  1. Pick a recent backup from the inventory and note its date.
  2. Create an environment isolated from the live system (production), and switch off real messages and payments in it.
  3. Restore the database and files from the same set.
  4. Compare record counts in the main tables with production at backup time, and open a sample of attachments.
  5. Sign in with an account for each role, such as manager and staff.
  6. Run your most important workflow end to end, for example booking an appointment and issuing its invoice.
  7. Time every step, note anything you had to ask someone, and add it to the runbook, the written recovery instructions described next.

ClinicTek's runbook sets out the restore. The backup goes into a separate test database, and a verification command runs on it. Quick checks follow: sign in to the platform admin and to a demo clinic, and open the schedule, the payment screen and the patient app. In a production incident, the runbook calls for a restore to a test copy of the system (staging) before anyone decides to restore the live system.

Write a runbook someone else can follow

The runbook answers these questions in order:

  • Who declares the incident and who leads recovery?
  • How does the team check the environment is safe before restoring?
  • Where are the backups, and how does an authorised person reach them without an absent colleague's account?
  • How is a replacement environment prepared, and in what order are components restored?
  • How is the result verified, and who approves reopening?

Give exact commands or links without embedding secrets, then ask someone who did not write it to run a rehearsal. Every question they have to ask the developer is a gap in the runbook. NIST's contingency planning guide, SP 800-34 Rev. 1 (updated November 2010) includes business impact analysis and plan templates you can start from.

Treat an outage and a breach differently

After an ordinary infrastructure failure, the newest backup is usually the right one. After a breach, recent backups may contain the attacker's changes, or the attacker may still have access.

Article data table: Treat an outage and a breach differently (2)
After an outageAfter a breach
Backup to restoreNewest healthy backupLast backup before the breach began, checked first
EnvironmentRepaired or newNew and clean
Passwords and keysUnchangedAll rotated before reopening
EvidenceIncident logLogs preserved before any change
Who approves reopeningIncident leadIncident lead, after a security specialist's review

CISA advises checking for malware before rebuilding from backups so the compromise does not come back with the data (CISA #StopRansomware Guide).

Prepare a controlled manual mode

Decide the minimum details staff can record while the system is down, which operations must wait, and how records go back in without duplicates. Give each manual record a temporary number from a series the system never uses, such as "MAN-0001". Write it on the receipt or in the message to the customer. On re-entry, link it to the new record so each one goes in exactly once. Keep the contact list, today's and tomorrow's appointments and communication instructions outside the system. Rehearse once with staff before you need it.

Assign roles in a small team

Article data table: Assign roles in a small team (3)
RoleResponsibilityNameDeputy
Incident leadDeclares the incident and approves reopening
Infrastructure operatorPrepares the environment and runs the restore
Data verifierCompares counts and runs the key workflow
Communication ownerUpdates staff and customers at fixed times
Backup deletion ownerDeletes old backups; a second person reviews

One person can hold several roles in a small company. Write the names down, and make sure emergency access does not depend on one device or one person's account. Every customer update states the known impact, the current workaround and the time of the next update; after recovery, tell customers which records need checking. Review the plan after any major change, incident or departure of a key person.

Monitor backups every day

Alert on a failed backup job, an overdue latest copy, an unusual size change and full storage. Send each alert to at least two people. Your backup report should show, for each component, the latest successful backup and the date and result of the latest restore test. A job that finishes without errors and writes an empty file still looks green.

Start this week

Fill in the inventory, run one restore test with the steps above, and put names in the roles table. If you rent your system as a subscription (SaaS), start with our SaaS data ownership checklist to see what you can export and restore yourself. If you inherited a system from another team and do not know where its backups are, read how to take over software from another vendor.

We review your inventory and backups and run the first restore test with you as part of our maintenance and support service. Send us a short description of your system and its hosting through the project brief.

Updated 4 November 2026: rewritten with examples from our own work and dated sources.

Frequently asked questions

The provider backs up its servers, but leaving the provider or restoring your data elsewhere needs an export you can open yourself. Ask for the export format, how long it takes and what it costs, and run a test export before you need one. In ClinicTek, a clinic that cancels receives a full export of its data within 7 business days. We then delete the data permanently.

Sources

Read our editorial policy

Building a custom system for your business?

After “Backup and Business Continuity for Small Systems”: tell us scope, users, and integrations — we reply with a practical plan after reviewing your request.