Set-VBRNASFileServer

Short Description

Modifies managed Windows or Linux file serves added to the Veeam Backup & Replication infrastructure.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Set-VBRNASFileServer -Server <VBRNASFileServer> -CacheRepository <CBackupRepository>  [-BackupIOControlLevel {Lowest | Low |Medium | High | Highest}]  [<CommonParameters>]

Detailed Description

This cmdlet modifies managed Windows or Linux file serves added to the Veeam Backup & Replication infrastructure. This cmdlet modifies an existing VMware replication job. To modify settings, you need to enter the corresponding parameters with new values. The parameters that you omit will remain unchanged.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Server

Specify a file server. The cmdlet will modify settings of this file server.

Accepts the VBRNASNFSServer object. To get this object, run the Get-VBRNASServer cmdlet.

True

Named

True (ByValue, ByPropertyName)

 

CacheRepository

Specifies the cache repository that you want to modify. Veeam Backup & Replication will keep the cached data of the file server on this repository.

Accepts the CBackupRepository object. To get this object, run the Get-VBRBackupRepository cmdlet.

True

Named

False

 

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:

  • Lowest
  • Low
  • Medium
  • High
  • Highest

VBRNASBackupIOControlLevel

False

Named

False

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

The cmdlet returns the VBRNASFileServer object that contains settings of the managed Windows or Linux file serves added to the Veeam Backup & Replication infrastructure.

Examples

Modifying Cache Repository

This example shows how to modify a cache repository of the file server. The cmdlet will set the Repository 04 repository as the cache repository on this server.

$server = Get-VBRNASServer -Name "File server 09"

$cacherepository = Get-VBRBackupRepository -Name "Repository 04"

Set-VBRNASFileServer -Server $server -CacheRepository $cacherepository

Perform the following steps:

  1. Run the Get-VBRNASServer cmdlet. Specify the Name parameter value. Save the result to the $server variable.
  2. Run the Get-VBRBackupRepository cmdlet. Specify the Name parameter value. Save the result to the $cacherepository variable.
  3. Run the Set-VBRNASFileServer cmdlet. Set the $server variable as the Server parameter value. Specify the $cacherepository variable as the CacheRepository parameter value.

Related Commands

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.