Add-VBRNASSMBServer
Short Description
Adds SMB network shared folders 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)Add-VBRNASSMBServer -Path <String> [-ProcessingMode <VBRNASProcessingMode>] [-ProxyMode <VBRNASProxyMode>]
[-SelectedProxyServer <VBRNASProxyServer[]>] -CacheRepository <CBackupRepository>
[-StorageSnapshotPath <String>] [-BackupIOControlLevel <VBRNASBackupIOControlLevel>]
[-EnableDirectBackupFailover] [<CommonParameters>]
-
AddCredentialsAdd-VBRNASSMBServer -Path <String> -User <String> -Password <String> [-ProcessingMode <VBRNASProcessingMode>]
[-ProxyMode <VBRNASProxyMode>] [-SelectedProxyServer <VBRNASProxyServer[]>]
-CacheRepository <CBackupRepository> [-StorageSnapshotPath <String>]
[-BackupIOControlLevel <VBRNASBackupIOControlLevel>] [-EnableDirectBackupFailover] [<CommonParameters>]
-
CredentialsAdd-VBRNASSMBServer -Path <String> -AccessCredentials <CCredentials> [-ProcessingMode <VBRNASProcessingMode>]
[-ProxyMode <VBRNASProxyMode>] [-SelectedProxyServer <VBRNASProxyServer[]>]
-CacheRepository <CBackupRepository> [-StorageSnapshotPath <String>]
[-BackupIOControlLevel <VBRNASBackupIOControlLevel>] [-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 |
|---|---|---|---|---|---|
|
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 .VCACHE files on this repository.
Accepts the |
|
True |
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 |
|
Password |
Specifies the password. The cmdlet will use this password to authenticate against the SMB network shared folder. |
|
True |
Named |
False |
|
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. |
|
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 |
|
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 |
|
|
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. 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
Get-VBRBackupRepositoryReturns a list of backup repositories.Get-VBRCredentialsReturns credentials records.