--- title: "Disabling Long-Term Retention Policy" description: "You can disable all or specific types of the long-term retention policy: weekly, monthly or yearly. To disable the long-term retention policy for the backup job, use the following command: or where: — ID of the backup job for which you..." canonical: "https://helpcenter.veeam.com/docs/agentformac/userguide/backup_job_cmd_gfs_disable.html" breadcrumb: "User Guide > Performing Backup > Creating Backup Jobs > Creating Backup Job in Command Line Interface > Configuring Long-Term Retention Policy > Disabling Long-Term Retention Policy" dateModified: "2026-10-20" --- # Disabling Long-Term Retention Policy You can disable all or specific types of the long-term retention policy: weekly, monthly or yearly. ## Disabling All Types of Long-Term Retention To disable the long-term retention policy for the backup job, use the following command: ``` veeamconfig gfs disable --jobid ``` or ``` veeamconfig gfs disable --jobname ``` where: - `` — ID of the backup job for which you want to disable the long-term retention policy. - `` — name of the backup job for which you want to disable the long-term retention policy. For example: ``` user@wrk01:~$ veeamconfig gfs disable --jobid 4849a3ae-1935-4969-98a3-d8acd2f6c73f ``` ## Disabling Specific Types of Long-Term Retention To disable a specific type of the long-term retention policy for the backup job, use the following command: ``` veeamconfig gfs set --jobid --disable ``` or ``` veeamconfig gfs set --jobname --disable ``` where: - `` — ID of the backup job for which you want to disable the long-term retention policy. - `` — name of the backup job for which you want to disable the long-term retention policy. - `` — single type of the long-term retention policy you want to disable. Possible values: `weekly`, `monthly` or `yearly`. For example: ``` user@wrk01:~$ veeamconfig gfs set --jobid 4849a3ae-1935-4969-98a3-d8acd2f6c73f weekly --disable ```