hello
i need to extract all the backup that are imported.
i'm trying to use the cmd
get-VBRJobObject -job "jobname"
if jobname is a backup Job non imported, it shows all vm contained, otherwise if jobname is an imported backup job i have the error "Job with name XXXXX was not found"
someone can help me?
many thanks
Stefano
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Feb 14, 2014 9:44 am
- Full Name: art has
- Contact:
-
- Product Manager
- Posts: 20406
- Liked: 2299 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: how to get backup from an imported backup repository?
From my perspective, the algorithm should be as the following.
1) Get list of all imported backups. ($ImportedBackups = Get-VBRBackup | where {$_.FindJob() -eq $null})
2) Create a cycle, within which you will:
a) Get a required restore point for given backup (Get-VBRRestorePoint)
b) Restore the corresponding restore point (Start-VBRRestoreVM)
c) Proceed to the other backup
Thanks.
1) Get list of all imported backups. ($ImportedBackups = Get-VBRBackup | where {$_.FindJob() -eq $null})
2) Create a cycle, within which you will:
a) Get a required restore point for given backup (Get-VBRRestorePoint)
b) Restore the corresponding restore point (Start-VBRRestoreVM)
c) Proceed to the other backup
Thanks.
Who is online
Users browsing this forum: No registered users and 14 guests