jmorrison
8 years agoLevel 1
BEMCLI vs BE2016 UI
I'm trying to backup specific directories on a NAS (EMC Isilon). I can create and submit a job, manually, via the UI without any problems.
However, when doing the same via BEMCLI I get errors trying to create the file selection.
Here is the bemcli cmd.
Submit-BEOnetimeBackupJob -agentserver $agent -name "dynojob" -SubmitOnHold $true -Storage $storage -FileSystemSelection "pipeline\code\scripts\*"
The agent and storage variables are correct.
here are the $agent and $storage variable values
PS C:\Users\administrator.SSLA> $agent Name ---- isilon-nl PS C:\Users\administrator.SSLA> $storage Name StorageType Active Paused Disabled Servers ---- ----------- ------ ------ -------- ------- Robotic library 0002 RoboticLibraryDevice False False False {SSLABKUP}
Here is the error
Submit-BEOnetimeBackupJob : Cannot make a selection for "pipeline\code\scripts\*" because the \\*\* volume is not on the specified agent server. At line:1 char:1 + Submit-BEOnetimeBackupJob -agentserver $agent -name "dynojob" -SubmitOnHold $tru ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:String) [Submit-BEOnetimeBackupJob], ItemNotFoundException + FullyQualifiedErrorId : SessionStateException,BackupExec.Management.CLI.Commands.SubmitBEOnetimeBackupJobCommand
for the file selection, i've tried "\\isilon-nl\pipeline\code\...." and "isilon-nl\pipeline\code\...." and "\pipeline\code\...." and "code\....". I even tried isilon-nl:\pipeline\code\....
The SMB share "pipeline" is connected to \\isilon-nl\pipeline.
What am I doing wrong?
Thanks
John Morrison