Who can restore a backup? Separating recovery from administration
Who can restore a backup? Separating recovery from administration The ability to restore a backup is not a routine administrative permission. It can replace production data, reintroduce a vulnerability, recreate a dele
Who can restore a backup? Separating recovery from administration
The ability to restore a backup is not a routine administrative permission. It can replace production data, reintroduce a vulnerability, recreate a deleted account, or overwrite a containment decision made during an incident. The restore role therefore needs a stronger review than the role that creates a backup or reads a backup catalog.
NIST SP 800-34 describes contingency planning as a process that includes preventive controls, recovery strategies, testing, training, and plan maintenance. It treats recovery to a known secure state as more than copying files back into place. System parameters, patches, configuration, and documentation all matter. [1]
Split the responsibilities
At minimum, separate four actions: create a backup, read a backup, delete or expire a backup, and restore a backup. Reading a backup can expose secrets or personal data. Deleting one can destroy the recovery window. Restoring one can change live state. A user who can perform all four without a second actor has an unusually broad path from evidence destruction to production overwrite.
Use dedicated roles with explicit scope. A backup operator may create jobs and monitor failures. A restore approver may approve a plan but not execute it. A restore executor may run the approved plan for a named environment and time window. The approver and executor may be the same person only when a documented emergency procedure makes that acceptable and produces an after-the-fact review.
Require a recovery plan
A restore request should identify the backup, the target environment, the data owner, the expected point in time, and the reason. It should say what will happen to the current data. The plan should include a health check, a rollback or alternate recovery path, and a communication step for users or dependent teams.
NIST SP 800-34 describes recovery and reconstitution to a known secure state, including reinstalling security-critical patches and reestablishing security settings. [2] A restore that brings back an application but not its current TLS, identity, or network policy may create a weaker system than the one that failed. The plan should distinguish application data from infrastructure and security configuration.
Protect the catalog as well as the bytes
Backup catalogs reveal asset names, schedules, retention windows, and recovery points. A read-only catalog can be valuable to an attacker who wants to find the oldest or least-tested copy. Limit catalog access by environment and data classification. Log searches and exports as well as restore commands.
Keep the restore path independent from the production identity system where possible. If the production administrator account is compromised, the attacker should not automatically have the recovery keys. Use offline or out-of-band approval for the highest-impact restores. Store recovery credentials in a separate trust domain and test that the separation works during an incident.
Make immutability auditable
Immutable storage is useful, but the control should be verifiable. Record the retention period, the identity that set it, and whether any policy change was made during the window. A backup that can be deleted by a compromised administrator is a different asset from a backup under a separate retention authority. Test the restore of a sample object and compare its hash with the catalog.
Do not treat a successful restore as a complete test. Restore into an isolated environment, validate the application, check the access-control model, and confirm that the recovered data has the expected integrity. A database that starts but has broken indexes or an expired certificate is not a proven recovery.
Review the human path
The restore request may arrive during an outage, when pressure to skip checks is highest. Give the operator a short checklist that can be completed quickly. Require a second person for high-impact restores and provide a break-glass path with a paging record. Do not hide the emergency path; make it visible so it can be reviewed after use.
Audit the deleted and restored objects with content-free metadata. Record the backup ID, source and target environment, actor, approver, start and end time, validation result, and any exception. Avoid putting secrets or personal data in the ticket.
Backup teams often measure success by job completion. Recovery security needs a different measure: can the organization prove who authorized the restore, which known secure state was selected, and whether the restored system was rehardened before exposure?
References
[1] NIST, "SP 800-34 Rev. 1, Contingency Planning Guide for Federal Information Systems." https://csrc.nist.gov/pubs/sp/800/34/r1/upd1/final
[2] NIST, "Contingency Planning Guide for Federal Information Systems." https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-34r1.pdf
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.