Comprehensive data protection for all workloads
Post Reply
nokogerra
Enthusiast
Posts: 48
Liked: 4 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 »

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: 48
Liked: 4 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 »

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).
veremin
Product Manager
Posts: 20270
Liked: 2252 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 veremin »

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: 48
Liked: 4 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 »

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?
veremin
Product Manager
Posts: 20270
Liked: 2252 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 veremin » 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: 48
Liked: 4 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 »

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: 48
Liked: 4 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 »

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
veremin
Product Manager
Posts: 20270
Liked: 2252 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 veremin » 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: 48
Liked: 4 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 » 1 person likes this post

Thanks for your help. I have no more questions now.
veremin
Product Manager
Posts: 20270
Liked: 2252 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 veremin »

You're welcome. If you have other questions about either product or PowerShell snap-in, feel free to reach us. Thanks.
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 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. »

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

Who is online

Users browsing this forum: Amazon [Bot] and 240 guests