Set-VBRNasFilerSMBServer
Short Description
Modifies settings of SMB shares located on an enterprise NAS system added to the inventory.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
OverwriteSettings (Default)Set-VBRNasFilerSMBServer -Server <VBRSANNASSMBServer> [-CacheRepository <CBackupRepository>]
[-MetaMigrationType <VBRNASBackupMetaMigrationType>]
[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>]
[-BackupIOControlLevel <VBRNASBackupIOControlLevel>] [-Force] [<CommonParameters>]
-
AddCredentialsSet-VBRNasFilerSMBServer -Server <VBRSANNASSMBServer> [-User <String>] [-Password <String>]
[-CacheRepository <CBackupRepository>] [-MetaMigrationType <VBRNASBackupMetaMigrationType>]
[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>]
[-BackupIOControlLevel <VBRNASBackupIOControlLevel>] [-Force] [<CommonParameters>]
-
CredentialsSet-VBRNasFilerSMBServer -Server <VBRSANNASSMBServer> [-AccessCredentials <CCredentials>]
[-CacheRepository <CBackupRepository>] [-MetaMigrationType <VBRNASBackupMetaMigrationType>]
[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>]
[-BackupIOControlLevel <VBRNASBackupIOControlLevel>] [-Force] [<CommonParameters>]
-
InheritSettingsSet-VBRNasFilerSMBServer -Server <VBRSANNASSMBServer> [-MetaMigrationType <VBRNASBackupMetaMigrationType>]
[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>] [-InheritSettingsFromFiler] [-Force] [<CommonParameters>]
Detailed Description
This cmdlet modifies settings of SMB shares located on an enterprise NAS system and added to the inventory. You can either specify the cache repository manually or make the file share to inherit cache repository settings from the enterprise NAS system.
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 |
|---|---|---|---|---|---|
|
AccessCredentials |
Specifies credentials that the cmdlet will use to authenticate against the enterprise NAS system. |
|
False |
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:
|
|
False |
Named |
False |
|
CacheRepository |
Specifies a cache repository. The cmdlet will set this repository as a cache repository for the SMB file share.
Accepts the |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will modify settings of SMB shares without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
InheritSettingsFromFiler |
Defines that the SMB file share will inherit settings of the enterprise SMB system. If you provide this parameter, the cmdlet will inherit cache settings, throttling settings and credentials.
Note: You must provide the |
|
True |
Named |
False |
|
MetaMigrationType |
Specifies how the cmdlet will migrate metadata. You can use one of the following options:
Note: If metadata in a source cache repository is corrupted, the cmdlet will copy data from the archive repository.
|
|
False |
Named |
False |
|
Password |
Specifies the password. The cmdlet will use this password to authenticate against the enterprise NAS system. |
|
False |
Named |
False |
|
RetrievalSettings |
Specifies the retrieval policy settings. The cmdlet will use these settings to retrieve data from archive repositories.
Accepts the |
|
False |
Named |
False |
|
Server |
Specifies an SMB file share. The cmdlet will modify settings for this file share.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
User |
Specifies the user name. The cmdlet will apply this user name to authenticate against the enterprise NAS system. |
|
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 VBRNASServer object that defines settings of the SMB file share located on the enterprise NAS system.
Examples
Example 1. Setting Cache Repository for SMB Share Manually
|
This example shows how to modify SMB share: a cache repository is specified manually.
Perform the following steps:
|
Example 2. Setting Cache Repository Settings Inherited from NAS System for SMB Share
|
This example shows how to modify SMB share: a cache repository settings are inherited from the enterprise NAS system on which the share is located.
Perform the following steps:
|
Related Commands
Get-VBRIsilonHostReturns Dell PowerScale (formerly Isilon) storage systems.Get-VBRIsilonVolumeReturns Dell PowerScale (formerly Isilon) volumes added to the backup infrastructure.Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory.Get-VBRBackupRepositoryReturns a list of backup repositories.