Host-based backup of VMware vSphere VMs.
Post Reply
VirtualGuillaume
Novice
Posts: 3
Liked: never
Joined: Oct 04, 2016 1:34 pm
Full Name: Guillaume DAMIEN
Contact:

BVR Jobs export

Post by VirtualGuillaume »

Hi all,
is there a way to export all backup jobs (name, schedule ...), and only backup jobs ....
thx
Guillaume
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: BVR Jobs export

Post by foggy »

Guillaume, could you please describe your scenario, why do you want to export the jobs? Have you considered using configuration backup?
VirtualGuillaume
Novice
Posts: 3
Liked: never
Joined: Oct 04, 2016 1:34 pm
Full Name: Guillaume DAMIEN
Contact:

Re: BVR Jobs export

Post by VirtualGuillaume »

thx for answering me.

I only need to export backups, to import them in an another VBR server and nothing else.... is that possible ?
Using the "configuration backup", I'll retrieve Repositories, proxyes ....

thx
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: BVR Jobs export

Post by foggy »

Got it. Then you can do this with the help of PowerShell, by first getting existing job settings and then passing them to a newly created jobs on another Veeam B&R server.
VirtualGuillaume
Novice
Posts: 3
Liked: never
Joined: Oct 04, 2016 1:34 pm
Full Name: Guillaume DAMIEN
Contact:

Re: BVR Jobs export

Post by VirtualGuillaume »

ok, it is then possible to get all backup jobs from a VBR server, and to push those jobs to an another VBR server using "powershell + Veeam cmdlet" ?
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: BVR Jobs export

Post by foggy »

Correct.
joew@rdvcorp.com
Novice
Posts: 3
Liked: never
Joined: Apr 11, 2019 2:23 pm
Full Name: Joe Watschke
Contact:

[MERGED] Export Backup job config and import to different Veeam server

Post by joew@rdvcorp.com »

Veeam support (case 03507044) has confirmed as of April 2019 with B&R 9.5 Update4 that "Unfortunately, there is no way to save the configuration of a single backup job and transfer it between different Veeam installations. If you were going to keep it on the same Veeam server, there is the 'clone job' option."
Our scenario for wanting to do this is we have a Production Veeam server onsite and a DR Veeam server offsite. We are moving our VMWare VMs from our Production vCenter to our DR vCenter and hence a different Veeam Backup server. So as it stands, it looks like I am stuck with manually creating new backup jobs.
Creating this post per Veeam support suggestion that "you could mention something like that on our forums: https://forums.veeam.com/ Many of our lead developers pay attention to the forum posts, so you may be able to get some attention to this issue there."
wishr
Veteran
Posts: 3077
Liked: 453 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: Export Backup job config and import to different Veeam server

Post by wishr »

Hi Joe,

First, welcome to Veeam Community Forums and thanks for posting your question!

Second, indeed our Forums is the right place for posting your feedback, ideas, feature requests, etc. So I'd like to thank you for your request and the detailed use-case description - they are noted.

Regards,
Fedor
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: BVR Jobs export

Post by foggy »

Hi Joe, this is actually possible with the help of PowerShell (look at the Get-VBRConfigurationBackupJob and Set-VBRConfigurationBackupJob cmdlets).
joew@rdvcorp.com
Novice
Posts: 3
Liked: never
Joined: Apr 11, 2019 2:23 pm
Full Name: Joe Watschke
Contact:

Re: BVR Jobs export

Post by joew@rdvcorp.com »

When I run this command (get-VBRConfigurationBackupJob), I get a return with Name of "Backup Configuration Job" which I am assuming is the Veeam system configuration backup (set via B&R Console drop-down of Configuration backup) and not the individual Veeam backup jobs.
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: BVR Jobs export

Post by foggy »

Sorry, looked in the wrong place, Get-VBRJobOptions and Set-VBRJobOptions are the correct ones.
joew@rdvcorp.com
Novice
Posts: 3
Liked: never
Joined: Apr 11, 2019 2:23 pm
Full Name: Joe Watschke
Contact:

Re: BVR Jobs export

Post by joew@rdvcorp.com »

Thank you. When I run command (get-vbrjob -name "BACKUPNAME"), I do get a return of the various job options. What do I add to this command to export the results to a file and then have the set-vbroptions command read this file? I am weak on Windows Powershell which is referenced via <commonparameters>.
One of the items that will change in the job options is the Backup repository when restoring to the different Veeam server. I am assuming that "TargetDir" is the parameter that I must change when using Set-VBROptions?
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: BVR Jobs export

Post by veremin » 1 person likes this post

Just a quick question - do you want DR backup server to be identical to production one? If so, why not to replicate production machine or at least backup and restore its configuration?

If you're after transferring configuration of single job, then, you will need to:

- Connect to production backup server, using Connect-VBRServer cmdlet
- Get a job configuration of which you want to transfer, using Get-VBRJob cmdlet; leverage -Name parameter to get a specific job
- Get job settings, using Get-VBRJobOptions cmdlet
- Assign the settings to a variable
- Connect to DR backup server
- Get a backup job to which the assigned settings should be applied
- Apply the settings, using Set-VBRJobOptions cmdlet

If you experience any problem with scripting, feel free to create new thread in the dedicated PowerShell subforum.

Thanks!
GianlucaCroci
Expert
Posts: 214
Liked: 20 times
Joined: Feb 26, 2019 12:08 pm
Full Name: Gianluca Croci
Contact:

[MERGED] Export Config Backup Job

Post by GianlucaCroci »

Good Morning,
I know that's not possible, but for a future version could you evaluate to add the possibility to Export (and Import too) the configuration of a Backup Job?
At the moment I can Clone a Job, but I think it could be interesting to do an Export/Import too.

Perhaps the same for the Others Job too (Backup Copy, File Copy, Tape).

Thanks a lot.
Kind regards
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Export Config Backup Job

Post by Shestakov »

Hello Gianluca,
Could you describe your use case?
Veeam ONE has Job Configuration Dump report which provides configuration details for Veeam Backup & Replication jobs.
You cannot import the settings, but the report still be helpful for you.
Thanks
GianlucaCroci
Expert
Posts: 214
Liked: 20 times
Joined: Feb 26, 2019 12:08 pm
Full Name: Gianluca Croci
Contact:

Re: Export Config Backup Job

Post by GianlucaCroci »

it's just a question, or better, a request of a new feauture.
At the moment I've ~40 "Backup Jobs" of which 4-5 Jobs are Disabled.
I'd like to Export the configuration of these Jobs and delete them from the Veeam Jobs (just to have a clean view... for me and for my collegues that they don't use the Software each day).
If in the future I'll need them, I'll Import.

What I want is something that looks like the Clone, but I don't want to duplicate the job... but Export it, to Import it when I'll needed it.

I don't know if I explained myself.

Thanks
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Export Config Backup Job

Post by Shestakov »

I've got it, the request makes sense.
We've taken it into account.
GianlucaCroci
Expert
Posts: 214
Liked: 20 times
Joined: Feb 26, 2019 12:08 pm
Full Name: Gianluca Croci
Contact:

Re: Export Config Backup Job

Post by GianlucaCroci »

OK, thanks a lot :-)
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: BVR Jobs export

Post by foggy »

Hi Gianluca, please review the thread above, should give you some hints. Thanks!
GianlucaCroci
Expert
Posts: 214
Liked: 20 times
Joined: Feb 26, 2019 12:08 pm
Full Name: Gianluca Croci
Contact:

Re: BVR Jobs export

Post by GianlucaCroci »

Hi Alexander,
thanks a lot, I'll review it and give you a feed back.

Kind regards
Post Reply

Who is online

Users browsing this forum: No registered users and 75 guests