snaplet snapshot restore [snapshot-name]
Restore a snapshot
Arguments
Name | Description |
---|---|
snapshot-name |
Options
Name | Description |
---|---|
data, --no-data | Restore data on the database (skip with --no-data) |
schema, --no-schema | Restore schema on the database (skip with --no-schema) |
reset, --no-reset | Drop destination database before restoring schemas (skip with --no-reset) |
--tags <tags-list> | Filter snapshots by tags |
--latest | Restore the latest snapshot |
-y, --yes | Performs a restore without a confirmation message |
--schema-only | Skip data, only restore schema |
--data-only | Restore data only (keep the current schema and indexes) |