PowerShell script exchange
Post Reply
sfort
Novice
Posts: 9
Liked: never
Joined: Apr 24, 2013 9:38 am
Full Name: Sfort
Contact:

Backup Status by querying VBM directly

Post by sfort »

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
jbennett
Enthusiast
Posts: 33
Liked: 12 times
Joined: Jun 23, 2015 3:47 pm
Full Name: Justin Bennett
Location: Los Angeles, CA
Contact:

Re: Backup Status by querying VBM directly

Post by jbennett »

What kind of information are you trying to discover from the VBM?
-Justin
[@cajeeper]|[http://www.allthingstechie.net]
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup Status by querying VBM directly

Post by veremin » 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.
sfort
Novice
Posts: 9
Liked: never
Joined: Apr 24, 2013 9:38 am
Full Name: Sfort
Contact:

Re: Backup Status by querying VBM directly

Post by sfort »

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
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup Status by querying VBM directly

Post by veremin »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests