分配GFS标记
When configuring GFS retention policy settings, you can choose a number of GFS flag types that Veeam Backup & Replication will use to mark backup files for long-term retention. Depending on this number, Veeam Backup & Replication will apply slightly different algorithms when assigning GFS flags:
Important |
When you reconfigure GFS retention policy and save it, the following applies:
|
If you select only one type of GFS flags when configuring retention policy settings for a backup job, Veeam Backup & Replication performs the following steps as soon as the job finishes. In the described algorithm, the "scheduled period" is the following: for weekly GFS — the day selected in the GFS retention policy settings; for monthly GFS — the selected week; for yearly GFS — the selected month.
- If the job finishes within the period when a new GFS flag must be assigned (the scheduled period), Veeam Backup & Replication checks whether the backup job has created a full backup file.
- Yes, the full backup has been created: If the GFS flag has already been assigned to another backup file during the scheduled period, Veeam Backup & Replication does not assign another GFS flag to the backup file. If the GFS flag has not been assigned, Veeam Backup & Replication assigns it and stops waiting for the full backup file (removes the waiting flag).
- No, the full backup has not been created: Veeam Backup & Replication waits for a full backup file to be created (sets the waiting flag).
- If the job finishes outside the scheduled period, Veeam Backup & Replication checks whether the full backup file is being waited for (check whether the waiting flag is set).
- Yes, the waiting flag is set: Veeam Backup & Replication checks whether the backup job has created a full backup file.
- Yes: Veeam Backup & Replication assigns the GFS flag and stops waiting for the full backup file (removes the waiting flag).
- No: Veeam Backup & Replication does not assign a new GFS flag.
- No, the waiting flag is not set: Veeam Backup & Replication does not assign a new GFS flag.
Consider the following example. On Monday, you configure GFS policy settings of a backup job in a way weekly GFS flags must be assigned every Wednesday. The following animation shows how Veeam Backup & Replication will assign the flag if a full backup file is not created on the scheduled day.
Example Description
|
Algorithm for Multiple Flag Types
If you select multiple types of GFS flags when configuring retention policy settings for a backup job, GFS flags depend on each other. Yearly flags (high level) depend on monthly flags, monthly flags depend on weekly flags, weekly flags (low level) do not depend on any flags. This means that Veeam Backup & Replication can only assign GFS flags of a higher level to backup files with GFS flags of a lower level — this mechanism helps you save space in the backup repository.
Important |
The described mechanism does not apply to a situation where you select only two types of GFS flags, yearly and weekly. If you select these two types and do not select the monthly type, Veeam Backup & Replication treats the case as if you select only one flag type. This means that flags of each type are assigned according to the algorithm for one flag type. |
Veeam Backup & Replication performs the following steps as soon as the job finishes and performs them for GFS flags of each level. Note that GFS flags of lower levels are processed before flags of higher levels. In the described algorithm, the "scheduled period" is the following: for weekly GFS — the day selected in the GFS retention policy settings; for monthly GFS — the selected week; for yearly GFS — the selected month.
- If the job finishes within the period when a new GFS flag must be assigned, Veeam Backup & Replication checks whether the flag of a lower level is configured in the job settings.
- Yes, the flag of a lower level is configured: If the GFS flag of a lower level has already been assigned to the backup file created by the job, Veeam Backup & Replication assigns the GFS flag of the current level and stops waiting for the flag of the current level to be assigned (removes the current-level waiting flag). If the GFS flag of a lower level has not been assigned, Veeam Backup & Replication checks whether the GFS flag of current level has already been assigned to another backup file during the scheduled period:
- Yes, the GFS flag of the current level has already been assigned: Veeam Backup & Replication does not assign any GFS flags.
- No, the flag has not been assigned: Veeam Backup & Replication waits for the flag of the current level to be assigned (sets the current-level waiting flag)
- No, the flag of a lower level is not configured: Veeam Backup & Replication checks whether the backup job has created a full backup file.
- Yes: If the GFS flag of current level has already been assigned to another backup file during the scheduled period, Veeam Backup & Replication does not assign the GFS flag of the current level to the backup file. If the GFS flag has not been assigned, assigns it and stops waiting for the GFS flag of the current level to be assigned (removes the current-level waiting flag).
- No: Veeam Backup & Replication waits for a full backup file to be created (sets the current-level waiting flag).
- If the job finishes outside the scheduled period, Veeam Backup & Replication checks whether the GFS flag of current level is being waited for (checks whether the current-level waiting flag is set).
- Yes, the flag of the current level has already been assigned: Veeam Backup & Replication does not assign any GFS flags.
- No, the flag has not been assigned: Veeam Backup & Replication checks whether the backup job has created a full backup file.
- Yes: Veeam Backup & Replication assigns the flag of the current level and stops waiting for the GFS flag of the current level to be assigned (removes the current-level waiting flag).
- No: Veeam Backup & Replication does not assign any GFS flags.
Consider the following example. On Monday, you configure GFS policy settings of a backup job in a way weekly GFS flags must be assigned every Wednesday and monthly GFS flags must be assigned every first week of a month. The following animation shows how Veeam Backup & Replication will assign the flags.
Example Description
|