Exmaple to restore list of files via Veeam PowerShell?

PowerShell script exchange

Exmaple to restore list of files via Veeam PowerShell?

Veeam Logoby carlosbehlau » Mon May 29, 2017 1:00 pm

Hello Veeam PowerShell Experts,

does there exists a example script for Start-VBRWindowsFileRestore that cover the following?

I am having a PowerShell output of files, I want to restore to their original location.
It looks like, this could be done, with the PowerShell of Veeam, as the Veeam Explorer does not have the function, to upload files lists to be restored.

When I am looking here for Start-VBRWindowsFileRestore, I haven't yet found a example script, that restores files to their original location.

Many thanks for your help.


Best regards



Carlos Behlau
carlosbehlau
Novice
 
Posts: 8
Liked: never
Joined: Tue Jan 20, 2015 5:43 pm
Full Name: Carlos Behlau

Re: Exmaple to restore list of files via Veeam PowerShell?

Veeam Logoby v.Eremin » Wed May 31, 2017 10:55 am

There is no switch or parameter allowing you to restore files back to original location automatically. So, you still have to specify target path for Copy-Item cmdlet (Copy $file $targetDir). Thanks.
v.Eremin
Veeam Software
 
Posts: 13279
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: Google [Bot] and 7 guests