cancel
Showing results for 
Search instead for 
Did you mean: 

New-BEBackupDefinition creation fails

santhoshikonam
Level 2

I am using BE2014. Trying to create new Backu definition using following command. 

Get-BEAgentServer AUTO-W2K8R2-32B | New-BEBackupDefinition -FileSystemSelection  'C:\temp\tdir58449' -Name backup_definition_Full_953297 -BackupJobDefault BackupToDeduplicationDevice -WithInitialFullBackupOnly:$true | Save-BEBackupDefinition  

 

It fails with following error:

New-BEBackupDefinition : Cannot make a selection for "C:\temp\tdir58449\*" beca
use the C: volume is not on the specified agent server.
At C:\temp\ps_cmd_file_987940.ps1:2 char:59
+ Get-BEAgentServer AUTO-W2K8R2-32B | New-BEBackupDefinition <<<  -FileSystemS
election  'C:\temp\tdir58449' -Name backup_definition_Full_953297 -BackupJobDef
ault BackupToDeduplicationDevice -WithInitialFullBackupOnly:$true | Save-BEBack
upDefinition  
    + CategoryInfo          : InvalidArgument: (:String) [New-BEBackupDefiniti 
   on], ItemNotFoundException
    + FullyQualifiedErrorId : SessionStateException,BackupExec.Management.CLI. 
   Commands.NewBEBackupDefinitionCommand
 
False

there is only one agent server on my machine

 

PS C:\Users\Administrator> Get-BEAgentServer

Name                                                    AgentServerType BackupStatus    LogonAccountTes LogonAccount
                                                                                        tStatus
----                                                    --------------- ------------    --------------- ------------
AUTO-W2K8R2-32B                                         Windows         BackupSucceeded Succeeded       System Logon...


PS C:\Users\Administrator>

 

why it is failing?

 

1 REPLY 1

Marianne
Level 6
Partner    VIP    Accredited Certified

Moved to Backup Exec forum...