mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
---
|
|
title: "Point-in-Time Recovery"
|
|
description: "How to rollback secrets and configs to any commit with Infisical."
|
|
---
|
|
|
|
Point-in-time recovery allows environment variables to be rolled back to any point in time. It's powered by snapshots that get captured after mutations to environment variables.
|
|
|
|
## Commits
|
|
|
|
Similar to Git, a commit in Infisical is a snapshot of your project's secrets at a specific point in time. You can browse and view your project's snapshots via the "Point-in-Time Recovery" sidebar.
|
|
|
|

|
|

|
|
|
|
## Rolling back
|
|
|
|
Environment variables can be rolled back to any point in time via the "Rollback to this snapshot" button.
|
|
|
|

|
|
|
|
<Note>
|
|
Rolling back environment variables to a past snapshot creates a new commit and
|
|
snapshot at the top of the stack and updates secret versions.
|
|
</Note>
|
|
|
|
## Folders
|
|
|
|
Any folder operation, such as creating, updating, or deleting a folder, will create a new commit.
|
|
|
|
When you roll back the contents of a folder, the folder will be restored to its latest snapshot. The nested folders will also be restored to their respective latest versions.
|