New-VEORLinuxCredential
Short Description
Creates Linux credential record to connect to a Linux machine.
Applies to
Veeam Backup & Replication
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VEORLinuxCredential [-Account] <String> [-Password <SecureString>] [-PrivateKeyFilePath <String>] [-Passphrase <SecureString>] [-ElevateAccountToRoot <SwitchParameter>] [-AddToSudoers <SwitchParameter>] [-UseSuIfSudoUnavailable <SwitchParameter>] [-RootPassword <SecureString>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a Linux credential record. You can use this credential record to connect to the Oracle database and restore this database to a Linux machine.
Run the Restore-VEORDatabase cmdlet to restore an Oracle database.
Run the Restore-VEORRMANDatabase cmdlet to restore Oracle databases backed up with Veeam Plug-in for Oracle RMAN.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Account | Specifies the user name of the account that will be used to connect to the target Linux server. Note: The account must be a member of the dba group. | String | True | 0 | False |
Password | Specifies a password that will be used to connect to the target Linux server. | SecureString | False | Named | False |
PrivateKeyFilePath | Specifies the path for the private key that the cmdlet will use to connect to the target Linux server. | String | False | Named | False |
Passphrase | Specifies a passphrase that the cmdlet will use to connect to the target Linux server. | SecureString | False | Named | False |
ElevateAccountToRoot | Defines that the account must be elevated to root. | SwitchParameter | False | Named | False |
AddToSudoers | Defines that the cmdlet will add the account to sudoers. | SwitchParameter | False | Named | False |
UseSuIfSudoUnavailable | Defines that the Su command is used instead of the Sudo command. | SwitchParameter | False | Named | False |
RootPassword | Specifies the root password. | SecureString | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VEORLinuxCredential object that contains a Linux credential record.
Examples
Example 1. Creating Linux Credential Record With Password
This example shows how to create a Linux credential record with the password authentication method. Veeam Explorer for Oracle will use these credentials to connect to the target Linux machine.
Perform the following steps:
|
Example 2. Creating Linux Credential Record With Private Key
This example shows how to create a Linux credential record with the private key authentication method. Veeam Explorer for Oracle will use these credentials to connect to the target Linux machine.
Perform the following steps:
Save the result to the $credentials variable to use it with other cmdlets. |
Related Commands