All apps/Snaplet

Snaplet

snaplet

Create and share PostgreSQL snapshots with data transformation.

Runs as snaplet|macOS, Linux, Windows|docs.snaplet.dev

Command form

ai-draft · 2 tasks · 12 fields

Capture and restore PostgreSQL snapshots.

Opens the form; the finished command lands at your prompt, unrun
otty gui snaplet

snaplet snapshot capture

Capture snapshot

Capture a new snapshot.

Capture snapshotExample values, fixed in this page — nothing here reaches a terminal
Basic
Message
string
Tags
string
Environment
string
TasksEach one presets the form for one job
Capture
messagetagsenv
ParametersOnly these flags are editable in the form
Destination path
path · positional 0
Message
string
--message-m
Tags
string
--tags
Transform mode
string
--transform-mode-tstrictunsafeauto
Environment
string
--environment--envcloudlocal
Subset config
path
--subset-path--subset

snaplet snapshot restore

Restore snapshot

Restore a snapshot into the current database.

Restore snapshotExample values, fixed in this page — nothing here reaches a terminal
Basic
Snapshot name
string
Latest snapshot
--latest
Schema only
--schema-only
Data only
--data-only
TasksEach one presets the form for one job
Restore
namelatestschema_onlydata_only
ParametersOnly these flags are editable in the form
Snapshot name
string · positional 0
Latest snapshot
boolean
--latest
Skip confirmation
boolean
--yes-y
Schema only
boolean
--schema-only
Data only
boolean
--data-only
Filter by tags
string
--tags
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed snaplet against its version. A form that does not match your version is not offered.