Creates a backup schedule for the entire cluster, including the Global Controller and worker node configurations, sites, and related metadata.
For example: bmo create backup-schedule --name backup1 --schedule="@every 24h"
Argument Definitions
- schedulebackupname
- The name of the backup schedule. This name is also applied to the backup files that are created.
- timeinterval
-
The scheduled backup time interval that is set using a cron time string of five characters. Time values are based on UTC.
For example, enter the following time interval to schedule a backup to occur every 15th of the month at 10:00 am:
0.10.15.*.*
where each attribute from left to right defines the following:
- minute (values 0 to 59)
- hour (values 0 to 23)
- day of the month (values 1 to 31)
- month (values 1 to 12)
- day of the week (values 0 to 7, where both 0 and 7 represent Sunday)
Entering an * assigns no specific value.
You can also enter the time interval using the @every <duration> syntax and specify a combination of seconds (s), minutes (m), and hours (h). For example: @every 2h30m