-
- Enthusiast
- Posts: 51
- Liked: 10 times
- Joined: May 18, 2010 7:10 pm
- Full Name: Jonathan Schultz
- Contact:
Export Job Configuration
Is a backup job configuration available somewhere as a file, or is it possible to save/export the configuration for a job?
I would like to compare the settings for two backup jobs. I know I can dot through the GUI screen by screen, but I would prefer using files (txt, xml, html, ...).
I would like to compare the settings for two backup jobs. I know I can dot through the GUI screen by screen, but I would prefer using files (txt, xml, html, ...).
-
- Service Provider
- Posts: 108
- Liked: 14 times
- Joined: Jan 01, 2006 1:01 am
- Full Name: Dag Kvello
- Location: Oslo, Norway
- Contact:
Re: Export Job Configuration
I Second that
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Export Job Configuration
Hello,
Yes, you can do that via Get-VBRJob | Export-VBRJob PowerShell command. This will export all jobs configurations into XML file, which can be used for your future comparison.
Hope it helps!
Yes, you can do that via Get-VBRJob | Export-VBRJob PowerShell command. This will export all jobs configurations into XML file, which can be used for your future comparison.
Hope it helps!
-
- Enthusiast
- Posts: 51
- Liked: 10 times
- Joined: May 18, 2010 7:10 pm
- Full Name: Jonathan Schultz
- Contact:
Re: Export Job Configuration
I'll give that a try. Thanks!
-
- Enthusiast
- Posts: 51
- Liked: 10 times
- Joined: May 18, 2010 7:10 pm
- Full Name: Jonathan Schultz
- Contact:
Re: Export Job Configuration
I was able to export the job configuration. However, the file doesn't seem to contain all configuration options. For example, it didn't see which VM disks were selected for processing.
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Export Job Configuration
Jonathan, thanks for your update. Did you find any other information that might be missing?
-
- Enthusiast
- Posts: 51
- Liked: 10 times
- Joined: May 18, 2010 7:10 pm
- Full Name: Jonathan Schultz
- Contact:
Re: Export Job Configuration
(Get-VBRJob)[0].GetOptions() will list job settings, including DiskFilter.
DiskFilter is a list of numbers (2000;2001;2002; ...). Is there documentation to help parse this data (which VMs and which disks)?
DiskFilter is a list of numbers (2000;2001;2002; ...). Is there documentation to help parse this data (which VMs and which disks)?
-
- Enthusiast
- Posts: 51
- Liked: 10 times
- Joined: May 18, 2010 7:10 pm
- Full Name: Jonathan Schultz
- Contact:
Re: Export Job Configuration
I only found the selected disk because that's what I was concerned about. I don't have time now but at some point I'll compare GUI vs. Export-VBRJob vs. GetOptions.Vitaliy S. wrote:Jonathan, thanks for your update. Did you find any other information that might be missing?
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Export Job Configuration
Jonathan, let me check that for you with our PowerShell guru, I will let you know as soon as I have any info.paallergy wrote:DiskFilter is a list of numbers (2000;2001;2002; ...). Is there documentation to help parse this data (which VMs and which disks)?
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Export Job Configuration
Those are VM disks numbers. As to disk filters, then they are stored and can be configured for each VM individually. To get all available filters please use GetVBRJobObjectpaallergy wrote:DiskFilter is a list of numbers (2000;2001;2002; ...).
-
- Service Provider
- Posts: 30
- Liked: 6 times
- Joined: Jan 25, 2010 9:35 pm
- Full Name: Luke D.
- Location: Kalamazoo, MI
- Contact:
Re: Export Job Configuration
I was just testing out the Powershell export job functionality in version 5.01 and came across a typo/error in the XML. I thought I'd just mention it as feedback for the developers.
In the algorithm tag...
<Algorithm>Syntethic</Algorithm>
Should be "Synthetic".
Thanks.
In the algorithm tag...
<Algorithm>Syntethic</Algorithm>
Should be "Synthetic".
Thanks.
-
- Chief Product Officer
- Posts: 31814
- Liked: 7302 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Export Job Configuration
Thanks.
-
- Enthusiast
- Posts: 39
- Liked: 1 time
- Joined: Jul 05, 2010 3:36 pm
- Full Name: Felix Brändle
- Contact:
Re: Export Job Configuration
btw:
is the typo in Set-VBRJobObjectVssOprions already fixed?
greets
Felix
is the typo in Set-VBRJobObjectVssOprions already fixed?
greets
Felix
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Export Job Configuration
No, the fix for this bug/typo didn't make it into 5.0.2 release.
-
- Enthusiast
- Posts: 39
- Liked: 1 time
- Joined: Jul 05, 2010 3:36 pm
- Full Name: Felix Brändle
- Contact:
Re: Export Job Configuration
Hi Vitaly,
seems its still there in 5.0.2.230...
Anyhow:
There is still one question open:
Diskfilter -> How can the info in the Diskfilter field be transformed/parsed into something that can be matched against ESX/WMI to get the drives that are actually backed up?
The explanation you gave above does not give me any usable information(again, i might be missing something):
"Those are VM disks numbers. As to disk filters, then they are stored and can be configured for each VM individually. To get all available filters please use GetVBRJobObject"
So, is it possible to parse/transform those numbers? If so, how?
This is still one major issue for us. We have now +200VMs backed up with Veeam.
Every once in a while a new drive gets attached and every once in a while it doesn't get included into the backup.(at least thats my fear)
So to cross check if everything is still backed up, I have to manually match the VM/ESX Drives to the Veeam Config via Veeam Console.
This is a major pain, uses up too much time and since a human is doing it, the possibility of making mistakes/omiting VMs etc... is existent.
I've seen this Diskfilter question several times now, and there was never a real answer.
I would be pleased if you could give me a straight answer:
Is it possible? If so, how?
or its not possible?
Kind Regards
Felix
seems its still there in 5.0.2.230...
Anyhow:
There is still one question open:
Diskfilter -> How can the info in the Diskfilter field be transformed/parsed into something that can be matched against ESX/WMI to get the drives that are actually backed up?
The explanation you gave above does not give me any usable information(again, i might be missing something):
"Those are VM disks numbers. As to disk filters, then they are stored and can be configured for each VM individually. To get all available filters please use GetVBRJobObject"
So, is it possible to parse/transform those numbers? If so, how?
This is still one major issue for us. We have now +200VMs backed up with Veeam.
Every once in a while a new drive gets attached and every once in a while it doesn't get included into the backup.(at least thats my fear)
So to cross check if everything is still backed up, I have to manually match the VM/ESX Drives to the Veeam Config via Veeam Console.
This is a major pain, uses up too much time and since a human is doing it, the possibility of making mistakes/omiting VMs etc... is existent.
I've seen this Diskfilter question several times now, and there was never a real answer.
I would be pleased if you could give me a straight answer:
Is it possible? If so, how?
or its not possible?
Kind Regards
Felix
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Export Job Configuration
Felix,
I guess it is possible. All disks are enumerated one by one, so if you want to match SCSI (0:0) then it should be 2000 and so on:
Does it help?
Thanks.
I guess it is possible. All disks are enumerated one by one, so if you want to match SCSI (0:0) then it should be 2000 and so on:
Code: Select all
SCSI (0:1) - 2001
SCSI (0:2) - 2002
...
SCSI (1:0) - 2015
Thanks.
-
- Influencer
- Posts: 19
- Liked: never
- Joined: Jan 18, 2013 3:36 pm
- Full Name: Alex Nunley
- Contact:
[MERGED] Exclude disk using Diskfilter?
Is this possible? I would like to create a script to remove disk 0:15 from all jobs. I came across a few posts talking about diskfilter, but I've not thought of a way to turn that into a thing.
-
- Expert
- Posts: 125
- Liked: 3 times
- Joined: Mar 23, 2009 4:44 pm
- Full Name: Matt
- Contact:
Re: Export Job Configuration
Does this still work? I'm running V6.5 and I just get "WARNING: Cmdlet is obsolete"Vitaliy S. wrote:Hello,
Yes, you can do that via Get-VBRJob | Export-VBRJob PowerShell command. This will export all jobs configurations into XML file, which can be used for your future comparison.
Hope it helps!
What would be the updated version of this?
Thanks!
-
- Expert
- Posts: 125
- Liked: 3 times
- Joined: Mar 23, 2009 4:44 pm
- Full Name: Matt
- Contact:
Re: Export Job Configuration
Ah... nevermind. Got it:
get-vbrjob | Export-csv c:\out.txt
get-vbrjob | Export-csv c:\out.txt
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Jul 20, 2017 7:22 am
- Contact:
Re: Export Job Configuration
Hi
I try this and this is not good for me. I need all details exported bisouse i must create backup document for customer. I can create print screens but it takes to loong.
I try this and this is not good for me. I need all details exported bisouse i must create backup document for customer. I can create print screens but it takes to loong.
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Export Job Configuration
Then this predefined report should be a way to go > Job Configuration Dump
-
- Influencer
- Posts: 15
- Liked: 1 time
- Joined: Mar 01, 2016 9:28 pm
- Full Name: John Capone
- Contact:
Re: Export Job Configuration
Not all of us can afford Veeam One. Is there another way to export job configuration details to a file so we can compare config settings between multiple jobs?
-
- VeeaMVP
- Posts: 695
- Liked: 374 times
- Joined: Jun 24, 2019 1:39 pm
- Full Name: Chris Arceneaux
- Location: Georgia, USA
- Contact:
Re: Export Job Configuration
HI John,
You can find your answer further up in the thread:
You can find your answer further up in the thread:
Here is the Veeam documentation for that cmdlet: Export-VBRJobVitaliy S. wrote: ↑Dec 10, 2010 10:23 am Yes, you can do that via Get-VBRJob | Export-VBRJob PowerShell command. This will export all jobs configurations into XML file, which can be used for your future comparison.
-
- Expert
- Posts: 101
- Liked: 4 times
- Joined: Aug 28, 2014 12:16 pm
- Contact:
Re: Export Job Configuration
Hmm, this is for Export-VBRBackup an not for Job
-
- Expert
- Posts: 101
- Liked: 4 times
- Joined: Aug 28, 2014 12:16 pm
- Contact:
[MERGED] Job Ex- and Import possibilitys
Hi,
I have set up a new V10 B&R Server. I like to Import some Jobs from my "old" B&R Server.
How can I do this ?
I found nothing to solve this theme and I don't want to restore a backupconfiguration.
Thanks.
Best regards
Volker
I have set up a new V10 B&R Server. I like to Import some Jobs from my "old" B&R Server.
How can I do this ?
I found nothing to solve this theme and I don't want to restore a backupconfiguration.
Thanks.
Best regards
Volker
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Export Job Configuration
Before we dig deeper into scripting, can you tell me why configuration backup and restore is not an option here?
Also, what jobs settings have you modified and what left intact (should help isolate the script to transferring only specific values, if we stick to scripting eventually)?
Thanks!
Also, what jobs settings have you modified and what left intact (should help isolate the script to transferring only specific values, if we stick to scripting eventually)?
Thanks!
-
- Expert
- Posts: 101
- Liked: 4 times
- Joined: Aug 28, 2014 12:16 pm
- Contact:
Re: Export Job Configuration
I like to put some Jobs from Server A to the new one Server B. I dont want to restore or migrate all config and Jobs from Server A to B.
All settings by the choosen Jobs should be exported on Server A and imported to Server B.
All settings by the choosen Jobs should be exported on Server A and imported to Server B.
-
- Veeam Software
- Posts: 1818
- Liked: 655 times
- Joined: Mar 02, 2012 1:40 pm
- Full Name: Timothy Dewin
- Contact:
Re: Export Job Configuration
There is a veeam SE that made a script for this : https://github.com/VeeamHub/powershell/ ... ossServers
But I can see he has not yet tested it with v10 so it might or might not work.
But I can see he has not yet tested it with v10 so it might or might not work.
-
- Expert
- Posts: 101
- Liked: 4 times
- Joined: Aug 28, 2014 12:16 pm
- Contact:
Re: Export Job Configuration
Thanks, I tryed it out, but initial there are too many Erros at Execution referenced to the HTML part
-
- VeeaMVP
- Posts: 1124
- Liked: 309 times
- Joined: Feb 02, 2012 7:03 pm
- Full Name: Danilo Chiavari
- Location: Rome, IT
- Contact:
Re: Export Job Configuration
Hi, script author here. I haven't tried it yet with VB&R v10, but if you want we can take a look at the errors and see what we can do.
You can send me an email if you want: danilo.chiavari -at- veeam.com
You can send me an email if you want: danilo.chiavari -at- veeam.com
Danilo Chiavari
Presales Manager - Italy
www.danilochiavari.com
Presales Manager - Italy
www.danilochiavari.com
Who is online
Users browsing this forum: Amazon [Bot] and 19 guests