Add-VBRCatalystCopyJob (obsolete)
Short Description
Creates backup copy jobs for HPE StoreOnce repositories.
Note |
|
This cmdlet is obsolete. Run the Add-VBRStorageCopyJobCreates storage backup copy jobs. cmdlet instead. |
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Detailed Description
This cmdlet creates backup copy jobs for HPE StoreOnce repositories.
Parameters
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRCatalystCopyJob object that contains settings of backup copy jobs for HPE StoreOnce repositories.
Examples
Example 1. Creating Backup Copy Job for Specific HPE StoreOnce Repositories
|
This example shows how to create a backup copy job that will copy data from the source HPE StoreOnce 1 repository to the target HPE StoreOnce 2 repository.
|
$source = Get-VBRBackupRepository -Name "HPE StoreOnce 1"
$target = Get-VBRBackupRepository -Name "HPE StoreOnce 2"
Add-VBRCatalystCopyJob -Name "StoreOnce copy job" -SourceRepository $source -TargetRepository $target -Description "Copy job for StoreOnce repository" |
Perform the following steps:
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify the Name parameter value. Save the result to the $source variable.
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify the Name parameter value. Save the result to the $target variable.
- Run the
Add-VBRCatalystCopyJob cmdlet. Specify the following settings:
- Specify the
Name parameter value.
- Set the
$source variable as the SourceRepository parameter value.
- Set the
$target variable as the TargetRepository parameter value.
- Specify the
Description parameter value.
|
Example 2. Creating Backup Copy Job for List of HPE StoreOnce Repositories
|
This example shows how to create a backup copy job that will copy data from a list of source repositories to a list of the target repositories. Veeam Backup & Replication will copy data according to the following scheme:
- From
HPE StoreOnce 1 to HPE StoreOnce 4
- From
HPE StoreOnce 2 to HPE StoreOnce 5
- From
HPE StoreOnce 3 to HPE StoreOnce 6
|
$source = Get-VBRBackupRepository -Name "HPE StoreOnce 1", "HPE StoreOnce 2", "HPE StoreOnce 3"
$target = Get-VBRBackupRepository -Name "HPE StoreOnce 4", "HPE StoreOnce 5", "HPE StoreOnce 6"
Add-VBRCatalystCopyJob -Name "StoreOnce copy job" -SourceRepository $source -TargetRepository $target -Description "Copy job for StoreOnce repository" |
Perform the following steps:
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify the Name parameter value.
Save the result to the $source variable. The Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet will return an array of source HPE StoreOnce repositories.
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify the Name parameter value. Save the result to the $target variable.
The Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet will return an array of target HPE StoreOnce repositories.
- Run the
Add-VBRCatalystCopyJob cmdlet. Specify the following settings:
- Specify the
Name parameter value.
- Set the
$source variable as the SourceRepository parameter value.
- Set the
$target variable as the TargetRepository parameter value.
- Specify the
Description parameter value.
|
Example 3. Creating Backup Copy Job for HPE StoreOnce Repository with Backup Window Options
|
This example shows how to create a backup copy job for an HPE StoreOnce repository. The job will run during the following period of time:
- From 22:00 to 22:59 on Friday
- From 22:00 to 22:59 on Saturday
|
$source = Get-VBRBackupRepository -Name "HPE SO 05"
$target = Get-VBRBackupRepository -Name "HPE SO 07"
$windowoptions = New-VBRBackupWindowOptions -FromDay Friday -FromHour 22 -ToDay Saturday -ToHour 22 -Enabled
Add-VBRCatalystCopyJob -Name "StoreOnce copy job" -SourceRepository $source -TargetRepository $target -Description "Copy job for StoreOnce repository" -BackupWindowOptions $windowoptions |
Perform the following steps:
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify the Name parameter value. Save the result to the $source variable.
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify the Name parameter value. Save the result to the $target variable.
- Run the
New-VBRBackupWindowOptionsDefines backup window settings for a job. cmdlet. Specify the necessary parameters. Save the result to the $windowoptions variable.
- Run the
Add-VBRCatalystCopyJob cmdlet. Specify the following settings:
- Specify the
Name parameter value.
- Set the
$source variable as the SourceRepository parameter value.
- Set the
$target variable as the TargetRepository parameter value.
- Specify the
Description parameter value.
- Set the
$windowoptions variable as the BackupWindowOptions parameter value.
|
Related Commands