07-20-2015 12:38 PM
Hi All,
We are trying restoration of linux files using BackupExec command line BEMCLI.
Is it possible to restore linux files using command line of BackuExec?
Please share some working example so that it will be helpful for reference.
Thanks and Regards
Riyas Hussain A
07-20-2015 09:16 PM
Have a look @ the Submit-BEFileSystemRestoreJob cmdlet.
The BEMCLI guide contains the syntax and few examples as well of this cmdlet. BEMCLI Help - https://support.symantec.com/en_US/article.DOC8212.html
07-21-2015 01:55 AM
Hi,
Thanks for your reply. We looked into that. the issue is it doesnt show any example how to use it for linux. Only for windows they have given example.
We need to know how to specify linux path etc.
Thanks and Regards
Riyas Hussain A
07-21-2015 02:45 AM
Linux path is specified using a / whereas Windows uses \.
Try a test restore and if it fails, post the command which you have used.
EDITED
I believe, BEMCLI support for Linux is added with FP1 for Be 15 and there is a new cmdlet "Submit-BELinuxMacRestoreJob". Try using this cmdlet & if this doesn't work, then the cmdlet provided in the first reply should.
07-22-2015 07:30 AM
I tried with with following commands.
Get-BEAgentServer ${SourceClient} | Submit-BELinuxMacRestoreJob -FileSystemSelection / -PointInTime "7/20/2015 11:00:04 AM" -OverwriteExistingFile Yes
Error : The term ‘Submit-BELinuxMacRestoreJob’ is not recognized as the name of a cmdlet, function, script file, or operable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
${SourceClient} : is the linux server which has backup
and
Get-BEAgentServer ${SourceClient} | Submit-BEFileSystemRestoreJob -FileSystemSelection / -PointInTime "7/20/2015 11:00:04 AM" -OverwriteExistingFile Yes
Error : Submit-BEFileSystemRestoreJob : FileSystemSelection is not a valid parameter for the specified agent server type.
${SourceClient} : is the linux server which has backup
07-22-2015 11:36 AM
Is your BE 15 updated with FP1 ?
If not, update it and then retry running the BEMCLI cmdlets.
07-22-2015 07:45 PM
I just download the BEMCLI Guide and the Submit-BELinuxMacRestoreJob cmdlet is not documented there.
07-22-2015 11:08 PM
@ pkh I suspect the BEMCLI guide available online isn't updated yet. Open the BEMCLI Help from \Program Files\Symantec\Backup Exec directory on a BE 15 FP1 media server and the BEMCLI documents the Submit-BELinuxMacRestoreJob cmdlet.
@RiyasHussain
First make sure FP1 is applied. Download the update from this link - https://support.symantec.com/en_US/article.TECH228725.html
Then the cmdlet will work and here are couple of examples from the BEMCLI Help -
These commands restore a directory named /root/BackupUpData from the most recent backup set for a job named "Job 0001".
These commands restore a directory named /root/BackupUpData from the most recent backup set for a server named "myserver.mycompany.com".