Start-VBRCDPLinuxFileRestore
Short Description
Starts a restore session of Linux-based or Unix-based guest OS files from a CDP replica.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
ToPointInTimeStart-VBRCDPLinuxFileRestore -Replica <VBRCDPReplica> [-ToPointInTime <DateTime>] [-Reason <String>] [<CommonParameters>]
-
MountServerStart-VBRCDPLinuxFileRestore -Replica <VBRCDPReplica> [-ToPointInTime <DateTime>]
[-LongTermRestorePoint <VBRCDPLongTermRestorePoint>] [-Reason <String>] -MountServer <CHost> [<CommonParameters>]
-
ViFlrStart-VBRCDPLinuxFileRestore -Replica <VBRCDPReplica> [-ToPointInTime <DateTime>]
[-LongTermRestorePoint <VBRCDPLongTermRestorePoint>] [-Reason <String>]
-ApplianceOptions <VBRFileRestoreLinuxHelperApplianceOptions> [<CommonParameters>]
-
ToOriginalStart-VBRCDPLinuxFileRestore -Replica <VBRCDPReplica> [-ToPointInTime <DateTime>]
[-LongTermRestorePoint <VBRCDPLongTermRestorePoint>] [-Reason <String>] [-Credentials <CCredentials>]
[-MountToOriginalHost] [<CommonParameters>]
-
LongTermRestorePointStart-VBRCDPLinuxFileRestore -Replica <VBRCDPReplica> -LongTermRestorePoint <VBRCDPLongTermRestorePoint>
[-Reason <String>] [<CommonParameters>]
-
HelperHostStart-VBRCDPLinuxFileRestore -Replica <VBRCDPReplica> [-Reason <String>]
-HelperHost <VBRLinuxFileRestoreHelperHost> [<CommonParameters>]
Detailed Description
This cmdlet starts a restore session of guest OS files for a CDP replica that has Linux-based or Unix-based OS.
Note |
|
Consider the following:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ApplianceOptions |
Specifies configuration options for a temporary helper appliance.
Note: This parameter is required if you do not specify the
Accepts the |
|
True |
Named |
True (ByPropertyName) |
|
Credentials |
Specifies the credentials to authenticate against an existing Linux-based machine that you want to use as a helper host.
Note: This parameter can be used only when
Accepts the |
|
False |
Named |
True (ByPropertyName) |
|
HelperHost |
Specifies the temporary Linux helper host.
Accepts the |
|
True |
Named |
False |
|
LongTermRestorePoint |
Specifies a long-term restore point of a CDP replica. The cmdlet will start the restore session for this restore point.
Accepts the |
|
False |
Named |
False |
|
MountServer |
Specifies an existing Linux-based machine. The cmdlet will mount disks from a backup or replica to this machine and will use it as a helper host.
Note: This parameter is required if you do not specify the
Accepts the |
|
True |
Named |
True (ByPropertyName) |
|
MountToOriginalHost |
Specifies whether to mount disks to the original server and use it as a helper host.
Default:
Note: Set this parameter to |
|
True |
Named |
True (ByPropertyName) |
|
Reason |
Specifies the reason for starting a restore session. The information you provide will be saved in the session history so that you can reference it later. |
|
False |
Named |
True (ByPropertyName) |
|
Replica |
Specifies the CDP replica for which you want to restore files.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
ToPointInTime |
Specifies date and time when a restore point was created. The cmdlet will start the restore session for the short-term restore point created at the specified date and time or will take the nearest restore point.
Accepts the |
|
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 FileRestore object that contains settings of a restore session of Linux-based or Unix-based guest OS files.
Examples
Starting Restore Session of Linux or Unix-Based Guest OS Files Using Existing Linux Machine as Helper Appliance
This example shows how to start a restore of Linux or Unix-based guest OS files of the UbuntuSrv replica. The cmdlet will use the LinSrv05 machine as a helper appliance.
|
$replica = Get-VBRCDPReplica -Name "UbuntuSrv" $restorepoint = Get-VBRCDPLongTermRestorePoint -Replica $replica -Last $server = Get-VBRServer -Name "LinSrv05" $creds = Get-VBRCredentials -Name *Administrator* $session = Start-VBRCDPLinuxFileRestore -Replica $replica -LongTermRestorePoint $restorepoint -MountServer $server -Credentials $creds |
Perform the following steps:
- Get the restore point:
- Run the
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on. cmdlet. Specify theNameparameter value. Save the result to the$replicavariable. - Run the
Get-VBRCDPLongTermRestorePointReturns a long-term restore point of VM replicas. cmdlet. Set the$replicavariable as theReplicaparameter value. Provide theLastparameter. Save the result to the$restorepointvariable.
- Run the
- Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$servervariable. - Run the
Get-VBRCredentialsReturns credentials records. cmdlet. Specify theNameparameter value. Save the result to the$credsvariable. - Run the
Start-VBRCDPLinuxFileRestorecmdlet:- Set the
$replicavariable as theReplicaparameter value. - Set the
$restorepointvariable as theLongTermRestorePointparameter value. - Set the
$servervariable as theMountServerparameter value. - Set the
$credsvariable as theCredentialsparameter value. - Save the result to the
$sessionvariable.
- Set the
Related Commands
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.Get-VBRCDPLongTermRestorePointReturns a long-term restore point of VM replicas.Get-VBRServerReturns hosts connected to the backup infrastructure.Get-VBRCredentialsReturns credentials records.