This works to get the latest restore point from a backup job but I want to find the latest restore point from the AWS immutable backup.
Can anyone point me in the right direction?
$backup = Get-VBRBackup -Name 'BackupJob'
$RestorePoints = Get-VBRRestorePoint -Name 'SERVER' -Backup $backup | Sort-Object -Property CreationTime -Descending
-
- Enthusiast
- Posts: 67
- Liked: 6 times
- Joined: Aug 07, 2015 8:45 pm
- Full Name: David Engler
- Contact:
-
- Product Manager
- Posts: 14844
- Liked: 3086 times
- Joined: Sep 01, 2014 11:46 am
- Full Name: Hannes Kasparick
- Location: Austria
- Contact:
Re: Get latest immutable restore point
Hello,
I'm not sure whether we have that information available with PowerShell (my colleague will answer on that).
But maybe your intention is just to find out the immutable time in general. We are working on that for V11. The backups view will have a new column that shows the "immutable until" time.
Best regards,
Hannes
I'm not sure whether we have that information available with PowerShell (my colleague will answer on that).
But maybe your intention is just to find out the immutable time in general. We are working on that for V11. The backups view will have a new column that shows the "immutable until" time.
Best regards,
Hannes
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Get latest immutable restore point
Hi David,
To be precise, in regards to restore points immutability is a property of their storages rather than restore points themselves.
So, you need to get storage available for particular restore point to know which one is immutable:
ExternalContentMode is a property, which marks the tier your storage is located on. Though, it reads 'External' only if storage was moved to capacity, not copied, it might also help you get the idea.
Thanks,
Oleg
To be precise, in regards to restore points immutability is a property of their storages rather than restore points themselves.
So, you need to get storage available for particular restore point to know which one is immutable:
Code: Select all
$backup = Get-VBRBackup -Name 'Backup to SOBR'
$restorePoints = Get-VBRRestorePoint -Backup $backup
foreach ($restorePoint in $restorePoints) {
$restorePoint.GetStorage() | select @{n='Name';e={$_.PartialPath.ToString()}}, IsImmutable, ImmutableTillUTC, ExternalContentMode | fl
}
Thanks,
Oleg
-
- Veteran
- Posts: 599
- Liked: 87 times
- Joined: Dec 20, 2015 6:24 pm
- Contact:
Re: Get latest immutable restore point
That sounds great, currently it's a lot of trial and error for us to get rid of some old backups.
Who is online
Users browsing this forum: No registered users and 3 guests