Good day all,
as per documentation https://helpcenter.veeam.com/docs/backu ... ml?ver=120
the Background Retention runs thirty minutes after midnight, no way to change this schedule. But it's possible to disable this schedule by adding a propert key to the registry and start manually the process from the GUI Console.
I would like to know if it's possible to launch the process with a powershell command: my goal would be to create a little script that can be used with Windows Task Scheduler, in order to run it automatically with a different frequency and/or timing instead of daily at 00.30.
Thanks!
-
- Veeam Legend
- Posts: 143
- Liked: 41 times
- Joined: Sep 26, 2013 8:40 am
- Full Name: Alessandro T.
- Location: Bologna, Italy
- Contact:
how to launch "Background Retention" from powershell
Alessandro aka Tinto | VMCE 2024 | Veeam Legend | VCP-DCV 2023 | vExpert 2025
blog.tinivelli.com
blog.tinivelli.com
-
- Product Manager
- Posts: 10309
- Liked: 2752 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: how to launch "Background Retention" from powershell
Hi Alessandro
Please allow me the question, what's the use case to disable it?
Background retention job don't interfere with running backups jobs.
Best,
Fabian
Please allow me the question, what's the use case to disable it?
Background retention job don't interfere with running backups jobs.
You can change the time with 2 registry keys:and/or timing instead of daily at 00.30.
Code: Select all
HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication\
"RetentionJobStartTimeHours" DWORD, 0-23
"RetentionJobStartTimeMinutes" DWORD, 0-59
Fabian
Product Management Analyst @ Veeam Software
-
- Veeam Legend
- Posts: 143
- Liked: 41 times
- Joined: Sep 26, 2013 8:40 am
- Full Name: Alessandro T.
- Location: Bologna, Italy
- Contact:
Re: how to launch "Background Retention" from powershell
good day Fabian, first of all let me thank you for your very kind answer and for your time.
The use case is this: a customer we are supporting experienced a issue with a backup job, opened Case # 06050804 and the Support Engineer found an "interference" between Background Retention Job and another Backup Job, and suggested to disable the Background Retention and potentially run it manually as described here https://helpcenter.veeam.com/docs/backu ... ml?ver=120
my best regards
The use case is this: a customer we are supporting experienced a issue with a backup job, opened Case # 06050804 and the Support Engineer found an "interference" between Background Retention Job and another Backup Job, and suggested to disable the Background Retention and potentially run it manually as described here https://helpcenter.veeam.com/docs/backu ... ml?ver=120
my best regards
Alessandro aka Tinto | VMCE 2024 | Veeam Legend | VCP-DCV 2023 | vExpert 2025
blog.tinivelli.com
blog.tinivelli.com
Who is online
Users browsing this forum: Amazon [Bot], Baidu [Spider] and 131 guests