跳到主要内容

ScheduleDto

The backup schedule of a portal.

NameTypeDescriptionNotes
storageTypeBackupStorageTypeThe storage the scheduled archives are written to, reported as a number rather than as the name the schedule was created with.[required] [enum: 0, 1, 2, 3, 4, 5]
storageParamsMapThe settings of the storage, as an object keyed by parameter name - not as the array of key and value pairs the schedule was created with, so it cannot be sent back unchanged. For every storage type except ThirdPartyConsumer the folderId key is built from the stored base path.[required] [example: {folderId=1234}]
cronParamsCronParamsDtoWhen the backup runs, read back from the stored cron expression. day is 0 for a daily schedule, because a daily one has no day.[required]
backupsStoredInteger (int32)The number of scheduled copies kept. It is null, not 0, when the schedule keeps an unlimited number.[optional] [example: 5] [nullable]
lastBackupTimeDate (date-time)The date and time the schedule last ran at. It is 0001-01-01T00:00:00 until the schedule has run for the first time.[required] [example: 2026-01-01T00:00:00Z]
dumpBooleanSpecifies whether this schedule backs up the whole server instead of one portal.[required] [example: false]