powershell : Import-vbrbackup

PowerShell script exchange

powershell : Import-vbrbackup

Veeam Logoby xavier31 » Thu May 12, 2011 11:50 am

hi,
i backup my vms into a linux share.
i want to import this backup to a another veeam server.
i have already import this linux server in the veeam gui

is there a way to import the backup with powershell ?

I try this : Import-vbrbackup -server $vbrServer -FileName \\MyLinuxIP\Mylinuxshare\MyVBKfile
and this : Import-vbrbackup -server $vbrServer -FileName root@MyLinuxIP:\Mylinuxshare\MyVBKfile
But it's not ok.

If i try with a local vbk like this : Import-vbrbackup -server $vbrServer -FileName c:\MyVBKfile it 's ok
But what is the syntaxe for a linux remote server ?

thanks for any help
xavier31
Lurker
 
Posts: 1
Liked: never
Joined: Thu May 12, 2011 11:28 am
Full Name: xavier

Re: powershell : Import-vbrbackup

Veeam Logoby Alexey D. » Thu May 12, 2011 1:45 pm

Hello Xavier,

I would suggest you to try mounting these shared folders to Windows filesystem. With CIFS share, this can be done using native tools, you may follow this link for explanation: Mount Remote CIFS/SMB Share as a Folder not a Drive Letter . For other types of protocol there should be 3rd party tools available.

After mounting, apply this expression:

Code: Select all
Import-vbrbackup -server $vbrServer -FileName c:\PathToMountedFolder\MyVBKfile


Please let us know if this works.
Alexey D.
 


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 4 guests