PowerShell script exchange
Post Reply
efd121
Enthusiast
Posts: 73
Liked: 6 times
Joined: Aug 07, 2015 8:45 pm
Full Name: David Engler
Contact:

Get-VBRRestorePoint returning unavaiable backups

Post by efd121 »

I'm not sure if this indicates an issue or if there is a way to see which restore points are available. I ran Get-VBRRestorePoint for a VM and its returning restore points that have expired. They appear to be from old monthly tape backups but I'm not sure.

When I attempt to restore one of them using Start-VBRRestoreVM it immediately displays a warning that the backup files are unavailable.

Is there a way to determine which ones are available and/or remove the ones that are no longer available?

Dave
david.domask
Veeam Software
Posts: 2744
Liked: 630 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Get-VBRRestorePoint returning unavaiable backups

Post by david.domask »

Hi Dave,

Right now you'll need to use unsupported methods to check this as far as I'm aware. COib objects returned by Get-VBRRestorePoint will have a method to return the storages (backup files), and this is what you check for availability. For a simple example for a backup with one machine in it:

Code: Select all

PS C:\Users\david.LAB> $rps = Get-VBRRestorePoint -Backup $backup

VM Name                   Creation Time          Type
-------                   -------------          ----
HK-MHVTL-tmpl             16.01.2025 17:31:04    Full

PS C:\Users\david.LAB> $rps.GetStorage().IsAvailable
True
Get-VBRRestorePoint doesn't work with restore points on Tape, so it would be interesting if it's really a backup on Tape -- that is best reviewed with Support as it should not happen.

Powershell reports from the database and returns information on the existence of backups/restore points in the database -- the message about "backup not available" refers to the backup file itself (storages), so while I understand the error you get is a bit confusing from the shell, it's expected here, and should prompt an investigation on the same backup from the UI -- likely trying to start an FLR from the same restore point via the console will return the same error; start with a repository rescan and try the operation again to see if it helps, and if not, it's best to open a Support Case and allow Support to review the situation.
David Domask | Product Management: Principal Analyst
chris.arceneaux
VeeaMVP
Posts: 711
Liked: 379 times
Joined: Jun 24, 2019 1:39 pm
Full Name: Chris Arceneaux
Location: Georgia, USA
Contact:

Re: Get-VBRRestorePoint returning unavaiable backups

Post by chris.arceneaux »

Hi Dave,

Our documentation covers how Veeam handles outdated tapes. Most likely, the restore points you see are tied to outdated tapes that are offline. If a tape is offline, Veeam assumes the backup data is still present.

https://helpcenter.veeam.com/docs/backup/vsphere/tape_data_retention.html#managing-outdated-tapes

Hope this helps!
efd121
Enthusiast
Posts: 73
Liked: 6 times
Joined: Aug 07, 2015 8:45 pm
Full Name: David Engler
Contact:

Re: Get-VBRRestorePoint returning unavaiable backups

Post by efd121 »

It does appear that Get-VBRRestorePoint is returning restore points on tape. I'm seeing the same restore points from Get-VBRRestorePoint that appear in the properties of the same VM from a tape backup.

The command you provided above does help me.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests