envshed snapshot
Manage environment snapshots for point-in-time recovery.
Subcommands
| Subcommand | Description |
|---|---|
create | Create a snapshot of the current environment |
list | List snapshots for an environment |
restore | Restore an environment from a snapshot |
snapshot create
Create a point-in-time snapshot of all secrets in the current environment.
envshed snapshot create [options]
Options
| Flag | Description |
|---|---|
-n, --name <name> | Optional human-friendly name for the snapshot |
-d, --desc <description> | Optional description |
-o, --org <slug> | Organization slug |
-p, --project <slug> | Project slug |
-e, --env <slug> | Environment slug |
Example
$ envshed snapshot create --name "Before v2.1 deploy"
my-org / my-project / production
✔ Snapshot created: a1b2c3d4-... (Before v2.1 deploy)
snapshot list
List all snapshots for the current environment.
envshed snapshot list [options]
Options
| Flag | Description |
|---|---|
-o, --org <slug> | Organization slug |
-p, --project <slug> | Project slug |
-e, --env <slug> | Environment slug |
Example
$ envshed snapshot list
my-org / my-project / production
ID Name Created
--------------------------------------------------------------------------------
a1b2c3d4-e5f6-... Before v2.1 deploy 2/19/2026, 11:00 AM
b2c3d4e5-f6a7-... — 2/18/2026, 3:00 PM
snapshot restore
Restore all secrets in the environment to the state captured in a snapshot.
envshed snapshot restore <snapshot-id> [options]
Arguments
| Argument | Description |
|---|---|
snapshot-id | The UUID of the snapshot to restore from |
Options
| Flag | Description |
|---|---|
-o, --org <slug> | Organization slug |
-p, --project <slug> | Project slug |
-e, --env <slug> | Environment slug |
Example
$ envshed snapshot restore a1b2c3d4-e5f6-...
my-org / my-project / production
✔ Restored from snapshot a1b2c3d4-...
See Also
- Environment Snapshots — Feature overview
envshed versions— View version history for individual secrets