Start-VBRObjectStorageBackupRestore
Short Description
Starts restore of backups created by an object storage backup job.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
OriginalLocation (Default)Start-VBRObjectStorageBackupRestore -RestorePoint <VBRUnstructuredBackupRestorePoint>
[-DestinationServer <VBRUnstructuredServer>] [-RollBack]
[-OverwriteMode <VBRUnstructuredBackupRestoreOverwriteMode>] [-OverwriteBucketAttributes] [-RunAsync]
[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>] [-Force] [<CommonParameters>]
-
DifferentLocationStart-VBRObjectStorageBackupRestore -RestorePoint <VBRUnstructuredBackupRestorePoint>
[-DestinationServer <VBRUnstructuredServer>] [-DestinationFolderPath <String>] [-RollBack]
[-OverwriteMode <VBRUnstructuredBackupRestoreOverwriteMode>] [-OverwriteBucketAttributes] [-RunAsync]
[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>] [-Force] [<CommonParameters>]
-
NewBucketStart-VBRObjectStorageBackupRestore -RestorePoint <VBRUnstructuredBackupRestorePoint>
[-DestinationServer <VBRUnstructuredServer>] [-NewBucketName <String>] [-RegionId <String>] [-RollBack]
[-OverwriteMode <VBRUnstructuredBackupRestoreOverwriteMode>] [-OverwriteBucketAttributes] [-RunAsync]
[-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>] [-Force] [<CommonParameters>]
Detailed Description
This cmdlet starts restore of backups created by an object storage backup job.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DestinationFolderPath |
Specifies the path to the folder on the file share. The cmdlet will restore backups to the specified folder. |
|
False |
Named |
False |
|
DestinationServer |
Specifies a target object storage. The cmdlet will start restore to recover objects to this object storage.
Accepts the |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will restore backups created by an object storage backup job without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
NewBucketName |
Specifies a new name for the bucket. |
|
False |
Named |
False |
|
OverwriteBucketAttributes |
Defines that the cmdlet will overwrite the bucket attributes. |
|
False |
Named |
False |
|
OverwriteMode |
Specifies restore options for objects, that you want to restore if they are already added to the target object storage. You can select one of the following restore options:
Note: You must specify either this or the |
|
False |
Named |
False |
|
RegionId |
Specifies the ID of the region. |
|
False |
Named |
False |
|
RestorePoint |
Specifies a restore point. The cmdlet will start restore to recover objects to the specified restore point.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
RetrievalSettings |
Specifies the retrieval policy settings. The cmdlet will use these settings to retrieve data from archive repositories. Note: If you do not provide this parameter, the cmdlet will prompt you to use the default retrieval policy settings.
Accepts the |
|
False |
Named |
False |
|
RollBack |
Defines that the cmdlet will roll back objects that have been modified to a previous version. Objects, that have not been modified will remain unchanged. |
|
False |
Named |
False |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
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 VBRObjectStorageBackupRestore object that contains settings of a restore session that runs to restore backups created by an object storage backup job.
Examples
Starting Restore of Backups Created by Object Storage Backup Jobs
This example shows how to start restore of backups created by an object storage backup job.
|
$objectbackup = Get-VBRUnstructuredBackup -Name 'ObjectBackup' $restorepoint = Get-VBRUnstructuredBackupRestorePoint -Backup $objectbackup Start-VBRObjectStorageBackupRestore -RestorePoint $restorepoint -OverwriteBucketAttributes -OverwriteMode Overwrite |
Perform the following steps:
- Run the
Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs. cmdlet. Specify theNameparameter value. Save the result to the$objectbackupvariable. - Run the
Get-VBRUnstructuredBackupRestorePointReturns restore points created by file backup jobs and object storage backup jobs. cmdlet. Specify theBackupparameter value. Save the result to the$restorepointvariable. - Run the
Start-VBRObjectStorageBackupRestorecmdlet. Set the$restorepointvariable as theRestorePointparameter value. Provide theOverwriteBucketAttributesparameter. Set theOverwriteoption for theOverwriteModeparameter.
Related Commands
Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs.Get-VBRUnstructuredBackupRestorePointReturns restore points created by file backup jobs and object storage backup jobs.