Set-VBRNASSMBServer
Short Description
Modifies settings of SMB network shared folders added to the Veeam Backup & Replication infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSets (Default)Set-VBRNASSMBServer -Server <VBRNASSMBServer> [-RequireAccessCredentials]
[-ProcessingMode <VBRNASProcessingMode>] [-ProxyMode <VBRNASProxyMode>]
[-SelectedProxyServer <VBRNASProxyServer[]>] [-CacheRepository <CBackupRepository>]
[-MetaMigrationType <VBRNASBackupMetaMigrationType>]
[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>] [-StorageSnapshotPath <String>]
[-BackupIOControlLevel <VBRNASBackupIOControlLevel>] [-EnableDirectBackupFailover] [-Force] [<CommonParameters>]
-
AddCredentialsSet-VBRNASSMBServer -Server <VBRNASSMBServer> -User <String> -Password <String> [-RequireAccessCredentials]
[-ProcessingMode <VBRNASProcessingMode>] [-ProxyMode <VBRNASProxyMode>]
[-SelectedProxyServer <VBRNASProxyServer[]>] [-CacheRepository <CBackupRepository>]
[-MetaMigrationType <VBRNASBackupMetaMigrationType>]
[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>] [-StorageSnapshotPath <String>]
[-BackupIOControlLevel <VBRNASBackupIOControlLevel>] [-EnableDirectBackupFailover] [-Force] [<CommonParameters>]
-
CredentialsSet-VBRNASSMBServer -Server <VBRNASSMBServer> -AccessCredentials <CCredentials> [-RequireAccessCredentials]
[-ProcessingMode <VBRNASProcessingMode>] [-ProxyMode <VBRNASProxyMode>]
[-SelectedProxyServer <VBRNASProxyServer[]>] [-CacheRepository <CBackupRepository>]
[-MetaMigrationType <VBRNASBackupMetaMigrationType>]
[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>] [-StorageSnapshotPath <String>]
[-BackupIOControlLevel <VBRNASBackupIOControlLevel>] [-EnableDirectBackupFailover] [-Force] [<CommonParameters>]
Detailed Description
This cmdlet modifies settings of SMB network shared folders added to the Veeam Backup & Replication infrastructure. This cmdlet modifies an existing VMware replication job.
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 SMB network shared folder. |
|
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:
|
|
False |
Named |
False |
|
CacheRepository |
Specifies the cache repository. Veeam Backup & Replication will keep the cached data of the SMB network shared folder on this repository.
Accepts the |
|
False |
Named |
False |
|
EnableDirectBackupFailover |
For the Defines that if the native storage snapshot fails while being processed, Veeam Backup & Replication will backup data directly from the file server. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will modify settings of SMB network shared folders without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
MetaMigrationType |
Specifies how the cmdlet will migrate metadata. You can use one of the following options:
|
|
False |
Named |
False |
|
Password |
Specifies the password. The cmdlet will use this password to authenticate against the SMB network shared folder. |
|
True |
Named |
False |
|
ProcessingMode |
Specifies processing options that define how Veeam Backup & Replication will back up data.
|
|
False |
Named |
False |
|
ProxyMode |
Specifies the backup proxy options.
|
|
False |
Named |
False |
|
RequireAccessCredentials |
Defines that the cmdlet will check whether Veeam Backup & Replication uses authentication to access the SMB network shared folder. If you do not provide this parameter, the cmdlet will not check credentials that are used to access the SMB network shared folder.
To remove credentials, specify the Note: If credentials are not provided, the cmdlet will return an error. To avoid the error, you must specify credentials using either of the following parameters:
|
|
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 |
|
SelectedProxyServer |
For the Specifies the backup proxy. Veeam Backup & Replication will use this backup proxy to back up the SMB network shared folder.
Accepts the |
False |
Named |
False |
|
|
Server |
Specifies an array of SMB network shared folders that you want to modify.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
StorageSnapshotPath |
For the Specifies the path to the folder where native storage snapshots are located. Veeam Backup & Replication will get data from these snapshots located at the specified folder. |
|
False |
Named |
False |
|
User |
Specifies the user name. The cmdlet will apply this user name to authenticate against the SMB network shared folder. Note: The user name must be in the DOMAIN\\Username format. |
|
True |
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 VBRNASSMBServer object that contains settings of the SMB network shared folder that is added to the Veeam Backup & Replication infrastructure.
Examples
Example 1. Modifying Processing Options
|
This example shows how to modify the processing options of the
Perform the following steps:
|
Example 2. Modifying User Name and Password
|
This example shows how to modify the user name and the password that are used to access the
Perform the following steps:
|
Example 3. Modifying Credentials
|
This example shows how to modify credentials that are used to access the
Perform the following steps:
|
Example 4. Modifying Backup Proxy Options
|
This example shows how to modify the backup proxy options of the
Perform the following steps:
|
Example 5. Modifying Cache Repository Settings
|
This example shows how to modify cache repository settings of the
Perform the following steps:
|
Related Commands
Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory.Get-VBRNASProxyServerReturns file backup proxy servers added to the Veeam Backup & Replication infrastructure.Get-VBRCredentialsReturns credentials records.Get-VBRBackupRepositoryReturns a list of backup repositories.