BE2014 + NDMP + Powershell
- 10 years ago
Try this syntax instead:-
$x=New-BENdmpNetAppServerSelection -Volume "/vol/vol1" -Path "/testfolder" -Recurse:$true
New-BEBackupDefinition -BackupJobDefault BackupToDisk | Add-BEBackupSelection -AgentServer NetAppServer -Selection $y | Save-BEBackupDefinition
- 10 years ago
Yes it work now :-)
with this correct commande:
$x=New-BENdmpNetAppServerSelection -Volume "/vol/vol1" -Path "/testfolder" -Recurse:$true
New-BEBackupDefinition -BackupJobDefault BackupToDisk | Add-BEBackupSelection -AgentServer NetAppServer -Selection $x | Save-BEBackupDefinition
(the X not the Y, you was right we miss it ;- and with dns name it works no need to use IP)
Can you tell your collegue that they have to correct the help file ?
Anyway thanks for your help, very usefull.
Best Regards
Yann