db_snapshot_backup_modify_schedule
This job modifies the given snapshot schedule with new parameters. The database must be running to run this job.
Mandatory parameters
Parameter name | Data type | Description |
---|---|---|
db_name | string | The name of an existing database. |
backup_name | string | The name of the snapshot schedule to be modified. |
Optional parameters
Parameter name | Data type | Description |
---|---|---|
minute | string, integer | Which minute the snapshot should run. The format is the same as minutes in cronjob (0 - 59 or *). |
hour | string, integer | Which hour the snapshot should run. The format is the same as hours in cronjob (0 - 23 or *). |
day | string, integer | Which day the snapshot should run. The format is the same as days in cronjob (1 - 31 or *). |
month | string, integer | Which month the snapshot should run. The format is the same as months in cronjob (1 - 12 or *). |
weekday | string, integer | Which weekday the snapshot should run. The format is the same as weekdays in cronjob (0 - 7 or the english name of the day or *). |
enabled | boolean | When set to True, the schedule is enabled immediately. Otherwise, the schedule will not run until it is enabled. |
Substitute parameters
There are no substitute parameters.
Allowed users
The following users are allowed to run this job:
- root
Allowed groups
The following groups are allowed to run this job:
- root
- exaadm
- exadbadm
Examples
The following examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.