db_backup_modify_schedule

This job modifies the given backup 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 backup schedule to be modified.

Optional parameters

Parameter name Data type Description
expire string, integer The expiration time for the backup using the format "#m #w #d #h" (ie, "1w 3d"). If not specified, the backup will not expire.
minute string, integer Which minute the backup should run. The format is the same as minutes in cronjob (0 - 59 or *).
hour string, integer Which hour the backup should run. The format is the same as hours in cronjob (0 - 23 or *).
day string, integer Which day the backup should run. The format is the same as days in cronjob (1 - 31 or *).
month string, integer Which month the backup should run. The format is the same as months in cronjob (1 - 12 or *).
weekday string, integer Which weekday the backup 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.