Create backups
You can back up manually or configure automatic scheduled backups.
Read more about full and incremental backups in the manual Network disk backups.
Backups do not have automatic health and consistency checks for copies. We recommend that you periodically back up — so you can verify that the recovery is working correctly.
Create a manual backup
- In control panel go to Cloud platform → Disks.
- On the menu. of the disk, select Create a backup.
- Click Create a backup.
Configure scheduled backups
You can set disk backup settings in the backup plan:
- To which disks to apply the plan — for which disks backups will be created according to this plan;
- the type of backups to be created — complete or incremental;
- schedule — when disk backups will be created;
- how many recent full backups should be stored — more about backup storage.
You can apply a single backup plan to one disk or to multiple disks at once — you do not have to configure a backup schedule for each disk separately. You can apply any number of plans to a single disk.
The disk can have change the plan list that apply to him.
If you want to change the backup settings, you can edit the plan.
Create a plan
-
In control panel go to Cloud platform → Backups.
-
Open the tab Plans.
-
Click Create a plan.
-
Enter the name of the plan.
-
Select pool segment where the disk is located.
-
Mark the disks to which the plan will apply.
-
Select the type of backup: complete or incremental.
-
If you selected full backup, specify how to customize the schedule.
By day of the week
Via a cron statement
To configure backups by day of the week, mark the desired days and enter the time in the format
ЧЧ:ММ
in your time zone to which backups will be created.To configure backups via a cron statement, enter the cron statement in UTC +0.
The Cron expression consists of five values in order — they specify the time points at which backups will be created:
- minutes from 0 to 59;
- hours — 0 to 24;
- days of the month — from 1 to 31;
- month one through 12;
- days of the week, 1 through 7.
Any of the values can be replaced by the symbol
*
— it stands for every possible value.For example, the entry
0 0,12 * * 1,5
Will create backups on Monday and Friday at 00:00 and 12:00.To create cron statements, you can use online editors such as, crontab guru.
-
If you have chosen incremental backup, keep the time in the format
ЧЧ:ММ
in your time zone to which daily backups will be created.A full backup is created first, then it is created exactly one week later and then once a week thereafter. On other days incremental backups are created.
-
Specify how many recent full backups to store:
- for full backups, the minimum number of backups is one;
- For incremental backups, the minimum number of full backups stored is two. Incremental backups are stored in chains of seven backups — one full backup and six subsequent incremental backups. For example, if the plan settings specify that three full backups are stored, the last three backup chains will be stored.
The maximum number of backups that can be created within a single plan is limited to 90 backups for full backups and 14 full backups and 78 incremental backups for incremental backups.
-
Click Create a plan.
Change the list of plans
You can add any number of plans to the disk for which backups will be created and disconnect plans from it.
- In control panel go to Cloud platform → Disks.
- On the menu. of the disk, select Configure a backup plan.
- To add a new plan, select an existing plan or press New plan and create a new one.
- To deactivate the plan, in the plan bar, tap Disconnect.
Edit the plan
You cannot change the type of backups in the plan.
- In control panel go to Cloud platform → Backups.
- Open the tab Plans.
- On the menu. of the plan, choose Change settings.
- Optional: Change the disks to which the plan applies. If you disconnect the plan from a disk, the backups created for that disk will be preserved.
- Optional: change the schedule for creating backups.
- Optional: change the number of backups stored. If you reduce this number, then after automatic creation of new backups, the previous backups that do not fall under the new limit will be deleted. For example, instead of storing seven backups, you set the number of backups to four — after creating one new backup, the first four backups will be deleted (leaving one new backup and three previous backups).
- Click Save.