Skip to main content

envshed snapshot

Manage environment snapshots for point-in-time recovery.

Subcommands

SubcommandDescription
createCreate a snapshot of the current environment
listList snapshots for an environment
restoreRestore 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

FlagDescription
-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

FlagDescription
-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

ArgumentDescription
snapshot-idThe UUID of the snapshot to restore from

Options

FlagDescription
-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