Set-VBRStorageCopyJob
Short Description
Modifies storage backup copy jobs.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRStorageCopyJob -Job <VBRStorageCopyJob> [-Name <String>] [-Description <String>] [-SourceRepository <CBackupRepository[]>] [-TargetRepository <CBackupRepository[]>] [-EnableHealthCheck] [-KeepSecondaryCopies] [-SecondaryCopiesRetentionPeriod <Int32>] [-NotificationOptions <VBRNotificationOptions>] [-ScriptOptions <VBRJobScriptOptions>] [-BackupWindowOptions <VBRBackupWindowOptions>] [-AnyTime] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet modifies storage backup copy jobs for HPE StoreOnce and Dell Data Domain repositories.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AnyTime |
Defines that Veeam Backup & Replication will run a backup job continuously. Note: You cannot use this parameter together with the BackupWindowOptions parameter. |
|
False |
Named |
False |
|
BackupWindowOptions |
Specifies backup window settings for a job. The cmdlet will create the the backup copy job with these settings. Note: You cannot use this parameter together with the AnyTime parameter.
Accepts the |
False |
Named |
False |
|
|
Description |
Specifies a description of a backup copy job. The cmdlet will create the backup copy job with this description. |
|
False |
Named |
False |
|
EnableHealthCheck |
Defines that the cmdlet will enable the Health check option. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will modify backup copy jobs that are created for HPE StoreOnce and Dell Data Domain repositories without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
Job |
Specifies a storage backup copy job you want to modify. The cmdlet will modify the settings of this job.
Accepts the |
|
True |
Named |
True (ByValue) |
|
KeepSecondaryCopies |
Defines that the cmdlet will enable retention policy for the backup files in the target location. |
|
False |
Named |
False |
|
Name |
Specifies a name of a storage backup copy job. The cmdlet will create the backup copy job with this name. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification settings. The cmdlet will create the backup copy job with these settings.
Accepts the |
False |
Named |
False |
|
|
ScriptOptions |
Specifies job script options. The cmdlet will create a copy job with these script options.
Accepts the |
False |
Named |
False |
|
|
SecondaryCopiesRetentionPeriod |
Specifies a number of days for which you want to store backup files in the target location. |
|
False |
Named |
False |
|
SourceRepository |
Specifies an array of source repositories. The cmdlet will copy backup files from these repositories. You can specify the following types of repositories:
Accepts the string and the |
|
False |
Named |
False |
|
TargetRepository |
Specifies an array of target repositories. The cmdlet will copy backup files to these repositories. You can specify the following types of repositories:
Accepts the string and the |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRStorageCopyJob object that contains settings of backup copy jobs for HPE StoreOnce and Dell Data Domain repositories.
Examples
Example 1. Modifying Backup Copy Job Schedule to Run at Specific Time
|
This example shows how to modify backup window settings for a backup copy job. The backup copy job will run from 20:00 to 22:59 every day from Monday to Friday.
Perform the following steps:
|
Example 2. Modifying Backup Copy Job Schedule to Run Continuously
|
This example shows how to modify schedule settings for a backup copy job. The backup copy job will run continuously.
Perform the following steps:
|
Related Commands
Get-VBRStorageCopyJobReturns storage backup copy jobs.New-VBRBackupWindowOptionsDefines backup window settings for a job.