Apache CloudStack 4.23.0.0 Root Admin API Reference

createBackupSchedule

Creates a User-defined Instance backup schedule

Request parameters

Parameter NameDescriptionRequired
intervaltypeValid values are HOURLY, DAILY, WEEKLY, and MONTHLYtrue
scheduleCustom backup schedule, the format is:for HOURLY MM*, for DAILY MM:HH*, for WEEKLY MM:HH:DD (1-7)*, for MONTHLY MM:HH:DD (1-28)true
timezoneSpecifies a timezone for this command. For more information on the timezone parameter, see TimeZone Format.true
virtualmachineidID of the Instance for which schedule is to be definedtrue
isolatedWhether the backup will be isolated, defaults to false. Isolated backups are always created as full backups in independent chains. Therefore, they will never depend on any existing backup chain and no backup chain will depend on them. Currently only supported for the KBOSS provider.false
maxbackupsThe maximum number of backups to keep for a VM. If "0", no retention policy will be applied and, thus, no backups from the schedule will be automatically deleted. This parameter is only supported for the Dummy, NAS and EMC Networker backup provider.false
quiescevmQuiesce the Instance before checkpointing the disks for backup. Applicable only to NAS and KBOSS backup providers. The filesystem is frozen before the backup starts and thawed immediately after. Requires the instance to have the QEMU Guest Agent installed and running.false

Response Tags

Response NameDescription
idID of the backup schedule.
intervaltypeThe interval type of the backup schedule
isolatedWhether the backup will be isolated, defaults to false. Isolated backups are always created as full backups in independent chains. Therefore, they will never depend on any existing backup chain and no backup chain will depend on them. Currently only supported for the KBOSS provider.
maxbackupsmaximum number of backups retained
quiescevmquiesce the instance before checkpointing the disks for backup
scheduleThe time the backup is scheduled to be taken.
timezoneThe time zone of the backup schedule
virtualmachineidID of the Instance
virtualmachinenameName of the Instance