PowerShell script exchange
Post Reply
chris1974
Lurker
Posts: 2
Liked: never
Joined: Sep 10, 2010 9:45 am
Full Name: Christian D.
Contact:

PowerShell Scripting

Post by chris1974 »

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!
Vitaliy S.
VP, Product Management
Posts: 27364
Liked: 2794 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: PowerShell Scripting

Post by Vitaliy S. »

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.
VP, Product Management
Posts: 27364
Liked: 2794 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: PowerShell Scripting

Post by Vitaliy S. »

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!
chris1974
Lurker
Posts: 2
Liked: never
Joined: Sep 10, 2010 9:45 am
Full Name: Christian D.
Contact:

Re: PowerShell Scripting

Post by chris1974 »

Thank you very much!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests