Start-VBRNasBackupRestore
Short Description
Starts restore of backups created by the file backup job.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Starts restore of backups created by the file backup job to original location.
Start-VBRNasBackupRestore -RestorePoint <VBRNASBackupRestorePoint> [-PreservePermissions] [-RollBack] [-OverwriteMode <VBRNASBackupRestoreOverwriteMode>] [-RunAsync] [<CommonParameters>] |
- Starts restore of backups created by the file backup job to another location.
Start-VBRNasBackupRestore -RestorePoint <VBRNASBackupRestorePoint> -DestinationServer <VBRNASServer> -DestinationFolderPath <String> [-PreservePermissions] [-PreserveHierarchy] [-RollBack] [-OverwriteMode <VBRNASBackupRestoreOverwriteMode>] [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet starts restore of backups created by the file backup job.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
RestorePoint | Specifies a restore point. The cmdlet will start restore to recover backup files to the specified restore point. | Accepts the VBRNASBackupRestorePoint object. To get this object, run the Get-VBRNASBackupRestorePoint cmdlet. | True | Named | True (ByValue, ByPropertyName) |
DestinationServer | Specifies a target file share. The cmdlet will start restore to recover backup files to this file share. | Accepts the VBRUnstructuredServer object. To get this object, run the Get-VBRUnstructuredServer cmdlet. | False | Named | False |
DestinationFolderPath | Specifies the path to the folder on the file share. The cmdlet will restore backups to the specified folder. | String | False | Named | False |
PreservePermissions | Defines that the cmdlet will restore permissions and security attributes of recovered backups. If you provide this parameter, the cmdlet will restore backup files with security attributes and permissions set by the user. Otherwise, permissions and security attributes of restored backups will not be recovered. | SwitchParameter | False | Named | False |
PreserveHierarchy | For restore to a different location. Defines that the cmdlet will restore the hierarchy of recovered backups. If you provide this parameter, the cmdlet will restore hierarchy of recovered backups. Otherwise, the folder hierarchy of backups will not be recovered. | SwitchParameter | False | Named | False |
RollBack | Defines that the cmdlet will roll back backup files that have been modified to a previous version. Files, that have not been modified will remain unchanged. If you provide this parameter, the cmdlet will roll back the modified backup files. Otherwise, the cmdlet will restore the latest version of files that have been modified. Note: You must specify either this or the OverwriteMode parameter. | SwitchParameter | False | Named | False |
RunAsync | Defines that the command returns immediately without waiting for the task to complete. | SwitchParameter | False | Named | False |
OverwriteMode | Specifies restore options for files, that you want to restore if they are already added to the target file share. You can select either of the following restore options:
Note: You must specify either this or the RollBack parameter. | VBRNASBackupRestoreOverwriteMode | 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 VBRNasBackupRestore object that contains settings of restore sessions that are started to recover backups created by file backup jobs.
Examples
Example 1. Restoring Backups to Original Location
This example shows how to restore backup files to the original location. The backups will be restored with the following settings:
Perform the following steps:
|
Example 2. Restoring Backups to Different Location
This example shows how to restore backup files to the \\SMBSRV\Documents\ server. The backups will be restored with the following settings:
Perform the following steps:
|
Example 3. Restoring Corrupted Backups to Original Location
This example shows how to restore corrupted backup files to the original location.
Perform the following steps:
|
Example 4. Restoring Corrupted Backups to Different Location
This example shows how to restore corrupted backup files to the \\SMBSRV\Documents\ server. The backups will be restored with the following settings:
Perform the following steps:
|
Related Commands