Use the oakcli create snapshotdb command to create a snapshot database from an existing database.
Syntax
oakcli create snapshotdb [-db snap_dbname -from dbname] | [-h]
Parameters
| Parameter | Description |
|---|---|
|
|
Name of the snapshot database to be created |
|
|
Name of the source database |
|
|
(Optional) Display help for using the command |
Example
Create a new snapshot database, name snapprod, from the database named prod:
oakcli create snapshotdb -db snapprod -from prod