snaplet snapshot restore [snapshot-name]

Restore a snapshot

Arguments

NameDescription
snapshot-name

Options

NameDescription
data, --no-dataRestore data on the database (skip with --no-data)
schema, --no-schemaRestore schema on the database (skip with --no-schema)
reset, --no-resetDrop destination database before restoring schemas (skip with --no-reset)
--tags <tags-list>Filter snapshots by tags
--latestRestore the latest snapshot
-y, --yesPerforms a restore without a confirmation message
--schema-onlySkip data, only restore schema
--data-onlyRestore data only (keep the current schema and indexes)