Uninstall-VBRLinuxTransportService

Short Description

Uninstalls guest processing Veeam Data Mover from Linux VMs.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Uninstall-VBRLinuxTransportService -Entity <IVmItem[]> -SSHUser <string> -SSHPassword <string> [-SSHPort <int>] [-SSHElevateToRoot] [-SSHAddToSudoers] [-SSHFailoverToSu] [-SSHRootPassword <string>]  [<CommonParameters>]

Detailed Description

This cmdlet uninstalls guest processing Veeam Data Mover from Linux VMs.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Entity

Specifies an array of Linux VMs from which you want to uninstall Veeam Data Mover.

Accepts the IVmItem[] object. To get this object, run the Find-VBRHvEntity, Find-VBRViEntity, or Find-VBRvCloudEntity cmdlets.

True

Named

True (ByValue, ByPropertyName)

SSHUser

Specifies the user name you want to use for authenticating with Linux VMs.

String

True

Named

False

SSHPassword

Specifies the password you want to use for authenticating with Linux VMs.

String

True

Named

False

SSHPort

Specifies the Web service port for connection to a Linux server console.

Default: 443.

Int

False

Named

False

SSHElevateToRoot

Defines that non-root users are provided with the root account privileges.

SwitchParameter

False

Named

False

SSHAddToSudoers

Defines that the user account is added to the sudoers file.

Default: (if the ElevateToRoot parameter is set to False) False.

SwitchParameter

False

Named

False

SSHFailoverToSu

Defines that Veeam Backup & Replication will use the su command if the sudo command fails.

If you do not provide this parameter and sudo fails, Veeam Backup & Replication will not be able to connect to Linux VMs.

SwitchParameter

False

Named

False

SSHRootPassword

Specifies the root password used for authentication.

String

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

None.

Examples

Uninstalling Veeam Data Mover from Linux VM

This example shows how to uninstall Veeam Data Mover from the Lin2049 Linux VM.

$linVm = Find-VBRViEntity -Name "Lin2049"

Uninstall-VBRLinuxTransportService -Entity $linVm -SSHUser Administrator -SSHPassword XXXXXXXXXX -SSHElevateToRoot -SSHAddToSudoers -SSHFailoverToSu -SSHRootPassword XXXXXXXXXX

Perform the following steps:

  1. Run the Find-VBRViEntity cmdlet. Specify the Name parameter value. Save the result to the $linVm variable.
  2. Run the Uninstall-VBRLinuxTransportService cmdlet. Specify the following settings:
  • Set the $linVm variable as the Entity parameter value.
  • Specify the SSHUser parameter value.
  • Specify the SSHPassword parameter value.
  • Provide the SSHElevateToRoot parameter.
  • Provide the SSHAddToSudoers parameter.
  • Provide the SSHFailoverToSu parameter.
  • Specify the SSHRootPassword parameter value.

Related Commands

Page updated 3/13/2024

Page content applies to build 12.2.0.334