PowerShell Scripting

PowerShell script exchange

PowerShell Scripting

Veeam Logoby chris1974 » Fri Sep 10, 2010 11:09 am

Hello,
i´ve got a presales question about B&R:

Can i use Start-VBRGuestFileRestore in a Script to access the LAST Backup of a specific VM from a specific Job?
Will the Backup then be mounted as a drive or a subdirectory in an existing drive?

I´d like to access every day the last Backup of a number of VMs and then do a file-based backup with a third-party Backup Solution. Currenty we are using VCB and it´s functions to do that.

Thanks!
chris1974
Lurker
 
Posts: 2
Liked: never
Joined: Fri Sep 10, 2010 9:45 am
Full Name: Christian D.

Re: PowerShell Scripting

Veeam Logoby Vitaliy S. » Fri Sep 10, 2010 1:09 pm

Chris,

I believe it is possible to do so, as you may script with PowerShell almost every action which is available from the GUI. However let me double check it with the Dev team first.
Vitaliy S.
Veeam Software
 
Posts: 19564
Liked: 1104 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: PowerShell Scripting

Veeam Logoby Vitaliy S. » Fri Sep 10, 2010 10:08 pm

I've done some research on your request and judging by the output during my testing, the option you need is available while using the syntax below:
Code: Select all
Start-VBRGuestFileRestore ((Get-VBRJobRestorePoints "Job_Name" "VM_Name" | sort CreationTime)[0])

Hope it helps!
Vitaliy S.
Veeam Software
 
Posts: 19564
Liked: 1104 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: PowerShell Scripting

Veeam Logoby chris1974 » Sat Sep 11, 2010 3:32 pm

Thank you very much!
chris1974
Lurker
 
Posts: 2
Liked: never
Joined: Fri Sep 10, 2010 9:45 am
Full Name: Christian D.


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 6 guests