Add-VBRNASFileServer
Short Description
Adds managed Windows or Linux file serves to the Veeam Backup & Replication infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRNASFileServer -Server <CHost> -CacheRepository <CBackupRepository> [-BackupIOControlLevel <VBRNASBackupIOControlLevel>] [<CommonParameters>] |
Detailed Description
This cmdlet adds managed Windows or Linux file servers to the Veeam Backup & Replication infrastructure.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
BackupIOControlLevel |
Specifies a speed that Veeam Backup & Replication will use to read data from the file server. You can specify either of the following speed:
|
|
False |
Named |
False |
|
CacheRepository |
Specifies the cache repository. Veeam Backup & Replication will keep the .VCACHE files on this repository.
Accepts the |
|
True |
Named |
False |
|
Server |
Specifies the host where the file server is located. Veeam Backup & Replication will add the file server that is located on this host.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRNASFileServer object that contains settings of the managed Windows or Linux file servers to the Veeam Backup & Replication infrastructure.
Examples
Adding File Servers
This example shows how to add managed Windows or Linux file servers to the Veeam Backup & Replication infrastructure.
|
$server = Get-VBRServer -Name 'Active_Directory' $repository = Get-VBRBackupRepository -Name 'Backup Repository 08' Add-VBRNASFileServer -Server $server -CacheRepository $repository |
Perform the following steps:
- Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$servervariable. - Run the
Get-VBRBackupRepositoryReturns a list of backup repositories. cmdlet. Specify theNameparameter value. Save the result to the$repositoryvariable. - Run the
Add-VBRNASFileServercmdlet. Set the$servervariable as theServerparameter value. Set the$repositoryvariable as theCacheRepositoryparameter value.
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.Get-VBRBackupRepositoryReturns a list of backup repositories.