--- title: "Configuring Long-Term Retention Policy" description: "You can configure the backup job to store backup files for long periods of time — for weeks, months and even years, you can set the long-term or Grandfather-Father-Son (GFS) retention policy." canonical: "https://helpcenter.veeam.com/docs/agentformac/userguide/backup_job_cmd_gfs.html" breadcrumb: "User Guide > Performing Backup > Creating Backup Jobs > Creating Backup Job in Command Line Interface > Configuring Long-Term Retention Policy" dateModified: "2026-10-20" --- # Configuring Long-Term Retention Policy You can configure the backup job to store backup files for long periods of time — for weeks, months and even years, you can set the long-term or Grandfather-Father-Son (GFS) retention policy. This policy uses backup files created while backup job is enabled and marks these backups with specific GFS flags. You can perform the following actions with the long-term retention policy in command line interface: - [Specify long-term retention policy for the job](backup_job_cmd_gfs_set.md). - [Enable long-term retention policy for the job](backup_job_cmd_gfs_enable.md). - [View the long-term retention policy defined for the job](backup_job_cmd_gfs_show.md). - [Disable long-term retention policy for the job](backup_job_cmd_gfs_disable.md).