PowerShell script exchange
Post Reply
ober72
Veeam Vanguard
Posts: 701
Liked: 138 times
Joined: Jan 24, 2014 4:10 pm
Full Name: Geoff Burke
Contact:

All available restore points in Offsite Backup Copy Job

Post by ober72 »

Hi Folks,

Forgive me if this has been brought up but I did not seem to find exactly what I am looking for. Basically I want to be able to to see a list of all the restore points (with dates) available for all of my servers in offsite Backup copy jobs. Some of my locations don't have great bandwidth and I want to know how far behind they are.

Thanks
Geoff Burke
VMCA2022, VMCE2023, CKA, CKAD
Veeam Vanguard, Veeam Legend
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: All available restore points in Offsite Backup Copy Job

Post by Shestakov »

Hi Geoff,
Besides powershell scripts.
you can use such predefined Veeam ONE reports as VMs with no Archive Copy and Backup Copy Job.
Thanks!
ober72
Veeam Vanguard
Posts: 701
Liked: 138 times
Joined: Jan 24, 2014 4:10 pm
Full Name: Geoff Burke
Contact:

Re: All available restore points in Offsite Backup Copy Job

Post by ober72 »

Hi Nikita,

Yes thanks if I could I would love to have those on all the servers but there are cost implications unfortunately for clients since if I am correct Veeam ONe monitoring data protection needs the full licence so I am trying the next best thing :)

cheers
Geoff Burke
VMCA2022, VMCE2023, CKA, CKAD
Veeam Vanguard, Veeam Legend
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: All available restore points in Offsite Backup Copy Job

Post by Shestakov »

That`s correct. Veeam ONE does require license. But once you have it, you can use the reports through web interface from every server.
Let`s see if powershell gurus can offer an analog script.
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: All available restore points in Offsite Backup Copy Job

Post by veremin »

The following one-liner lists all backups created by backup copy jobs along with job names and several dates. Take a look and see whether you need something more comprehensive:

Code: Select all

asnp VeeamPSSnapin
Get-VBRBackup | where {$_.JobType -eq "BackupSync"} | select name, JobName, CreationTime, LastPointCreationTime
Thanks.
ober72
Veeam Vanguard
Posts: 701
Liked: 138 times
Joined: Jan 24, 2014 4:10 pm
Full Name: Geoff Burke
Contact:

Re: All available restore points in Offsite Backup Copy Job

Post by ober72 »

Thanks Vladimir that is great. I will try to be less lazy and read the document :) Constantly playing catch up here :)

cheers
Geoff Burke
VMCA2022, VMCE2023, CKA, CKAD
Veeam Vanguard, Veeam Legend
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: All available restore points in Offsite Backup Copy Job

Post by veremin »

You're welcome as always, Geoff. The best documentation regarding out PowerShell snap-in is this one.

And, of course, no one denies trial and error approach with the use of my favorite commandlets: Get-Help, Get-Command and Get-Member.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests