Recovery & testing · 4 min read

How to Run a File Restore Drill

Run a file restore drill by backing up a safe test document twice, before and after a known edit. Restore both versions into separate empty folders. Compare each against its reference and open it in the application people actually use. A matching file name or a successful job notification is not a pass.

Prepare a safe test environment

Use a non-sensitive file and a dedicated test folder within an approved backup policy. Keep an untouched reference copy outside that folder. Confirm that the account running the test has permission to restore files, and create an empty destination that cannot overwrite production information. Inform the backup administrator so the exercise is not mistaken for an unexpected data change.

If the business is responding to suspected ransomware, do not perform an ordinary restore into an affected machine. Use a clean recovery environment and follow the incident response plan. The CISA’s ransomware guide recommends testing backup availability and integrity.

Exercise two saved versions

  1. Create a test document with recognizable contents and keep an independent reference copy.
  2. Record its SHA-256 hash and place a copy in the protected test folder.
  3. Complete a backup and record the saved point and job result.
  4. Edit the protected document, save it and complete a second backup.
  5. Choose the earlier saved point and recover the document into the empty destination.
  6. Compare the restored file with the independent reference; open it in its normal application.
  7. Recover the newer version into a different location and confirm the edit is present.

Do not rely on the filename or size alone. An altered document can have the same length as its original.

Verify the contents with PowerShell

On Windows, replace these example paths with your actual test locations:

$ErrorActionPreference = 'Stop'
$original = Get-FileHash -LiteralPath 'C:\BackupDrill\Reference\sample.txt' -Algorithm SHA256
$restored = Get-FileHash -LiteralPath 'C:\BackupDrill\Restored\sample.txt' -Algorithm SHA256
$original.Hash -eq $restored.Hash

Microsoft documents this command in its Get-FileHash reference. A result of True indicates matching hashes. On a Mac, the shasum -a 256 command can be used on both files. Matching hashes are strong evidence of content equality; they do not prove that permissions, timestamps or every other file were recovered correctly.

Record results that another person can reproduce

Test item Example acceptance criterion
Earlier version Hash matches original reference
Later version Expected edit appears
Destination Production copy remains unchanged
Usability Document opens without an error
Permissions Restore is performed by authorized staff
Timing Start and finish times are recorded

A useful test report includes the device, agent version, saved-point timestamps, dataset size, destination and any errors. Do not store confidential file contents or access tokens in the report. If an acceptance criterion fails, assign an owner, investigate and repeat the same test before declaring success.

Expand beyond the first file

Once the version drill passes, restore a nested folder containing different file types and check counts, relative paths and selected content hashes. Test a realistic critical dataset on a spare device. Include the person who normally uses the files, because technical integrity and business usability are different measures. A database export should also be imported into an appropriate isolated test application rather than merely opened as a file.

Hostifyr recovery exercise

The Hostifyr recovery review describes an internal test using two versions and recovery into another directory. The documentation provides a starting point for following the current restore procedure. Use the same general test design with your own sample files; your results should be logged separately from the vendor's published test.

A pass or fail note you can reuse

Record one line per restored version: source computer | expected saved point and time zone | selected point | destination | hash match? | opened? | pass/fail | owner. Keep a second untouched reference of the edited file if you want to hash-check that version as well. If the earlier point is missing, record an unmet test; do not silently substitute the latest point.

Frequently asked questions

Can a restore drill overwrite live files? Avoid that risk by using an empty, separate destination and checking the path before confirming recovery.

Does one matching hash validate every backup? No. It verifies the tested file only.

What if the earlier version is unavailable? Confirm the selected device, folder, saved point, retention and job result, then escalate to the administrator before making changes to the source.

References

Put your backup plan to the test.

Set up Hostifyr on a Windows or Mac computer and verify a restore with a sample file.

Follow the setup guideView pricing

Keep reading

Informational · 4 min read

Recovery Test Results: Hostifyr

See what Hostifyr reported in its internal 1.5.1 file restore test, including earlier-version integrity and permission checks, and what it did not measure.