As the backup task continues to run, more and more image files are generated and the storage space taken up becomes larger and larger. When the space for storing the image files is exhausted, the backup task will not be able to run. Therefore, we need to regularly clean up old image files to ensure that we have enough storage space.
In Qiling Disk Master, we can use Backup Scheme to clean up old backup files periodically.
Backup Scheme (also called backup rotation scheme, backup rotation and vaulting scheme) is a highlight feature in Qiling Disk Master that allows you to better organize your backup storage space with efficient backup strategy. This software offers 3 common backup schemes, including full backup scheme, incremental backup scheme, differential backup scheme.
One of the most important points is using a backup scheme will automatically delete backup image files based on the type of scheme you choose, which is quite helpful in saving disk space as well as keeping all backups up to date.
These 3 backup schemes will be detailed in the following paragraph. Let's take a closer look. Please download Qiling Disk Master Professional or other advanced versions first.
Method 1. Find Scheme from a backup operation
If you have not created a backup task yet, then click "Backup" and select the required backup type from the list presented (For example, File Backup). Click the "Schedule" button to configure the backup rotation scheme and settings.
Method 2. Create Scheme from a backup task
If you have created a file backup task but you have not enabled the "Scheme" feature, you can first click the three-line icon and then click the "Edit Backup" option to enable the backup rotation and vaulting scheme as shown in the picture below.
And then please click the "Schedule" button to configure the backup scheme and settings, you can use Qiling Disk Master incremental backup, Qiling Disk Master differential backup, and more. After the backup scheme is configured, please click the "Save" button to save the settings.
1. Configure Backup Method
In this section, please select a backup method to perform the backup. There are 3 backup methods available: full backup, incremental backup, and differential backup. The incremental backup is selected by default. For more about backup differential vs incremental, please check more details here .
If the incremental backup or differential backup scheme is selected, you also need to configure backup intervals so that after a certain number of incremental/differential backups, one full backup will be performed automatically. The full backup and these incremental/differential backups make up a backup cycle (group).
Full Backup: Perform a full backup every time.
Incremental Backup: Perform a full backup at first, and then perform an incremental backup each time.
You also need to check and set the option “After n incremental backups, perform one full backup”, that is, the set number of times plus one is used as a backup cycle (group), which includes one full backup and several incremental backups. It is necessary to enable incremental backup to perform the backup rotation scheme.
Differential Backup: Perform a full backup at first, and then perform a differential backup each time.
You also need to check and set the option “After n differential backups, perform one full backup”, that is, the set number of times plus one is used as a backup cycle (group), which includes one full backup and several differential backups. It is necessary to enable differential backup to perform the backup rotation scheme.
Note:
2. Configure Automatic Backup Cleanup
After the backup method and the backup interval are configured in above step 1, you still need another step to enable the backup scheme.
In this section, please activate the option "Enable Automatic Backup Cleanup". Once the option “Enable Automatic Backup Cleanup” is activated, the backup scheme is activated so that the program will automatically clean up image files and save your disk space usage.
There are 4 cleanup rules available in total. The cleanup rules include: by quantity, by time, by day/week/month, and by space. Combined with the different backup methods described above, the cleanup rules will be different. Please check the below cleanup rules as per the different backup methods you select.
Note: In the following article, the "n" refers to the value you set in the backup cleanup rule.
1). By quantity
Full Backup: Only keep the last "n" backups. When the number of backups exceeds the set value, the old backups will be automatically deleted.
Incremental Backup: Only the most recent "n" groups of backups are kept. A backup group includes a full backup and multiple incremental backups. When the number of groups exceeds the set value, the old backup group will be automatically deleted.
Differential Backup: Only keep the last "n" backups. When the number of backups exceeds the set value, the old backups will be automatically deleted. The differential backup is deleted first, and the full backup is deleted at last.
2). By time
Full Backup: Only keep backups of the last "n" days/weeks/months. When the backup time exceeds the set value, the old backup will be deleted automatically.
Incremental Backup: Only keep backups of the last "n" days/weeks/months. When the backup time exceeds the set value, the old backup group will be deleted automatically. A backup group includes a full backup and multiple incremental backups. When the last backup in the group exceeds the set value, the old backup group will be automatically deleted.
Differential Backup: Only keep backups of the last "n" days/weeks/months. When the backup time exceeds the set value, the old backup will be deleted automatically. The differential backup is deleted first, and the full backup is deleted at last.
3). By daily/weekly/monthly
Full Backup: In the last "n" days, keep all backups; When the set number of days is exceeded, the old backups will be automatically deleted according to the weekly rule;
In the last "n" weeks, a full backup will be kept every week, and when the set number of weeks is exceeded, the old backups will be automatically deleted according to the monthly rule;
In the last "n" months, a full backup is kept every month. When the set number of months is exceeded, the old backup will be automatically deleted.
Incremental Backup: In the last "n" days, all backups are kept every day. When the set number of days is exceeded, the old backups will be automatically deleted according to the weekly rule;
In the last "n" weeks, all full backups will be kept every week. When the set number of weeks is exceeded, the old backups will be automatically deleted according to the monthly rule;
In the last "n" recent months, keep a full backup every month. When the set number of months is exceeded, the old backup will be automatically deleted.
Differential Backup: In the last "n" days, keep all backups. When the set number of days is exceeded, the old backups will be automatically deleted according to the weekly rule;
In the last "n" weeks, all full backups will be kept every week, and when the set number of weeks is exceeded, the old ones will be automatically deleted according to the monthly rule;
In the last "n" months, a full backup is kept every month. When the set number of months is exceeded, the old backup will be automatically deleted.
Example:
If your settings are: full backup method, 7 days + 4 weeks + 6 months.
The cleanup rules will be: Delete all backups made 6 months ago; keep one full backup every month during the last 4 weeks to 6 months; keep one full backup every week from the last 7 days to 4 weeks; keep all backups for the last 7 days.
Conclusion:
Using a backup scheme will automatically delete backup image files based on the type of scheme you choose, which is quite helpful in saving disk space as well as keeping all backups up to date. In this way, data security can be better ensured.
FAQs:
Q: Why task schedules weren’t actually executed as the backup type you set full backup, incremental backup or differential backup in schedule settings?
A: It may because you set a scheduled task and backup scheme at the same time, but you select different backup types. For example, you select incremental backup in schedule settings while using a differential backup scheme. If so, the program will ignore the backup type you set in schedule, but take backup operation according to the setting of the backup scheme.
Q: Why are the old backup files not deleted even though I have enabled the backup scheme?
A: Please check if the current number and status of backup files has reached the deletion condition of the backup scheme. If the deletion condition has been met but the old backup files have not been deleted. There is a .xml file named tasks2.2.xml under the path C:\ProgramData\QilingBR\tasks2.2.xml. The ProgramData folder is a hidden folder, please make it visible. Then you can find the tasks2.2.xml, please send it to us.