psm dbcs create-snapshot
Creates a snapshot of the storage volumes of an Oracle Database Classic Cloud Service instance hosting a single-instance database.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm dbcs create-snapshot
-s|--service-name instance-name
-n|--snapshot-name snapshot-name
[-d|--description description]
[-of|--output-format json|html|short]
Parameters
Parameter | Description |
---|---|
|
Specifies the name of the Database Classic Cloud Service instance you want to make a storage snapshot of. |
|
Specifies the name of the storage snapshot to create. |
|
(Optional) Specifies a description for the storage snapshot. |
|
(Optional) Specifies the output format of the command’s response:
The default output format is the one you specified when using the |
Examples
The following example creates the snapshot4patchtest
storage snapshot of the db121-ep-si
Database Classic Cloud
Service instance.
$ psm dbcs create-snapshot --service-name db121-ep-si \
--snapshot-name snapshot4patchtest \
--description "Snapshot to test application of PSU patch"