Backup Status by querying VBM directly

PowerShell script exchange

Backup Status by querying VBM directly

Veeam Logoby sfort » Tue Nov 03, 2015 6:50 am

Hi,

I have a script that queries a Veeam VBM file directly to pull various information out - however with encrypted backups I cannot access this information. Is there any way around this if I know the password or should I really be doing everything with Powershell?

Thx
sfort
Novice
 
Posts: 9
Liked: never
Joined: Wed Apr 24, 2013 9:38 am
Full Name: Sfort

Re: Backup Status by querying VBM directly

Veeam Logoby jbennett » Tue Nov 03, 2015 9:16 am

What kind of information are you trying to discover from the VBM?
-Justin
[@cajeeper]|[http://www.allthingstechie.net]
jbennett
Enthusiast
 
Posts: 33
Liked: 12 times
Joined: Tue Jun 23, 2015 3:47 pm
Location: Hemet, CA
Full Name: Justin Bennett

Re: Backup Status by querying VBM directly

Veeam Logoby v.Eremin » Tue Nov 03, 2015 4:41 pm 1 person likes this post

If you're working with .vbm file directly, trying to parse via text commandlets, encryption will prevent you from doing it.

So, the question asked by Justin is still valid - what kind of information you're trying to get? May be we can find a way to get it, apart from .vbm parsing.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Backup Status by querying VBM directly

Veeam Logoby sfort » Wed Nov 04, 2015 12:10 am

The main things I'm looking to get are hosts, VM names, and the isCorrupted flag - and if possible the backup size and data size.

Thx
sfort
Novice
 
Posts: 9
Liked: never
Joined: Wed Apr 24, 2013 9:38 am
Full Name: Sfort

Re: Backup Status by querying VBM directly

Veeam Logoby v.Eremin » Wed Nov 04, 2015 11:56 pm

hosts

Try Find-VBRViEntity commandlet.

VM names

Code: Select all
$Backup = Get-VBRBackup -name "Name of your Job"
$Backup | Get-VBRRestorePoint | select VMName, CreationTime, IsCorrupted


backup size and data size

Take a look at this topic.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 8 guests