-
- 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.
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?
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?
-
- 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.
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).
-
- Product Manager
- Posts: 20405
- Liked: 2298 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.
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.
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.
-
- 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.
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?
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?
-
- Product Manager
- Posts: 20405
- Liked: 2298 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.
Try the following example; should give you some hints:
Thanks.
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}}
-
- 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.
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?
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?
-
- 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.
Oh, I think I got it, I guess I need
, 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
Code: Select all
$job.BackupStorageOptions
CheckRetention : True
RetainCycles : 60
KeepFirstFullBackup : False
RetainDays : 14
EnableDeletedVmDataRetention : False
CompressionLevel : 5
EnableDeduplication : True
StgBlockSize : KbBlockSize1024
EnableIntegrityChecks : True
EnableFullBackup : False
BackupIsAttached : False
StorageEncryptionEnabled : False
-
- Product Manager
- Posts: 20405
- Liked: 2298 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.
RetainCycles property contains information about retention settings. You can easily incorporate it in the provided example:
Thanks.
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}}
-
- 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.
Thanks for your help. I have no more questions now.
-
- Product Manager
- Posts: 20405
- Liked: 2298 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.
You're welcome. If you have other questions about either product or PowerShell snap-in, feel free to reach us. Thanks.
-
- VP, Product Management
- Posts: 27376
- Liked: 2799 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.
Alternatively, you can use this predefined report from Veeam ONE > Job Configuration Dump
Who is online
Users browsing this forum: Majestic-12 [Bot], mbrzezinski, mmerino, vhernandez and 259 guests