psm jcs add-backup-service

Use this command to add a backup Service to an existing Oracle Java Cloud Service instance.

Syntax

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

psm jcs add-backup-service -s|--service-name servicename
    -k|--backup-destination backupDestination
    -d|--cloud-storage-container storageContainerName
      [-o|--cloud-storage-password storagePassword]
      [-l|--cloud-storage-pwd storagePassword]
      [-u|--calculated-backup-encryption-password Password]
      [-a|--backup-encryption-password]
      [-t|--cloud-storage-user storageusername]
      [-g|--cloud-storage-container-auto-generate true|false]
      [-of|--output-format short|json|html]
      [-wc|--wait-until-complete true|false]

Parameters

All parameters are required unless otherwise specified.

Parameter Description
-s|--service-name serviceName Name of the Oracle Java Cloud Service instance.
-k|--backup-destination backupDestination The service to which you want to add backup support.

Accepted values: 'NONE', 'BOTH'

-d|--cloud-storage-container storageContainerName The name of the Oracle Storage Cloud Service container.
-t|--cloud-storage-user storageusername (Optional) The user name used to access the specified Oracle Storage Cloud Service container.
-l|--cloud-storage-pwd storagePassword (Optional) Password associated with the user name used to access the specified Oracle Storage Cloud Service container.
-o|--cloud-storage-password storagePassword (Optional) Password associated with the user name used to access the specified Oracle Storage Cloud Service container.
–a|--backup-encryption-password Password (Optional) The password used to decipher the backup encryption.
–u|--calculated-backup-encryption-password Password (Optional) The calculated backup encryption password.
-g|--cloud-storage-container-auto-generate value (Optional) Indicates whether a new container is required (TRUE) or if you want to use an existing one (FALSE).

Accepted values: TRUE, FALSE

-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.

-wc|--wait-until-complete true|false

(Optional) A boolean value that, when set to true, makes the command behave synchronously; that is, it does not return until the submitted job is complete. The following message is displayed until the job is complete:
Waiting for the job to complete... (it cannot be cancelled)
Default: false

Examples

$ psm jcs add-backup-service -s ExampleInstance -k backupDestination -d cloudStorageContainer -t cloudStorageUser