Backups

How to Run a Website Restore Drill

Published 2026-11-29 · Updated 2026-11-29 · 9 min read · Sora Panel team

Restore an identified snapshot to an isolated target, bring up a matching database and application, and verify a real user journey. Record timing and missing dependencies; a successful download or a green backup job is not proof that the site is recoverable.

Choose a representative snapshot, restore it to an isolated environment, and verify the application against agreed data and user-journey checks. A completed backup job is evidence that a job ran; it does not establish that credentials, files, database, dependencies and people can restore service together. Keep the exercise away from live production destinations.

Illustration: an isolated website recovery drill
Illustration, not a product screenshot.

Define the incident and the finish line

Write down the scenario before touching the repository. One drill might assume that the original server and its local credentials are gone; another might simulate a corrupt database while the host remains available. The first tests account recovery, configuration and infrastructure provisioning as well as data restoration. The second can isolate a narrower process, but must not be reported as proof of full server-loss recovery.

Agree who authorizes the test, who operates it and who observes the result. Define the start event, such as the declaration of the simulated incident, and the end event: an independent check that the restored application can complete its selected safe workflow. NIST's contingency-planning guide, viewed 29 November 2026, frames recovery as a planned organizational process rather than a file-copy operation. Compare the result with your approved objectives, and disclose any time excluded from the exercise.

List the application, hostname, snapshot identifier, production data classifications, agreed test environment and people allowed to access it. Decide whether to use synthetic data or a protected copy of real data; the latter needs appropriate privacy controls and disposal rules. Do not publish database dumps, secret values or sensitive screenshots as proof of success.

Prepare an isolated destination and credentials

Provision a separate test machine or environment with adequate storage for restored data, database import and temporary files. Restrict its network access, avoid public DNS changes and use a separate hostname. Disable or redirect mail, payment integrations, webhooks, scheduled tasks and queue consumers so a restored configuration cannot contact real customers or execute production work. Check isolation before the application starts, not after the first message is sent.

Obtain the repository location, authorized storage credentials and encryption password through the independent custody process. Restic's repository guidance, viewed 29 November 2026, distinguishes the repository password from backend access. If retrieval depends on the failed machine, record that as a failure of the full-loss scenario instead of silently substituting its saved credentials.

Record the operating system, database and application versions, expected extensions, web-server configuration and dependency sources. The restored machine need not duplicate production perfectly if differences are deliberate and disclosed; however, a pass on an incompatible stack is not a valid demonstration of the intended recovery procedure. Check that the target clock and the observer's timer are usable before starting.

CheckpointActionPass evidence
ScopeIdentify service and failure scenarioOwner-approved runbook
IsolationBlock production integrationsMail, payments and jobs cannot reach real endpoints
AccessRetrieve storage and repository credentials independentlyAuthorized operator opens intended repository
SelectionRecord snapshot ID, host, path and timeSnapshot matches application and recovery point
FilesRestore into empty test targetRequired uploads and configuration exist
DatabaseImport matching consistent backupImport succeeds and checks pass
ApplicationRun safe representative journeyExpected read and authorized test write work
SecurityCheck permissions and test accessOnly approved users can reach the restored system
TimingRecord start and each milestoneElapsed interval includes declared boundaries
ClosureRecord failures and remove test data safelyOwner and due date for each correction

Select and restore the right recovery point

List snapshots and choose one by host, paths, tags and timestamp; record its full identifier. In a shared repository, the globally latest snapshot may be from an unrelated host or backup set. The restic repository guide explains snapshot listing and filters. Inspect the selected paths before downloading so the team can identify omitted configuration, uploads or database exports early.

The restic restore guide shows restoring a specified snapshot to a target directory. Restore to an empty, verified test directory; the default behavior can overwrite existing files. Its path filter selects a snapshot and does not itself restrict which files are restored, so use the documented include or exclude mechanism when a partial restore is intended. Never use a destructive delete option against an unverified target.

Pair the files with a database backup whose recovery point is appropriate for them. A database dump may be internally consistent while still representing a different moment from uploaded files or an external object store. Note the actual timestamps and explain the potential inconsistency, especially for records that refer to files created during backup. A green import cannot establish cross-system consistency by itself.

For a PostgreSQL example, its SQL dump documentation, viewed 29 November 2026, explains that a plain SQL dump is loaded into a prepared database and that errors can otherwise leave a partial restore. Use the correct tool for the dump format, verify roles and extensions, and stop on errors according to the approved database runbook. Do not run an import against the live production database as a shortcut.

Estimate transfer, then measure recovery

Network capacity is only one component of restore time. The chart computes a theoretical lower-bound transfer interval for 100 decimal GB, or 100 billion bytes, at sustained rates of 100 Mbps, 1 Gbps and 10 Gbps. Multiply bytes by eight to obtain bits, then divide by bits per second; 100 Mbps therefore needs 8,000 seconds, or two hours, 13 minutes and 20 seconds.

Ideal transfer time for 100 GB

Calculated from decimal bytes and sustained decimal bit rates; transfer only

  • 100 Mbps
    2h 13m 20s
  • 1 Gbps
    13m 20s
  • 10 Gbps
    1m 20s
Arithmetic illustration, not a provider or product measurement. 100 GB = 100 billion bytes; 1 byte = 8 bits; Mbps and Gbps are decimal. Ignores overhead and all recovery work beyond transfer. Source: restic backup documentation: processed and transferred data differ, viewed 2026-11-29.
View chart data
ItemsecondsNote
100 Mbps2h 13m 20s
1 Gbps13m 20s
10 Gbps1m 20s

These figures assume a perfectly sustained rate with no protocol overhead, contention, throttling, retries, decryption, disk limits or startup delay. They do not predict the speed of a provider, tool or actual connection. The bytes downloaded by a deduplicating backup may differ from the restored logical file size. Restic's backup documentation distinguishes processed data from transferred data, so measure the selected restore rather than assuming those quantities match.

Capture timestamps for authorization, credential retrieval, provisioning, repository access, transfer, database import, application startup and independent verification. State whether the clock includes incident detection and human response. Log failures and waiting periods as they occur; if a restore is retried, retain the failed attempt as part of the record rather than reporting only the successful retry.

Verify the application and its data

Start the application with test-specific secrets and limited network access. Check expected files, ownership and permissions, and verify that the database contains representative records from the intended recovery point. Perform a harmless read and, if the scenario permits, a test write followed by a read-back. A running process or HTTP status alone cannot establish that a user can complete the workflow.

Check any required background workers, scheduled operations and integrations against stubs or isolated test accounts. Confirm that disabled integrations remained disabled, and document components omitted from the drill. A service that starts only after a manual configuration edit is not necessarily a failure, but that edit belongs in the runbook and its time belongs inside the declared boundary.

Compare the newest confirmed restorable data with the simulated incident time to report the observed data-age gap. Compare elapsed recovery time with the agreed target, distinguishing the goal from the outcome. If a backup is missing a required database or credential, mark the exercise failed even if the parts that were present restored successfully.

Close the loop and repeat

Publish a redacted record containing scenario, snapshot ID and age, environment differences, operator and observer, milestones, checks, failures and measured duration. Assign each corrective action an owner and a date, then repeat the affected step or complete drill after the fix. Review the backup schedule when the observed recovery point is too old; review provisioning, network and database procedures when the recovery duration is too long.

Dispose of the isolated environment and restored data according to the owner's data-handling policy, and revoke temporary access. Ensure cleanup targets are unambiguously identified and never delete production resources. A drill should increase confidence because its evidence is reproducible, not because an optimistic estimate met an arbitrary target.

For a concrete dry run, first set the intended repository through your approved configuration and verify its identity with restic snapshots. On a disposable target, use the documented restic restore --target /tmp/restore --dry-run --verbose=2 SNAPSHOT_ID after replacing the snapshot identifier. A dry run previews file actions; it does not download and validate the complete application, so follow it with the authorized real restore into a confirmed empty test target. Check free space and prevent other users from accessing restored customer data.

For password custody, see encrypted offsite backup key ownership; for snapshot lifetimes, see backup retention trade-offs. Sora Panel is not released yet; read how it works.

Frequently asked questions

Is a successful backup job a successful restore test?

No. It does not show that a separate operator can obtain credentials, restore the right data and run the application.

Should a drill use real production data?

Use synthetic data when it can answer the question. If real data is necessary, obtain authorization and apply equivalent privacy and access controls.

Why might 100 GB take longer than the chart suggests?

Real throughput varies, and transfer competes with protocol, disk, decryption and provider constraints. Provisioning, database import and verification also take time.

Can database and file backups have different timestamps?

Yes, and that difference can produce missing files or inconsistent references. Document and test the application's consistency strategy.

Sources

Sora Panel is not released yet. Read how it works on the homepage.