Backup Exec Management Command Line Interface Help
Save-BEBackupDefinition Cmdlet
Synopsis

Saves a new or modified backup definition in Backup Exec.

Syntax
Save-BEBackupDefinition [-BackupDefinition] [<BEBackupDefinition>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [-Force [<SwitchParameter>]] [<CommonParameters>]
Description

Saves a new or modified backup definition in Backup Exec.

When you create a new backup definition (see New-BEBackupDefinition) or edit a backup definition (see Get-BEBackupDefinition), the backup definition must be passed to Save-BEBackupDefinition to commit the changes.

Parameters

-BackupDefinition <BEBackupDefinition>

Specifies the backup definition to save.


Required true
Position 0
Accepts pipeline input true (ByValue)
Accepts wildcard characters false


-Force <SwitchParameter>

Confirms that Save-BEBackupDefinition can proceed when using direct access and the AgentServer uses a different port than the default port of 10000.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


-WhatIf <SwitchParameter>

Describes what happens if you execute the command without actually executing the command.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


-Confirm <SwitchParameter>

Prompts you for confirmation before executing the command.


Required false
Position Named
Accepts pipeline input false
Accepts wildcard characters false


<CommonParameters>

For more information about common parameters, type "Get-Help about_commonparameters".

Input Type
BackupExec.Management.CLI.BEBackupDefinition

You can pipe a Backup Exec backup definition object to Save-BEBackupDefinition.

Return Value
BackupExec.Management.CLI.BEBackupDefinition

Save-BEBackupDefinition returns the saved backup definition.

Examples

Example 1

C:\PS> Get-BEAgentServer -Local | New-BEBackupDefinition -BackupJobDefault BackupToDisk | Save-BEBackupDefinition

These commands create a new backup definition that backs up the entire local computer using the BackupToDisk defaults.


Example 2
C:\PS> Get-BEBackupDefinition "Backup Definition 01" | Add-BEDifferentialBackupTask | Save-BEBackupDefinition

These commands add a differential backup to a backup definition named "Backup Definition 01".

Related Links

New-BEBackupDefinition
Get-BEBackupDefinition
Get-BEAgentServer
Add-BEDifferentialBackupTask