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:
or
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:
You can disable the long-term retention policy for the job at any time. To learn more, see Disabling Long-Term Retention Policy.