Host-based backup of VMware vSphere VMs.
Post Reply
BjarneWahl
Novice
Posts: 5
Liked: never
Joined: Mar 02, 2016 2:47 pm
Full Name: Bjarne Wahl Hansen
Contact:

Change default "Retention policy"

Post by BjarneWahl »

Hello!

I fail to figure out where to change the default "Retention policy" for Backup jobs.
The default is "7 retention points" but I want "10 days" to be the default.

I can't find anything in Veeam B&R and I can't find anything in regedit.

Any clues?

Thanks in advance :)
Kind regards

Bjarne Wahl Hansen
Microsoft, vCenter/ESXi and Veeam nerd
Mildur
Product Manager
Posts: 8735
Liked: 2294 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Change default "Retention policy"

Post by Mildur »

Hi Bjarne

I checked our internal documentation and cannot find any registry key related to a global default retention.
May I ask, what is your goal in changing the default retention for new backup jobs to a higher value?

Thanks
Fabian
Product Management Analyst @ Veeam Software
foggy
Veeam Software
Posts: 21073
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Change default "Retention policy"

Post by foggy »

You can clone new jobs from the existing one having the required retention settings.
BjarneWahl
Novice
Posts: 5
Liked: never
Joined: Mar 02, 2016 2:47 pm
Full Name: Bjarne Wahl Hansen
Contact:

Re: Change default "Retention policy"

Post by BjarneWahl »

@Mildur:
The customer want 10 days worth of retention. Politics, you know ;)
Scripted creation of a ton of regular backup jobs, and me trying to avoid a step or scripting.

Thanks so much for trying! :)
Kind regards

Bjarne Wahl Hansen
Microsoft, vCenter/ESXi and Veeam nerd
Mildur
Product Manager
Posts: 8735
Liked: 2294 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Change default "Retention policy"

Post by Mildur » 1 person likes this post

Thanks for explaining.
Then you can use what Foggy recommended. Create a dummy Job with the required settings.
Read all job options from the dummy job to a variable and create the new jobs with the same options. If some jobs needs another configuration than the dummy job, change that options in the script for the specific jobs.

Or use Job Cloning from Powershell and then change the specific settings:
https://helpcenter.veeam.com/docs/backu ... ml?ver=110
Product Management Analyst @ Veeam Software
Post Reply

Who is online

Users browsing this forum: No registered users and 81 guests