Good morning:
I need to retrieve only the restore points of type "Full" from a single Job in order to restore VM files and send it to a secondary destination. I have tried Get-VBRRestorePoint -Backup(Get-VBRBackup -Name "Backups") -Name Windows* | select -Last 1 and i succesfully can find the last restore point named Windows.. After that i thought i could change the parameter "Name" for "Type" so I could pass a -Type "Full" but it prompts an error that "Type" is not recognized as a parameter for Get-VBRRestorePoint.
The question, in summary, is how can i filter Full backups in Get-VBRRestorePoint? or maybe using another cmdlet?
Thanks so much in advance.
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Feb 19, 2013 1:42 pm
- Full Name: David Espejo
- Contact:
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: How to get only Full backups with Get-VBRRestorePoint
Try the following script, it will list for a given job all restore points which type is full:
If you’re willing to list these points for a specific VM, "–name" parameter is needed:
Hope this helps.
Thanks.
Code: Select all
Add-PSSnapin VeeamPssnapin
Get-VBRBackup -name "Name of your Job" | Get-VBRRestorePoint | ? {$_.type -eq "Full"}
Code: Select all
Add-PSSnapin VeeamPssnapin
Get-VBRBackup -name "Name of your Job" | Get-VBRRestorePoint -name "Name of your VM"| ? {$_.type -eq "Full"}
Hope this helps.
Thanks.
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Feb 19, 2013 1:42 pm
- Full Name: David Espejo
- Contact:
Re: How to get only Full backups with Get-VBRRestorePoint
Works like a charm!
Thanks so much v.Eremin.
Thanks so much v.Eremin.
Who is online
Users browsing this forum: No registered users and 13 guests