psm analytics backup

Use this command to initiate an on-demand backup for a service created with Oracle Analytics Cloud - Classic.


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

psm analytics backup -s|--service-name serviceName 
   [-f|--full true|false]
   [-n|--notes free form note]
   [-of|--output-format json|html|short]


All parameters are required unless otherwise noted.

Parameters Description
-s|–-service-name Name of the service.
-k|-–keep-forever (Optional) For full backups, omit this parameter to specify no expiration date. By default, backups are retained for the default retention period defined in the backup configuration.
-f|-–full (Optional) Specifies whether to start a full (true) backup. Full backups contain runtime and configuration artifacts.
-n|-–notes (Optional) Free-form text to provide additional information about the backup.
-of|-–output-format (Optional) Desired output format.

Accepted values: json, html, short


$ psm analytics backup -s example1Service -n On-demand-backup-request  
Job ID : 34270

Note that this command returned a job ID. To see the status of your create-service operation, use this ID with the psm analytics operation-status command:

$ psm analytics operation-status -j 34270

When you see the message:


the service was successfully backed up.