--- title: "Add-VBRBackupRepository" description: "Adds a backup repository to the backup infrastructure. Platform: VMware, Hyper-V Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet adds a new backup reposito" canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/add-vbrbackuprepository.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Backup Repositories > Add-VBRBackupRepository" dateModified: "2026-08-20" --- # Add-VBRBackupRepository ## Short Description Adds a backup repository to the backup infrastructure. **Platform**: VMware, Hyper-V **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets:
AllParameterSets (Default)
AddCredentials
Credentials
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
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. Default: |
|
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. |
|
False |
Named |
False |
|
EnableXFSFastClone |
Enables the Fast Clone technology for the backup repository. Default: |
|
False |
Named |
False |
|
Folder |
Specifies the full path to the folder where you want to store the backups. |
|
True |
Named |
False |
|
Force |
Defines that the cmdlet will add a 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 |
|
ImportBackup |
Defines that the cmdlet will import backups that are currently located on the server you are adding as repository. Default: |
|
False |
Named |
False |
|
ImportIndex |
Defines that the cmdlet will import the guest OS file system index. Default: |
|
False |
Named |
False |
|
LimitConcurrentJobs |
Defines that the number of concurrent jobs using this repository must be limited. Use the Default: |
|
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: Permitted values for Dell Data Domain: |
|
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 new backup repository. |
|
False |
Named |
False |
|
NFSRepositoryEncoding |
Specifies encoding for NFS share. You can specify either of the following values:
|
|
False |
Named |
False |
|
Password |
Specifies the password you want to use for authenticating with the backup repository host. |
|
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 host where the backup repository you want to add is located and host that will be used as gateway servers. Use this parameter to explicitly set the host for the following repository types:
Default: This server. Accepts the |
|
False |
Named |
False |
|
StoreOnceServerName |
Specifies the HPE StoreOnce server name. |
|
False |
Named |
False |
|
StoreOnceWanLink |
Defines that the HPE StoreOnce must use source-side deduplication. Default: |
|
False |
Named |
False |
|
Type |
Specifies the type you want to assign to the repository:
|
|
True |
Named |
False |
|
UsePerVMFile |
This parameter is obsolete and is not supported. Note: Backup repositories always create per-VM backup files. |
|
False |
Named |
False |
|
UserName |
Specifies the user name you want to use for authenticating with the backup repository host. |
|
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 |