Rollback is a recovery action that returns data, configuration, or a system to an earlier known-good state after an error, failed change, or security incident. In practice, this may use database transaction logs, filesystem snapshots, backups, or version-controlled configuration to undo destructive changes.
In cyber security, rollback matters because prevention is not always enough. Attackers can delete data, corrupt settings, or encrypt systems, and defenders need a fast way to restore trusted state. Rollback is common in incident response after accidental deletions, bad deployments, malware damage, or unsafe automation. It is not a perfect undo button: restoration depends on backup quality, logging, retention, and how much new data was written after the failure. Well-designed defenses pair rollback with least privilege, immutable backups, and audit trails so recovery is possible without giving tools unrestricted control over production systems.


