Enabling Long-Term Retention Policy

To start marking backups with specific GFS flags, you must enable the long-term retention policy for the job. Use the following command:

veeamconfig gfs enable --jobid <job_id> [--type <period>]

or

veeamconfig gfs enable --jobname <job_name> [--type <period>]

where:

  • <job_id> — ID of the backup job for which you want to enable the long-term retention policy. You should look up the job ID in advance, for example, with the veeamconfig job list command. To learn more, see Viewing List of Backup Jobs.
  • <job_name> — name of the backup job for which you want to enable the long-term retention policy.
  • <period> — type of the long-term retention policy. Possible values: weekly, monthly or yearly.
    This parameter is optional. You can use it to enable a specific type of long-term retention policy. To enable several types of retention at once, specify all necessary retention types separated by a comma (',') — for example: weekly,monthly.

For example:

user@srv01:~$ veeamconfig gfs enable --jobid 4849a3ae-1935-4969-98a3-d8acd2f6c73f --type monthly

You can disable the long-term retention policy for the job at any time. To learn more, see Disabling Long-Term Retention Policy.

Page updated 10/17/2023

Page content applies to build 4.6.0.1772