New-VBRLinuxFileRestoreHelperHost
Short Description
Creates temporary Linux helper host used to launch the Guest OS File Restore.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AddCredentials (Default)New-VBRLinuxFileRestoreHelperHost -Name <String> -SSHUser <String> -SSHPassword <String> [-SSHPort <Int32>]
[-SSHElevateToRoot] [-SSHAddToSudoers] [-SSHFailoverToSu] [-SSHRootPassword <String>]
[-SSHFingerprint <String>] [-Force] [<CommonParameters>]
-
CredentialsNew-VBRLinuxFileRestoreHelperHost -Name <String> -Credentials <CCredentials> [-SSHFingerprint <String>]
[-Force] [<CommonParameters>]
Detailed Description
This cmdlet creates the VBRLinuxFileRestoreHelperHost object. This object contains connectivity parameters and a fingerprint.
Note |
|
If you create a Linux helper host with the second parameter set, a new set of credentials will be created each time you run the |
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 |
|
Force |
Defines that the cmdlet will add temporary Linux helper host specification without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
Name |
Specifies the DNS name or IP address of the Linux server. |
|
True |
Named |
False |
|
SSHAddToSudoers |
Defines that the user account is added to sudoers file.
Default: |
|
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 the SSH host fingerprint. |
|
False |
Named |
False |
|
SSHPassword |
Specifies the password you want to use for authenticating with the Linux server. |
|
True |
Named |
False |
|
SSHPort |
Specifies the SSH port for connection to the Linux server. Default: 22. |
|
False |
Named |
False |
|
SSHRootPassword |
Specifies the root password used for authentication. |
|
False |
Named |
False |
|
SSHUser |
Specifies the user name you want to use for authenticating with the Linux server. |
|
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 VBRLinuxFileRestoreHelperHost object that contains settings for a temporary Linux helper host.
Examples
Example 1. Creating Temporary Linux Helper Host with Existing Credentials
|
This example shows how to create a Linux helper host using credentials that already exist in Veeam Backup & Replication.
Perform the following steps:
|
Example 2. Creating Temporary Linux Helper Host with New Credentials
|
This example shows how to create a Linux helper host using a new set of credentials.
Perform the following steps:
|
Related Commands
Get-VBRCredentialsReturns credentials records.Start-VBRLinuxFileRestoreStarts a restore session of Linux-based or Unix-based guest OS files.