psm jcs view-backup-config

This command lists backup configurations of Oracle Java Cloud Service instances.

Syntax

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

psm jcs view-backup-config -s|--service-name serviceName 
   [-of|-–output-format json|html|short]

Parameters

All parameters are required unless otherwise noted.

Parameter Description
-s|--service-name serviceName Name of the Oracle Java Cloud Service instance
-of|-–output-format json|html|short (Optional) Output format of the command’s response:

Accepted values: json, html, short

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

Example

$ psm jcs view-backup-config -s ExampleInstance -of json 
{
    "backupDestination":"BOTH",
    "cloudStorageContainer":"Storage-StorageEval01admin/JaaSBackup",
    "cloudStorageUser":"Storageadmin",
    "defaultRetention":"30 days",
    "fullBackupSchedule":{
        "dayOfMonth":"*",
        "dayOfWeek":"Fri",
        "hour":"5",
        "minute":"25",
        "month":"*",
        "second":"0",
        "year":"*"
    },
    "incrementalBackupSchedule":{
        "dayOfMonth":"*",
        "dayOfWeek":"Sun,Mon,Tue,Wed,Thu,Sat",
        "hour":"5",
        "minute":"25",
        "month":"*",
        "second":"0",
        "year":"*"
    },
    "lastBackupDate":"Thu Apr 28 18:22:38 GMT 2016",
    "nextFullBackupDate":"Fri Apr 29 05:25:00 GMT 2016",
    "nextIncrementalBackupDate":"Sat Apr 30 05:25:00 GMT 2016",
    "percentBackupVolumeUsed":0.0033531999215483665,
    "totalBackupVolumeUsed":"6.9MB",
    "totalBackupVolumeUsedInBytes":7200942,
    "totalCloudStorageContainerUsed":"6.9MB",
    "totalCloudStorageContainerUsedInBytes":7200942
}

More Information

Backing Up and Restoring an Oracle Java Cloud Service Instance in Administering Oracle Java Cloud Service.