psm analytics update-backup-config
Use this command to update the backup configuration of a service created with Oracle Analytics Cloud - Classic.
Syntax
In the following syntax, line breaks have been added for clarity. Do not include them when entering the command.
psm analytics update-backup-config -s|--service-name ServiceName
-c|--config-payload pathToJSONFile
[-of|--output-format json|html|short]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
-s|--service-name instance-name |
Specifies the name of the service. |
-c|--config-payload pathToJSONFile |
Path to the JSON file that contains the configuration parameters for accessing the Oracle Analytics Cloud service. |
JSON Payload
The json payload has the following syntax:
{
"defaultRetention":"",
"fullBackupSchedule":{
"dayOfWeek":"",
"hour":"required",
"minute":""
},
"incrementalBackupSchedule":{
"dayOfWeek":"",
"hour":"required",
"minute":""
},
"backups":""
}
Parameter | Description |
---|---|
|
Defines the number of days the backup is retained before it is automatically deleted. |
|
Defines the schedule for the full backup. The following parameters must be set:
|
|
Defines the schedule for the incremental backup. The following parameters must be set:
|
|
Defines whether the backups are enabled. Possible values are |
Examples
The following example updates the backup configuration of the analytics–aas
instance to full backup every Sunday at 12:11, and the incremental backup to 11:11 every day, with a default retention of 32 days:
$ psm analytics update-backup-config -s analytics–aas -c /tmp/update-backup-payload.json
where the payload for this command is:
{
"defaultRetention":"32",
"fullBackupSchedule":{
"dayOfWeek":"Sun",
"hour":"12",
"minute":"11"
},
"incrementalBackupSchedule":{
"dayOfWeek":"",
"hour":"11",
"minute":"11"
},
"backups":"ENABLE"
}