PowerShell script exchange
Post Reply
FlatWhite
Influencer
Posts: 14
Liked: 2 times
Joined: Aug 25, 2020 2:37 pm
Contact:

VBR Job Schedule

Post by FlatWhite » 1 person likes this post

Hi guys,
Does anyone have a script to migrate the current job schedule config only to a new VBR server build. We do not want to restore the traditional config file and all the other config to the new build.
Thanks
albertwt
Veeam Legend
Posts: 878
Liked: 46 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: VBR Job Schedule

Post by albertwt »

Yes, I am interested if there is any script to perform this as well.
--
/* Veeam software enthusiast user & supporter ! */
jorgedlcruz
Veeam Software
Posts: 1337
Liked: 610 times
Joined: Jul 17, 2015 6:54 pm
Full Name: Jorge de la Cruz
Contact:

Re: VBR Job Schedule

Post by jorgedlcruz »

Hello,
Through the API you can export/import jobs, or just even the schedule if jobs are created on the other side already.

Might want to check some object IDs inside the job itself as if entire new VBR, those will be different, like proxy IDs in case the job have forced to use just a few, etc.

Give it a try to take the JSON file of one job, edit if necessary, and do a POST on the other VBR with the correct payload.
Jorge de la Cruz
Senior Product Manager | Veeam ONE @ Veeam Software

@jorgedlcruz
https://www.jorgedelacruz.es / https://jorgedelacruz.uk
vExpert 2014-2023 / InfluxAce / Grafana Champion
oleg.feoktistov
Veeam Software
Posts: 1890
Liked: 631 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: VBR Job Schedule

Post by oleg.feoktistov »

Hi @FlatWhite,

What job types are you talking about? The approaches would differ here.


Best regards,
Oleg
FlatWhite
Influencer
Posts: 14
Liked: 2 times
Joined: Aug 25, 2020 2:37 pm
Contact:

Re: VBR Job Schedule

Post by FlatWhite »

Hi Oleg,
The jobs are the standard backup jobs, so VMs, storage, schedule to be exported and imported. If not these will need to be manually configured on the new server. Obviously the Storage Backup Repository will need to changed as the backups are moving to fresh storage also.
FlatWhite
Influencer
Posts: 14
Liked: 2 times
Joined: Aug 25, 2020 2:37 pm
Contact:

Re: VBR Job Schedule

Post by FlatWhite » 1 person likes this post

No export feature available and maybe the API is the only route to accomplish this https://community.veeam.com/discussion- ... p-job-2246
jorgedlcruz
Veeam Software
Posts: 1337
Liked: 610 times
Joined: Jul 17, 2015 6:54 pm
Full Name: Jorge de la Cruz
Contact:

Re: VBR Job Schedule

Post by jorgedlcruz »

Good luck with the move, give the script from the Community a try and ping us, or there on the Community, if any more questions.
Jorge de la Cruz
Senior Product Manager | Veeam ONE @ Veeam Software

@jorgedlcruz
https://www.jorgedelacruz.es / https://jorgedelacruz.uk
vExpert 2014-2023 / InfluxAce / Grafana Champion
Post Reply

Who is online

Users browsing this forum: Matthias.Mehrtens and 18 guests