Start-VBRWindowsFileRestore
Short Description
Starts Windows VM guest OS file restore session.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Start-VBRWindowsFileRestore [-RestorePoint] <COib> [-Reason <String>] [[-Host] <CHost>] [[-ResourcePool] <CViResourcePoolItem>] [[-Folder] <CViFolderItem>] [-Credentials <CCredentials>] [-ShareCredentials <CCredentials>] [-MountHost <CHost>] [-ForceArchivedSnapshotsRestore] [<CommonParameters>] |
Detailed Description
This cmdlet starts a restore session of Windows VM guest OS files.
The cmdlet mounts disks of a machine from the backup or replica to the mount server. After that you can perform the following actions:
- Run the
Get-VBRWindowsGuestItemReturns Microsoft Windows guest OS files. cmdlet to get details on the files and folders that are available for restore. - Run the
Start-VBRWindowsGuestItemRestoreStarts restore of Microsoft Windows guest OS files and folders to the original or new location. cmdlet to restore the necessary files and folders.
After you restore the necessary files, you must stop the restore session. After you stop the session, Veeam Backup & Replication will unmount disks from the mount server. Run the Stop-VBRWindowsFileRestoreStops Windows guest OS file restore session. cmdlet to stop the restore session.
Tip |
|
To start a restore session for a CDP replica, use the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Credentials |
Note: This parameter is obsolete. Use the Specifies the credentials to authenticate with the backup share folder.
Accepts the |
|
False |
Named |
False |
|
Folder |
For restore from storage snapshots. Specifies the folder where the temporary VM will be mounted.
If you do not specify this parameter, the cmdlet will use the default VM folder of the
Accepts the |
|
False |
3 |
False |
|
ForceArchivedSnapshotsRestore |
Defines that the cmdlet will use archive snapshots for restore without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
Host |
For restore from storage snapshots. Specifies the ESXi host to which the storage snapshot clone will be mounted as a temporary datastore. Veeam Backup & Replication registers a temporary VM on this host and attaches the source disks to it. Note: This parameter applies only when the storage snapshot is accessed using the Direct SAN access transport mode. For other transport modes, Veeam Backup & Replicationmounts the snapshot clone to the source storage.
Accepts the |
|
False |
1 |
False |
|
MountHost |
Specifies the mount server to which machine disks will be mounted. |
|
False |
Named |
False |
|
Reason |
Specifies the reason for starting a restore session of machine guest OS files. The information you provide will be saved in the session history so that you can reference it later. |
|
False |
Named |
False |
|
ResourcePool |
For restore from storage snapshots. Specifies the resource pool where the temporary VM will be mounted.
If you do not specify this parameter, the cmdlet will use the default resource pool of the
Accepts the |
|
False |
2 |
False |
|
RestorePoint |
Specifies a restore point to start a restore session. You will be able to use the session to perform operations with machine guest OS files.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
ShareCredentials |
Specifies the credentials that will be used to access the shared folder.
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 Windows guest OS files.
Examples
Example 1. Starting Restore Session for Windows Guest OS Files
|
This example shows how to start a restore session for Windows guest OS files of the
Perform the following steps:
|
Example 2. Starting Restore Session for Windows Guest OS Files from Latest Restore Point [Using Pipeline]
|
This example shows how to start a restore session for Windows guest OS files of the
Perform the following steps:
|
Related Commands
Get-VBRBackupReturns backups.Get-VBRRestorePointReturns restore points.