Set-VBRBackupRepository
Short Description
Modifies a backup repository.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRBackupRepository -Repository <CBackupRepository> [-Name <String>] [-Description <String>] [-MountServer <CHost>] [-MountServerOptions <VBRRepositoryMountServerOptions[]>] [-Server <CHost[]>] [-AutoSelectGateway] [-RotatedDrive] [-RotatedDriveCleanupMode <VBRRotatedDriveCleanupMode>] [-EnableVPowerNFS] [-VPowerNFSPort <Int32>] [-MountPort <Int32>] [-MountFolder <String>] [-DDServerName <String>] [-StoreOnceWanLink] [-RequireAccessCreds] [-Credentials <CCredentials>] [-LimitConcurrentJobs] [-MaxConcurrentJobs <Int32>] [-LimitDatarate] [-DataRateLimit <Int32>] [-AlignDataBlocks] [-DecompressDataBlocks] [-UsePerVMFile] [-DDBoostEncryptionType <VBRDDBoostEncryptionType>] [-AffinityMode <VBRProxyAffinityMode>] [-AffinityProxy <CViProxy[]>] [-EnableXFSFastClone] [-EnableReFSFastClone] [-EnableBackupImmutability] [-ImmutabilityPeriod <Int32>] [-NFSRepositoryEncoding <VBRNASEncoding>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet modifies a backup repository.
To modify a scale-out backup repository, run the Set-VBRScaleOutBackupRepositoryModifies scale-out backup repositories. cmdlet.
To modify an object storage backup repository, use cmdlets from the Object Storage Repositories section.
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 |
|---|---|---|---|---|---|
|
AffinityMode |
Specifies what proxy affinity rules are set up for the backup repository:
To configure proxy affinity settings, you must install Veeam Backup & Replication Enterprise or higher license on the backup server.
Default: |
|
False |
Named |
False |
|
AffinityProxy |
Specifies the list of backup proxies that can work with the backup repository. Entries in the proxy affinity list are separated with a comma. To configure proxy affinity settings, you must install Veeam Backup & Replication Enterprise or higher license on the backup server.
Accepts the |
|
False |
Named |
False |
|
AlignDataBlocks |
Defines that the backup blocks size will be aligned by a 4Kb block boundary. Data alignment provides better deduplication on storage systems with fixed block size.
Default: |
|
False |
Named |
False |
|
AutoSelectGateway |
Enables automatic selection of gateway servers.
Default: |
|
False |
Named |
False |
|
Credentials |
Specifies the credentials you want to use for authenticating with the backup repository host.
Accepts the |
|
False |
Named |
False |
|
DataRateLimit |
Used for setting combined data ingestion rate for the Specifies the combined data ingestion rate for the repository.
Permitted value: |
|
False |
Named |
False |
|
DDBoostEncryptionType |
Specifies the native Dell Data Domain encryption level:
|
|
False |
Named |
False |
|
DDServerName |
Specifies the Data Domain server name. Enter the name in the following formats depending on the connection mode:
|
|
False |
Named |
False |
|
DecompressDataBlocks |
Defines that the backup data blocks must be decompressed before storing to the repository. |
|
False |
Named |
False |
|
Description |
Specifies the description of the backup repository. |
|
False |
Named |
False |
|
EnableBackupImmutability |
Enables the immutability option for a backup repository.
Default: |
|
False |
Named |
False |
|
EnableReFSFastClone |
Enables the ReFS Fast Clone technology for SMB backup repositories. |
|
False |
Named |
False |
|
EnableVPowerNFS |
Enables the repository to be accessible by the vPower NFS service.
Default: |
|
False |
Named |
False |
|
EnableXFSFastClone |
Enables the Fast Clone technology for the backup repository.
Default: |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will modify backup repository without showing warnings in the PowerShell console.
Default: |
|
False |
Named |
False |
|
ImmutabilityPeriod |
For the immutability option. Defines a number of days within which Veeam Backup & Replication will not delete blocks of data from the backup repository. Default: 30 days. |
|
False |
Named |
False |
|
LimitConcurrentJobs |
Defines that the number of concurrent jobs using this repository must be limited. Use the |
|
False |
Named |
False |
|
LimitDatarate |
Defines that the total speed of writing data to the backup repository disk must be restricted. Use the
Default: |
|
False |
Named |
False |
|
MaxConcurrentJobs |
Used for setting maximum value for the Specifies the maximum allowed number of concurrent tasks for the backup repository.
Permitted values: |
|
False |
Named |
False |
|
MountFolder |
Specifies the path to the mount folder. Veeam Backup & Replication will use this folder to mount VM disks and to keep write cache data. |
|
False |
Named |
False |
|
MountPort |
Specifies the port number of the mount server.
Default: |
|
False |
Named |
False |
|
MountServer |
Specifies the mount server associated with the backup repository. You can assign the mount server role to the backup repository itself or to a server that resides close to the backup repository.
Accepts the |
|
False |
Named |
False |
|
MountServerOptions |
Specifies the mount server settings for the servers that you plan to use as mount servers during the restore process.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
Name |
Specifies the name you want to assign to the backup repository. |
|
False |
Named |
False |
|
NFSRepositoryEncoding |
Specifies encoding for NFS share. You can specify either of the following values:
|
|
False |
Named |
False |
|
Repository |
Specifies the backup repository you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
RequireAccessCreds |
Defines that the administrator credentials are needed to access the shared folder. Use the
Default: |
|
False |
Named |
False |
|
RotatedDrive |
Defines that the repository you want to add is a rotated drive (removable media).
Default: |
|
False |
Named |
False |
|
RotatedDriveCleanupMode |
Defines how Veeam Backup & Replication behaves when a drive is swapped:
Default: |
|
False |
Named |
False |
|
Server |
Specifies the array of hosts where the backup repositories are located. The cmdlet will set this host as a backup repository. Default: This server. Note: You can not set a new backup repository for the following types of hosts that have been added as backup repositories:
Accepts the |
|
False |
Named |
False |
|
StoreOnceWanLink |
Defines that the HPE StoreOnce must use source-side deduplication.
Default: |
|
False |
Named |
False |
|
UsePerVMFile |
This parameter is obsolete and is not supported. Note: Backup repositories always create per-VM backup files. |
|
False |
Named |
False |
|
VPowerNFSPort |
Specifies the port number of the vPower NFS Service. Veeam Backup & Replication will set up a direct connection between the backup repository and ESXi to which the vPower NFS datastore is mounted.
Default: |
|
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 CBackupRepository object that contains settings of backup repositories added to the backup infrastructure.
Examples
Defining Proxy Affinity Settings
This example shows how to configure proxy affinity settings for the backup repository named Backup Volume 01.
|
$repository = Get-VBRBackupRepository -Name "Backup Volume 01" $proxy01 = Get-VBRViProxy -Name 172.17.53.5 $proxy02 = Get-VBRViProxy -Name 172.17.53.33 Set-VBRBackupRepository -Repository $repository -AffinityMode Manual -AffinityProxy $proxy01, $proxy02 |
Perform the following steps:
- Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify theNameparameter value. Save the result to the$repositoryvariable. - Run the
Get-VBRViProxyReturns a list of VMware backup proxies. cmdlet. Specify theNameparameter value. Save the result to the$proxy01variable. - Run the
Get-VBRViProxyReturns a list of VMware backup proxies. cmdlet. Specify theNameparameter value. Save the result to the$proxy02variable. - Run the
Set-VBRBackupRepositorycmdlet. Set the$repositoryvariable as theRepositoryparameter value. Set theManualoption for theAffinityModeparameter. Set the$proxy01and$proxy02variables as theAffinityProxyparameter values.
Related Commands
Get-VBRBackupRepositoryReturns a list of backup repositories.Get-VBRServerReturns hosts connected to the backup infrastructure.Get-VBRCredentialsReturns credentials records.