Comprehensive data protection for all workloads
Post Reply
nokogerra
Enthusiast
Posts: 42
Liked: 2 times
Joined: Sep 09, 2015 3:12 am
Full Name: Anatoliy Kopylov
Contact:

The easiest way to get bakup job settings summary. B&R9.

Post by nokogerra » Aug 15, 2016 10:11 am

Hello there.
I`m looking the easy way to get summary information about backup jobs settings (such as synthetic full schedule, maintenance settings, guest proc settings, etc.) so I can comfortably view all the settings without clocking "edit" each job. I`ve read something about Veeam pssnapin for powershell, however didn`t learn it yet. I think the problem can be solved by powershell, but may be there is another way to solve the problem. Any advices?

nokogerra
Enthusiast
Posts: 42
Liked: 2 times
Joined: Sep 09, 2015 3:12 am
Full Name: Anatoliy Kopylov
Contact:

Re: The easiest way to get bakup job settings summary. B&R9.

Post by nokogerra » Aug 15, 2016 10:44 am

update: I guess the topic was moved to the "Powershell" forum by a moderator (I posted it in the "Veeam Backup & Replication" if I didn`t miss something ), but my question is not specific about powershell, it is about any easy way to get the backup job settings info. Could this topic be moved to the "Veeam Backup & Replication" forum? I can`t find the method to PM the moderator who moved this topic (I am aware about "The team" link, however I don`t know by whom my post was moved).

v.eremin
Product Manager
Posts: 16325
Liked: 1343 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: The easiest way to get bakup job settings summary. B&R9.

Post by v.eremin » Aug 15, 2016 6:21 pm

As per your request, the topic has been moved back to the general forum.

Speaking about the easiest option to display job settings, PowerShell seems to be a way to go. The corresponding subforum contains several examples, so feel free to check them.

Thanks.

nokogerra
Enthusiast
Posts: 42
Liked: 2 times
Joined: Sep 09, 2015 3:12 am
Full Name: Anatoliy Kopylov
Contact:

Re: The easiest way to get bakup job settings summary. B&R9.

Post by nokogerra » Aug 16, 2016 9:58 am

Thanks for your reply.
I guess "get-vbrjob" and "get-vbrjobscheduleoptions" are the commandlets I need, however I cant see any info about synthetic full job options in the output. Also the output of these commands about the scheduler info is not so easy to interpret. Is there another way to get scheduler information more comfy?

v.eremin
Product Manager
Posts: 16325
Liked: 1343 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: The easiest way to get bakup job settings summary. B&R9.

Post by v.eremin » Aug 16, 2016 10:32 am 1 person likes this post

Try the following example; should give you some hints:

Code: Select all

Asnp VeeamPSSnapin
Get-VBRJob | where {$_.Jobtype -eq "Backup"} | select -Property @{N="Name"; E={$_.Name}}, @{N="FullEnabled"; E={$_.BackupStorageOptions.EnableFullBackup}}, @{N="IsSynthetic"; E={$_.BackupTargetOptions.TransformFullToSyntethic}}, @{N="SyntheticDays"; E={$_.BackupTargetOptions.TransformToSyntethicDays}}
Thanks.

nokogerra
Enthusiast
Posts: 42
Liked: 2 times
Joined: Sep 09, 2015 3:12 am
Full Name: Anatoliy Kopylov
Contact:

Re: The easiest way to get bakup job settings summary. B&R9.

Post by nokogerra » Aug 16, 2016 10:49 am

Thanks, the output of your example is pretty clear.
One more question: I cant figure out the info about the retention plicy. E.g. I set to keep 60 restore points in the job settings, however "get-vbrjob" and "get-vbrjobvssoptions" give me only some info about "RetainDays", not restore points, and the value is 15, not the 60. What is this about?

nokogerra
Enthusiast
Posts: 42
Liked: 2 times
Joined: Sep 09, 2015 3:12 am
Full Name: Anatoliy Kopylov
Contact:

Re: The easiest way to get bakup job settings summary. B&R9.

Post by nokogerra » Aug 16, 2016 11:09 am

Oh, I think I got it, I guess I need

Code: Select all

$job.BackupStorageOptions
, e.g.:
CheckRetention : True
RetainCycles : 60
KeepFirstFullBackup : False
RetainDays : 14
EnableDeletedVmDataRetention : False
CompressionLevel : 5
EnableDeduplication : True
StgBlockSize : KbBlockSize1024
EnableIntegrityChecks : True
EnableFullBackup : False
BackupIsAttached : False
StorageEncryptionEnabled : False

v.eremin
Product Manager
Posts: 16325
Liked: 1343 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: The easiest way to get bakup job settings summary. B&R9.

Post by v.eremin » Aug 16, 2016 11:20 am 1 person likes this post

RetainCycles property contains information about retention settings. You can easily incorporate it in the provided example:

Code: Select all

Asnp VeeamPSSnapin
Get-VBRJob | where {$_.Jobtype -eq "Backup"} | select -Property @{N="Name"; E={$_.Name}}, @{N="FullEnabled"; E={$_.BackupStorageOptions.EnableFullBackup}}, @{N="IsSynthetic"; E={$_.BackupTargetOptions.TransformFullToSyntethic}}, @{N="SyntheticDays"; E={$_.BackupTargetOptions.TransformToSyntethicDays}}, @{N="Retention policy"; E={$_.BackupStorageOptions.RetainCycles}}
Thanks.

nokogerra
Enthusiast
Posts: 42
Liked: 2 times
Joined: Sep 09, 2015 3:12 am
Full Name: Anatoliy Kopylov
Contact:

Re: The easiest way to get bakup job settings summary. B&R9.

Post by nokogerra » Aug 16, 2016 11:47 am 1 person likes this post

Thanks for your help. I have no more questions now.

v.eremin
Product Manager
Posts: 16325
Liked: 1343 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: The easiest way to get bakup job settings summary. B&R9.

Post by v.eremin » Aug 16, 2016 12:14 pm

You're welcome. If you have other questions about either product or PowerShell snap-in, feel free to reach us. Thanks.

Vitaliy S.
Product Manager
Posts: 22521
Liked: 1471 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: The easiest way to get bakup job settings summary. B&R9.

Post by Vitaliy S. » Aug 16, 2016 3:31 pm

Alternatively, you can use this predefined report from Veeam ONE > Job Configuration Dump

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], holzhei and 14 guests