Add-VBRLinux
Short Description
Adds a Linux server to the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AddCredentialsAdd-VBRLinux -Name <String> [-Description <String>] [-SSHUser] <String> [-SSHPassword] <String>
[-SSHPort <Int32>] [-SSHElevateToRoot] [-SSHAddToSudoers] [-SSHFailoverToSu] [-SSHRootPassword <String>]
[-SSHTempCredentials] [-SSHFingerprint <String>] [-Package <VBRLinuxPackage[]>]
[-WhatIf] [-Confirm] [<CommonParameters>]
-
CredentialsAdd-VBRLinux -Name <String> [-Description <String>] [-SSHPort <Int32>] -Credentials <CCredentials>
[-SSHFingerprint <String>] [-Package <VBRLinuxPackage[]>] [-WhatIf]
[-Confirm] [<CommonParameters>]
-
UseCertificateAdd-VBRLinux -Name <String> [-Description <String>] [-UseCertificate] [-ForceDeployerFingerprint]
[-HandshakeCode <String>] [-Package <VBRLinuxPackage[]>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet adds a Linux server to the backup infrastructure. To add a Veeam Infrastructure Appliance, use the set of parameters for the certificate-based authentication.
Note |
|
Consider the following:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Credentials |
Specifies the credentials you want to use for authenticating with the Linux server.
Accepts the |
|
True |
Named |
False |
|
Description |
Specifies the description of the Linux server. |
|
False |
Named |
False |
|
ForceDeployerFingerprint |
Defines if the fingerprint confirmation dialog is skipped when a host is added using certificate-based authentication |
|
False |
Named |
False |
|
HandshakeCode |
Specifies the handshake code used to pair with the server. The first time a server is paired, the code is 000000. If you pair the server again, the code must be generated in the JeOS Host Management Console. |
|
False |
Named |
False |
|
Name |
Specifies the DNS name or IP address of the Linux server. |
|
True |
Named |
False |
|
Package |
Specifies the optional Linux component to be installed. Note: If you omit this parameter, all available Linux components will be installed. To add a Linux host without installing any optional components, provide an empty array for this parameter.
Accepts the |
False |
Named |
False |
|
|
SSHAddToSudoers |
Defines that the user account is added to sudoers file.
Default: (if the |
|
False |
Named |
False |
|
SSHElevateToRoot |
Defines that non-root users are provided with the root account privileges.
Default: |
|
False |
Named |
False |
|
SSHFailoverToSu |
Defines that Veeam Backup & Replication will use the su command if the sudo command fails.
Default: |
|
False |
Named |
False |
|
SSHFingerprint |
Specifies SSH host fingerprint. |
|
False |
Named |
False |
|
SSHPassword |
Specifies the password you want to use for authenticating with the Linux server.
Note: To add a Linux host using an SSH key fingerprint, provide the |
|
True |
2 |
False |
|
SSHPort |
Specifies the SSH port for connection to the Linux server.
Default: |
|
False |
Named |
False |
|
SSHRootPassword |
Specifies the root password used for authentication. |
|
False |
Named |
False |
|
SSHTempCredentials |
To add a Linux server that will be used as a hardened repository. Defines that the cmdlet will use single-use credentials to access a Linux server.
Default: |
|
False |
Named |
False |
|
SSHUser |
Specifies the user name you want to use for authenticating with the Linux server.
Note: To add a Linux host using an SSH key fingerprint, provide the |
|
True |
1 |
False |
|
UseCertificate |
Defines if certificate-based authentication is used. |
|
True |
Named |
False |
|
Confirm |
Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. |
|
False |
Named |
False |
|
WhatIf |
Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. |
|
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 CHost object that contains settings of a Linux server added to the backup infrastructure.
Examples
Example 1. Adding Linux Host Using Credentials for Authentication
|
This example shows how add a Linux host using credentials for authentication.
Perform the following steps:
|
Example 2. Adding Linux Host Using Username/Password for Authentication
|
This command adds the
|
Example 3. Adding Linux Host Using Certificate for Authentication With No Fingerprint Confirmation
|
This command adds the
|
Example 4. Adding Linux Server Using SSH Key Fingerprint
|
This example shows how to add the
|
Example 5. Adding Linux Host With Specific Linux Component Using Credentials for Authentication
|
This example shows how add a Linux host with specific optional components using credentials for authentication.
Perform the following steps:
|
Example 6. Adding Linux Host With No Optional Linux Components Installed
|
This example shows how add a Linux host without any optional Linux components installed.
Perform the following steps:
|
Related Commands
Get-VBRCredentialsReturns credentials records.Get-VBRLinuxPackageReturns information about Linux components installed on the backup server.Get-VBRServerReturns hosts connected to the backup infrastructure.Remove-VBRServerRemoves hosts from the backup infrastructure.