Configuring Backup Settings
You can define a schedule for creating backups of your cluster. The Backup Settings dialog lists the current schedule:
Figure 1 - The Backup Settings dialog
The fields in the dialog are discussed below.
Enable Scheduled Backups for the Cluster
This slider gives you cluster-level control over backups. However, cluster backups are only done if backups are enabled for the environment that contains them. If backups are currently disabled for the environment, you’ll see a red triangle icon. Clicking on the icon explains the situation:
Figure 2 - Backups must be enabled at the Environment level
Bucket
The read-only name of the bucket where backups are stored.
Backup Schedule
There are five options to define the Period when backups should occur:
- Monthly - Define the day of the month
- Weekly - Define the day of the week
- Daily - Define the time of day
- Every 6 hours - Backups occur every six hours
- Every hour - Backups occur every hour.
NOTE: All times are expressed in GMT and are displayed in 12- or 24-hour format depending on your machine’s settings.
In addition to defining the period, you can also define the number of backups to keep. The default is seven.
The button lets you define multiple schedules. For example, if you only want backups to occur on Friday and Saturday, create two Weekly schedules, one for Friday and one for Saturday. You can define up to three schedules.
Preferred Backup Replica
This setting lets you select the preferred replica for backups. That replica will be used if it is active.
Extra Parameters
This entry field lets you define any additional parameters for this cluster’s backups. For all the details, see the list of configurable parameters in the repo for the Altinity Backup for ClickHouse® utility.
Advanced Settings
Clicking this button takes you to the Advanced Backup Settings dialog:
Figure 3 - The Advanced Backup Settings dialog
You can define values for any of the settings above, or you can click the button to add a new setting. Finally, clicking the
icon will show additional information for some options. For example:
Figure 4 - Tool tips in the Advanced Settings dialog