docs/documentation/platform/pit-recovery.mdx
Infisical's point-in-time recovery functionality allows secrets to be rolled back to any point in time for any given folder or environment.
The short video below walks through secret versioning and point-in-time recovery, covering how Infisical keeps a history of every secret change and how to roll back to a previous state.
<div style={{ position: "relative", paddingBottom: "56.25%", height: 0, overflow: "hidden", maxWidth: "100%" }}> <iframe src="https://www.youtube.com/embed/tWVQcx4XiAA" title="YouTube video player" style={{ position: "absolute", top: 0, left: 0, width: "100%", height: "100%", border: 0 }} allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen ></iframe> </div>Similar to Git, a commit in Infisical represents a snapshot of changes made to your project's resources at a specific point in time. Each commit is scoped to an environment and folder within it. Unlike the legacy snapshot system, the new commits interface provides granular tracking of individual changes, allowing you to see exactly what was modified, added, or removed in each commit.
From your secrets management interface, you can access the commits functionality by clicking the Commits Button. This button is located in the top-right area of your secrets view and shows the number of commits for the current folder (e.g., "4 Commits").
The commits page displays a comprehensive chronological history of all changes made to your environment and folders:
Clicking on any commit from the list opens a detailed view showing the list of changes made in that commit.
The commit changes details can be grouped into the following categories:
Folder Changes
Secret Changes
Visual Indicators
Each commit provides two distinct restoration methods accessible via the Restore Options dropdown:
This option provides surgical precision for undoing specific modifications:
This option performs a complete restoration to the selected point in time:
Warning: This operation will undo all modifications made after the selected commit, which may include multiple secrets and configuration changes.