How GFS Retention Works

In this article

    In this section, we will consider how backup copy GFS retention works on a real example. To have a better understanding of the workflow, it is recommended to read about GFS Cycles and GFS Backup Chains.

    Consider that you have created a backup copy job with the following settings:

    • The backup copy job starts on Sunday; the backup copy interval is 1 day and starts at 12:00 AM.
    • Short-term retention policy is set to 5 restore points.
    • GFS schedule settings are configured in the following way:
      • Keep weekly full backups for 1 week; create weekly full backups on Thursday.
      • Keep monthly full backups for 3 months; create monthly backups on the first week.
      • Keep yearly full backups for 1 year; create monthly backups in January (the current month).

    How GFS Retention Works 

    Veeam Backup & Replication will run the backup copy job in the following way:

    1. Let's say it's the last week of January. So, on the first run, Veeam Backup & Replication creates a full backup and assigns the yearly GFS flag to this backup file.

    Then, from Monday through Wednesday, Veeam Backup & Replication creates incremental backups.

    How GFS Retention Works 

    1. According to the GFS schedule, weekly full backups must be created on Thursday. Thus, Veeam Backup & Replication creates a weekly full backup on Thursday.

    The GFS full backup can be synthesized from previous backup files or it can be copied from the source repository. For details, see Backup Copy GFS Methods.

    How GFS Retention Works 

    1. Friday through Monday, Veeam Backup & Replication adds incremental backups to the new backup chain. On Monday, Veeam Backup & Replication removes the increments of the previous backup chain because the latest backup chain has 5 restore points, which is set in the short-term retention policy.

    How GFS Retention Works 

    1. On Tuesday, it is February the 1st, beginning of a new month. It means that Veeam Backup & Replication must create a monthly full backup.

    How GFS Retention Works 

    1. On Wednesday, Veeam Backup & Replication adds an incremental backup to the new backup chain.

    Then, on Thursday, Veeam Backup & Replication creates a weekly full backup.

    How GFS Retention Works 

    1. Friday through Monday, Veeam Backup & Replication adds incremental backups to the new backup chain.

    Then, on Monday, Veeam Backup & Replication removes increments of previous backup chains because the latest backup chain has 5 restore points.

    In the GFS schedule settings, we have set that weekly full backups must be stored for one week. Thus, Veeam Backup & Replication removes the previous weekly full backup.

    How GFS Retention Works 

    Related Topics

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.