psm dhcs view-backup-config

List the backup configuration parameters of an Oracle Data Hub Cloud Service cluster.

Syntax

In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.

psm dhcs view-backup-config -s|--service-name cluster-name
	[-of|--output-format json|html|short]

Parameters

Parameter Description

-s|--service-name cluster-name

Specifies the name of the Oracle Data Hub Cloud Service cluster.

-of|--output-format short|json|html

(Optional) Specifies the output format of the command’s response:

  • short— output is formatted as a brief summary.

  • json— output is formatted as a JSON array.

  • html— output is formatted as HTML

The default output format is the one you specified when using the psm setup command to configure the psm CLI.

Examples

The following example lists the backup configuration of the cluster1 cluster.

$ psm dhcs view-backup-config --service-name cluster1
{
    "state":"ENABLED",
    "defaultRetention":"30 days",
    "fullBackupSchedule":{
        "second":"0",
        "minute":"45",
        "hour":"17",
        "dayOfMonth":"*",
        "month":"*",
        "dayOfWeek":"Thu",
        "year":"*"
    },
    "incrementalBackupSchedule":{
        "second":"0",
        "minute":"45",
        "hour":"17",
        "dayOfMonth":"*",
        "month":"*",
        "dayOfWeek":"Sun,Mon,Tue,Wed,Fri,Sat",
        "year":"*"
    },
    "scheduledBackups":"ALL",
    "extendedRestoreTypes":"NONE",
    "lastBackupDate":"2017-10-26T06:06:51.664+0000",
    "restoreByBackupId":true,
    "deleteByBackupId":true,
    "nextFullBackupDate":"2017-10-26T17:45:00.000+0000",
    "nextIncrementalBackupDate":"2017-10-27T17:45:00.000+0000",
    "backupDestination":"BOTH",
    "cloudStorageContainer":"http://example.storage.oraclecloud.com/Storage-example/cass-container",
    "cloudStorageUser":"StorageAdmin",
    "totalCloudStorageContainerUsed":"353.7KB",
    "totalCloudStorageContainerUsedInBytes":362162,
    "totalBackupVolumeUsed":"353.7KB",
    "totalBackupVolumeUsedInBytes":362162,
    "percentBackupVolumeUsed":0.00022485975932795554
}