Add-VBRNASSMBServer
Short Description
Adds SMB network shared folders to the Veeam Backup & Replication infrastructure.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Add SMB network shared folders to the Veeam Backup & Replication infrastructure without authentication.
Add-VBRNASSMBServer -Path <string> -CacheRepository <CBackupRepository> [-ProcessingMode <VBRNASProcessingMode> {Direct | VSSSnapshot | StorageSnapshot}] [-ProxyMode <VBRNASProxyMode> {Automatic | SelectedProxy}] [-SelectedProxyServer <VBRNASProxyServer[]>] [-StorageSnapshotPath <string>] [-BackupIOControlLevel {Lowest | Low | Medium | High | Highest}][-EnableDirectBackupFailover] [<CommonParameters>] |
- Add SMB network shared folders to the Veeam Backup & Replication infrastructure with user name and password.
Add-VBRNASSMBServer -Path <string> -User <string> -Password <string> -CacheRepository <CBackupRepository> [-ProcessingMode <VBRNASProcessingMode> {Direct | VSSSnapshot | StorageSnapshot}] [-ProxyMode <VBRNASProxyMode> {Automatic | SelectedProxy}] [-SelectedProxyServer <VBRNASProxyServer[]>] [-StorageSnapshotPath <string>] [-BackupIOControlLevel {Lowest | Low | Medium | High | Highest}] [-EnableDirectBackupFailover] [<CommonParameters>] |
- Add SMB network shared folders to the Veeam Backup & Replication infrastructure using credentials.
Add-VBRNASSMBServer -Path <string> -AccessCredentials <CCredentials> -CacheRepository <CBackupRepository> [-ProcessingMode <VBRNASProcessingMode> {Direct | VSSSnapshot | StorageSnapshot}] [-ProxyMode <VBRNASProxyMode> {Automatic | SelectedProxy}] [-SelectedProxyServer <VBRNASProxyServer[]>] [-StorageSnapshotPath <string>] [-BackupIOControlLevel {Lowest | Low | Medium | High | Highest}] [-EnableDirectBackupFailover] [<CommonParameters>] |
Detailed Description
This cmdlet adds SMB network shared folders to the Veeam Backup & Replication infrastructure.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Path | Specifies a path to the SMB network shared folder. The cmdlet will add the SMB network shared folder located at the specified path to the Veeam Backup & Replication infrastructure. Note: Use the \\server\folder format. | String | True | Named | False |
CacheRepository | Specifies the cache repository. Veeam Backup & Replication will keep the .VCACHE files on this repository. | Accepts the CBackupRepository object. To get this object, run the Get-VBRBackupRepository cmdlet. | True | 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. | String | True | Named | False |
Password | Specifies the password. The cmdlet will use this password to authenticate against the SMB network shared folder. | String | True | Named | False |
AccessCredentials | Specifies credentials that the cmdlet will use to authenticate against the SMB network shared folder. | Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet. | True | Named | False |
ProcessingMode | Specifies processing options that define how Veeam Backup & Replication will back up data.
| VBRNASProcessingMode | False | Named | False |
StorageSnapshotPath | For the StorageSnapshot processing option. 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. | String | False | Named | False |
ProxyMode | Specifies the backup proxy options.
| VBRNASProxyMode | False | Named | False |
SelectedProxyServer | For the SelectedProxy option of the ProxyMode parameter. Specifies the backup proxy. Veeam Backup & Replication will use this backup proxy to back up the SMB network shared folder. | Accepts the VBRNASProxyServer[] object. To get this object, run the Get-VBRNASProxyServer cmdlet. | 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:
| VBRNASBackupIOControlLevel | False | Named | False |
EnableDirectBackupFailover | For the StorageSnapshot processing option. Defines that if the native storage snapshot fails while being processed, Veeam Backup & Replication will backup data directly from the file server. | SwitchParameter | 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 VBRNASSMBServer object that contains settings of the SMB network shared folder that is added to the Veeam Backup & Replication infrastructure.
Examples
Example 1. Adding SMB Network Shared Folder Without Authentication
This example shows how to add the SMB network shared folder without authentication.
Perform the following steps:
|
Example 2. Adding SMB Network Shared Folder with User Name and Password
This example shows how to add the SMB network shared folder authenticated with user name and password.
Perform the following steps:
|
Example 3. Adding SMB Network Shared Folder with Credentials
This example shows how to add SMB network shared folder authenticated with credentials.
Perform the following steps:
|
Related Commands