Add-VBRScaleOutBackupRepository
Short Description
Adds scale-out backup repositories to the backup infrastructure.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRScaleOutBackupRepository [-Name <String>] [-Description <String>] -PolicyType <VBRScaleOutBackupRepositoryPolicyType> -Extent <CBackupRepository[]> [-UsePerVMBackupFiles] [-PerformFullWhenExtentOffline] [-EnableCapacityTier] [-ForceStrictPlacementPolicy] [-OperationalRestorePeriod <Int32>] [-EnableOverridePolicy] [-OverrideSpaceThreshold <Int32>] [-OffloadWindowOptions <VBRBackupWindowOptions>] [-ObjectStorageRepository <VBRObjectStorageRepository[]>] [-EnableCapacityTierEncryption] [-CapacityTierEncryptionKey <VBREncryptionKey>] [-CapacityTierKMSServer <VBRKMSServer>] [-EnableCapacityTierMovePolicy] [-EnableCapacityTierCopyPolicy] [-CapacityTierHealthCheckOptions <VBRHealthCheckOptions>] [-EnableArchiveTier] [-ArchiveObjectStorageRepository <VBRArchiveObjectStorageRepository>] [-EnableArchiveTierMovePolicy] [-EnableArchiveTierCopyPolicy] [-EnableArchiveTierEncryption] [-ArchiveTierEncryptionKey <VBREncryptionKey>] [-ArchiveTierKMSServer <VBRKMSServer>] [-ArchivePeriod <Int32>] [-EnableCostOptimizedArchive] [-EnableArchiveFullBackupMode] [-EnablePluginBackupOffload] [-EnableCopyAllPluginBackups] [-EnableCopyAllMachineBackups] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet creates scale-out backup repositories. You can create the scale-out backup repositories with the following options:
- The performance tier option. To implement this option, you must add local backup repositories or object storage repositories as performance extents to the scale-out backup repository.
- Performance tier and capacity tier options. To implement this option, you must add local backup repositories and object storage repositories to the scale-out backup repository.
- Performance tier, capacity tier and archive tier options. To implement this option, you must add local backup repositories, object storage repositories and archive object storage repositories to the scale-out backup repository.
Run the Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet to get backup repositories.
Run the Get-VBRObjectStorageRepositoryReturns object storage added as backup repositories to Veeam Backup & Replication. cmdlet to get object storage repositories.
By default, Veeam Backup & Replication only moves backup files that form inactive backup chains. For more information about backup chains, see the Backup Chain Legitimacy section of User Guide for VMware vSphere.
If you want to move a backup file manually, run the Start-VBROffloadBackupFileMoves backup files to the capacity tier. cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ArchiveObjectStorageRepository |
Specifies an archive storage. Veeam Backup & Replication will move the backup files to this archive storage.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
ArchivePeriod |
For retention policy. Specifies the number of days to keep backup files on the archive extent. When the number of days is passed, Veeam Backup & Replication will delete outdated backup files. |
|
False |
Named |
False |
|
ArchiveTierEncryptionKey |
Specifies a password that Veeam Backup & Replication will use to encrypt backups on the archive tier. Note: If you add the archive tier that has been encrypted, you must specify the password that you used to encrypt data on this tier. You can change a password after you configure the scale-out backup repository.
Accepts the |
|
False |
Named |
False |
|
ArchiveTierKMSServer |
Specifies the KMS server you want to use to encrypt backups.
Accepts the
To get this object, run the |
False |
Named |
False |
|
|
CapacityTierEncryptionKey |
Specifies a password that Veeam Backup & Replication will use to encrypt backups on the capacity tier. Note: If you add the capacity tier that has been encrypted, you must specify the password that you used to encrypt data on this tier. You can change a password after you configure the scale-out backup repository.
Accepts the |
|
False |
Named |
False |
|
CapacityTierHealthCheckOptions |
Specifies the health check schedule options.
Accepts the |
|
False |
Named |
False |
|
CapacityTierKMSServer |
Specifies the KMS server you want to use to encrypt backups.
Accepts the
To get this object, run the |
False |
Named |
False |
|
|
Description |
Specifies the description of the scale-out backup repository. |
|
False |
Named |
True (ByPropertyName) |
|
EnableArchiveFullBackupMode |
Enables the option to store archived backups as standalone fulls, without any dependencies on the previous backup files.
Default: |
|
False |
Named |
False |
|
EnableArchiveTier |
Enables the archive tier option. Veeam Backup & Replication will move backup files to an archive storage.
Default: |
|
False |
Named |
True (ByPropertyName) |
|
EnableArchiveTierCopyPolicy |
Defines that the cmdlet will use the copy to transfer backup files from the performance tier to the archive tier.
Default: |
|
False |
Named |
False |
|
EnableArchiveTierEncryption |
Enables encryption for the archive tier. The cmdlet will encrypt backups moved to the archive tier. |
|
False |
Named |
False |
|
EnableArchiveTierMovePolicy |
Defines that the cmdlet will use the move policy to transfer backup files from the performance and capacity tier to the archive tier.
Default: |
|
False |
Named |
False |
|
EnableCapacityTier |
Enables the capacity tier option. Veeam Backup & Replication will move backup files to an object storage.
Default: |
|
False |
Named |
True (ByPropertyName) |
|
EnableCapacityTierCopyPolicy |
Defines that the cmdlet will copy new backup files to object storage as soon as they are created.
Default: |
|
False |
Named |
False |
|
EnableCapacityTierEncryption |
Enables encryption for the capacity tier. Veeam Backup & Replication will encrypt backups offloaded to the capacity tier. |
|
False |
Named |
False |
|
EnableCapacityTierMovePolicy |
Defines that the cmdlet will move inactive backup chains to object storage.
Default: |
|
False |
Named |
False |
|
EnableCopyAllMachineBackups |
For backup files created with Veeam Agent backup jobs and Veeam backup jobs for VMs. Enables copying of all backup files from the performance extents to the capacity extent. If you do not provide this parameter, the cmdlet will copy only the latest backup files.
Note: You must provide the
Default: |
|
False |
Named |
False |
|
EnableCopyAllPluginBackups |
For backup files created with Veeam Plug-in for SAP HANA, Veeam Plug-in for Oracle RMAN. Enables copying of all backup files from the performance extents to the capacity extent. If you do not provide this parameter, the cmdlet will not copy these backup files to the capacity extent.
Note: You must provide the
Default: |
|
False |
Named |
False |
|
EnableCostOptimizedArchive |
Enables the option to archive backup files only if the remaining retention time is above minimal storage period.
Default: |
|
False |
Named |
False |
|
EnableOverridePolicy |
Enables the option to move backup files from the local repository to an object storage when the capacity reaches limits. If set, this option overrides the retention policy. Veeam Backup & Replication will move backup files to an object storage even if the retention policy value has not reached limits.
Use the
Default: |
|
False |
Named |
True (ByPropertyName) |
|
EnablePluginBackupOffload |
Enables offloading of the backup files created with plugin backup jobs to the capacity tier.
Default:
Note: To disable this option, set the parameter value to |
|
False |
Named |
False |
|
Extent |
Specifies the array of backup repositories. The cmdlet will add these repositories as performance extents to the scale-out backup repository. Accepts the following object:
|
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Force |
Defines that the cmdlet will create the scale-out backup repository without showing up warnings in the PowerShell console.
Default: |
|
False |
Named |
False |
|
ForceStrictPlacementPolicy |
Defines that the cmdlet will enable strict placement policy. If you provide this parameter, Veeam Backup & Replication will not create a backup if it violates the backup placement policy and may result in that a backup job will fail.
Default: |
|
False |
Named |
True (ByPropertyName) |
|
Name |
Specifies the name of the scale-out backup repository. |
|
False |
Named |
True (ByPropertyName) |
|
ObjectStorageRepository |
Specifies an object storage. Veeam Backup & Replication will move the backup files to this object storage.
Accepts the
Note: If you want to add an object storage repository as a performance extent, to get this object storage repository run the |
|
False |
Named |
True (ByPropertyName) |
|
OffloadWindowOptions |
Specifies the time interval, when Veeam Backup & Replication is allowed will move the backup files to an object storage.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
OperationalRestorePeriod |
For retention policy. Specifies the number of days to keep backup files on the local repository. When the number of days is passed, Veeam Backup & Replication will move backup files to an object storage. Note: If you select zero days, Veeam Backup & Replication will move all backup files from the local repository to the object storage immediately. |
|
False |
Named |
True (ByPropertyName) |
|
OverrideSpaceThreshold |
For the override option. Specifies the capacity value in percent for the override option. Once the value reaches the limit, Veeam Backup & Replication will move the data from the local repository to an object storage. |
|
False |
Named |
True (ByPropertyName) |
|
PerformFullWhenExtentOffline |
If set to
If set to
Default: |
|
False |
Named |
True (ByPropertyName) |
|
PolicyType |
Specifies the policy for the scale-out backup repository:
Note: For performance tier that consists of object storage repositories you must specify the |
|
True |
Named |
True (ByPropertyName) |
|
UsePerVMBackupFiles |
If set to
If set to
Default: |
|
False |
Named |
True (ByPropertyName) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Creating Scale-Out Backup Repository with Performance Tier [Backup Repositories Extents]
|
This example shows hot to create a scale-out backup repository with the following settings:
Perform the following steps:
|
Example 2. Creating Scale-Out Backup Repository with Capacity Tier
|
This example shows how to create a scale-out backup repository with the following settings:
Perform the following steps:
|
Example 3. Creating Scale-Out Backup Repository with Performance Tier [Object Storage Extents]
|
This command creates a scale-out backup repository with the following settings:
Perform the following steps:
|
Related Commands
Get-VBRBackupRepositoryReturns a list of backup repositories.Get-VBRObjectStorageRepositoryReturns object storage added as backup repositories to Veeam Backup & Replication.