Sync-VBRObjectStorageRepositoryEntityState
Short Description
Rolls back checkpoints located in object storage repositories to the previous state.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Roll back checkpoints located in specific object storage repositories.
|
Sync-VBRObjectStorageRepositoryEntityState -Repository <VBRObjectStorageRepository> -PointInTime <datetime> [-RunAsync] [<CommonParameters>] |
- Roll back checkpoints in object storage repositories for the specified job.
|
Sync-VBRObjectStorageRepositoryEntityState -Job <VBRJob> -PointInTime <Datetime> [-RunAsync] [<CommonParameters>] |
- Roll back checkpoints in object storage repositories for the specified backup.
|
Sync-VBRObjectStorageRepositoryEntityState -Backup <CBackup> -PointInTime <Datetime> [-RunAsync] [<CommonParameters>] |
- Roll back checkpoints in object storage repositories for the specified cloud tenant.
|
Sync-VBRObjectStorageRepositoryEntityState -Repository <VBRObjectStorageRepository> -TenantId <Guid> -PointInTime <DateTime> [-RunAsync] [<CommonParameters>] |
- Roll back checkpoints in object storage repositories for the specified cloud tenant backup.
|
Sync-VBRObjectStorageRepositoryEntityState -TenantBackupId <Guid> -PointInTime <DateTime> [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet rolls back checkpoints in object storage repositories to the previous state. You may can run this cmdlet if a specific checkpoint in your object storage repository is corrupted and you want to revert back to the previous checkpoint.
You can use the cmdlet for the following types of repositories:
- Standalone object storage repositories.
- Object storage repositories added as capacity tier extents.
|
Important |
|
Consider the following:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Repository |
Specifies at object storage repository. The cmdlet will roll back checkpoints located in this repository. |
Accepts the VBRObjectStorageRepository object. To create this object, run the Get-VBRObjectStorageRepository cmdlet. |
True Note: This parameter is required when you want to synchronize data for a specific job. |
Named |
False |
|
PointInTime |
Specifies a period in time to which you want to roll back a checkpoint. |
Accepts the DateTime object. To get this object, run the Get-Date cmdlet. |
True |
Named |
False |
|
Job |
Specifies a job. The cmdlet will roll back a checkpoint created by this job. |
Accepts the VBRJob object. To get this object, run the Get-VBRJob cmdlet. |
True |
Named |
False |
|
Backup |
Specifies a backup. The cmdlet will roll back a checkpoint added to this backup. |
Accepts the CBackup object. To get this object, run the Get-VBRBackup cmdlet. |
True |
Named |
False |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
SwitchParameter |
False |
Named |
False |
|
TenantBackupId |
Specifies an ID of the cloud tenant backup. The cmdlet will roll back a checkpoint added to this backup. |
Guid |
True |
Named |
False |
|
TenantId |
Specifies an ID of the cloud tenant. The cmdlet will roll back a checkpoint created by this tenant. |
Guid |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Rolling Back Checkpoints Created by Specific Job
|
This example shows how to roll back checkpoints created by the BackupJob05 job.
Perform the following steps:
The cmdlet output will contain the following details on the time period for the checkpoints: CreationTime, EndTime, JobId, Result, State and Id. |
Example 2. Rolling Back Checkpoints Located in Specific Object Storage Repository
|
This example shows how to roll back checkpoints located in the Amazon S3 object storage repository.
Perform the following steps:
The cmdlet output will contain the following details on the time period for the checkpoints: CreationTime, EndTime, JobId, Result, State and Id. |
Example 3. Synchronizing Data for Specific Backup
|
This example shows how to roll back checkpoints for the specified backup.
Perform the following steps:
The cmdlet output will contain the following details on the time period for the checkpoints: CreationTime, EndTime, JobId, Result, State and Id. |
Related Commands