Publish-VBRCloudArchiveRestorePoint
Short Description
Retrieves tenant data from archive storage.
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AmazonGlacierStorage
|
Publish-VBRCloudArchiveRestorePoint -RestorePoint <CCommonOib> -AvailabilityPeriodDays <UInt32>
-AmazonS3GlacierRetrievalPolicy <VBRAmazonS3GlacierRetrievalPolicy> [-EnableExpirationNotification]
[-ExpirationHoursThreshold <Int32>] [-RunAsync] [<CommonParameters>] |
-
AzureArchiveStorage
|
Publish-VBRCloudArchiveRestorePoint -RestorePoint <CCommonOib> -AvailabilityPeriodDays <UInt32>
-AzureArchiveRetrievalPolicy <VBRAzureArchiveRetrievalPolicy> [-EnableExpirationNotification]
[-ExpirationHoursThreshold <Int32>] [-RunAsync] [<CommonParameters>] |
-
S3GlacierCompatible
|
Publish-VBRCloudArchiveRestorePoint -RestorePoint <CCommonOib> -AvailabilityPeriodDays <UInt32>
-S3GlacierCompatibleRetrievalPolicy <VBRS3GlacierCompatibleRetrievalPolicy> [-EnableExpirationNotification]
[-ExpirationHoursThreshold <Int32>] [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet retrieves tenant data from archive storage and places them in the capacity tier of scale-out backup repository.
Parameters
Parameters
|
Parameter
|
Description
|
Type
|
Required
|
Position
|
Accept Pipeline Input
|
|
AmazonS3GlacierRetrievalPolicy
|
Defines the method of data retrieval for Amazon S3 Glacier object storage. You can retrieve data using one of the following method:
-
Expedited: Use this method to retrieve archived data within 1–5 minutes. Note that this is the most expensive method.
-
Standard: Use this method to retrieve archived data within 3–5 hours.
-
Bulk: Use this method to retrieve archived data within 5–12 hours.
|
VBRAmazonS3GlacierRetrievalPolicy
|
True
|
Named
|
False
|
|
AvailabilityPeriodDays
|
Specifies a period in days during which the retrieved archive backup files will be available.
|
UInt32
|
True
|
Named
|
False
|
|
AzureArchiveRetrievalPolicy
|
Defines the method of data retrieval for Azure Archive storage. You can retrieve data using one of the following method:
-
StandardPriority: Use this method to retrieve archived data within 15 hours.
-
HighPriority: Use this method to retrieve archived data within an hour. Note that this is the most expensive method.
|
VBRAzureArchiveRetrievalPolicy
|
True
|
Named
|
False
|
|
EnableExpirationNotification
|
Enables sending of notification about upcoming expiration of the retrieved archive backup files availability.
Default: False.
|
SwitchParameter
|
False
|
Named
|
False
|
|
ExpirationHoursThreshold
|
For the EnableExpirationNotification parameter. Specifies the moment when the user receives the notification about upcoming expiration of the retrieved archive backup files availability.
|
Int32
|
False
|
Named
|
False
|
|
RestorePoint
|
Specifies a restore point of tenant backups which you want to retrieve.
Accepts the CCommonOib object. To get this object, run the Get-VBRRestorePointReturns restore points. cmdlet.
|
CCommonOib
|
True
|
Named
|
True (ByPropertyName, ByValue)
|
|
RunAsync
|
Defines that the command returns immediately without waiting for the task to complete.
|
SwitchParameter
|
False
|
Named
|
False
|
|
S3GlacierCompatibleRetrievalPolicy
|
Defines the method of data retrieval for S3 compatible object storage with data archiving. You can retrieve data using one of the following method:
-
Expedited: Use this method to retrieve archived data within 1–5 minutes. Note that this is the most expensive method.
-
Standard: Use this method to retrieve archived data within 3–5 hours.
-
Bulk: Use this method to retrieve archived data within 5–12 hours.
|
VBRS3GlacierCompatibleRetrievalPolicy
|
True
|
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 VBRCloudArchiveRestorePoint object that contains information on tenant data retrieved from archive storage and places them in the capacity extents of scale-out backup repository.
Examples
Example 1. Retrieving Tenant Data from Amazon S3 Glacier Archive Storage
|
This example shows how to retrieve the ABC Company tenant data from Amazon S3 Glacier archive storage with the following settings:
- Data retrieval will take from 3–5 hours.
- The retrieved archive backup files will be available for 14 days.
|
$tenant = Get-VBRCloudTenant -Name "ABC Company"
$restorepoint = Get-VBRCloudArchiveRestorePoint -Tenant $tenant -Id "3e57a915-2755-4297-be14-deddb8564ca9"
Publish-VBRCloudArchiveRestorePoint -RestorePoint $restorepoint -AvailabilityPeriodDays 14 -AmazonS3GlacierRetrievalPolicy Standard -RunAsync |
Perform the following steps:
- Run the
Get-VBRCloudTenantReturns cloud tenant accounts. cmdlet. Specify the Name parameter value. Save the result to the $tenant variable.
- Run the
Get-VBRCloudArchiveRestorePointReturns restore points of tenant backups located in the archive tier. cmdlet. Set the $tenant variable as the Tenant parameter value. Specify the Id parameter value. Save the result to the $restorepoint variable.
- Run the
Publish-VBRCloudArchiveRestorePoint cmdlet. Specify the following settings:
- Set the
$restorepoint variable as the RestorePoint parameter value.
- Specify the
AvailabilityPeriodDays parameter value.
- Specify the
AmazonS3GlacierRetrievalPolicy parameter value.
- Provide the
RunAsync parameter.
|
Example 2. Retrieving Tenant Data from Azure Archive Storage
|
This example shows how to retrieve the ABC Company tenant data from Azure Archive storage with the following settings:
- Data retrieval will take about an hour.
- The retrieved archive backup files will be available for 7 days.
|
$tenant = Get-VBRCloudTenant -Name "ABC Company"
$restorepoint = Get-VBRCloudArchiveRestorePoint -Tenant $tenant -Id "3e57a915-2755-4297-be14-deddb8564ca9"
Publish-VBRCloudArchiveRestorePoint -RestorePoint $restorepoint -AvailabilityPeriodDays 7 -AzureArchiveRetrievalPolicy StandardPriority -RunAsync |
Perform the following steps:
- Run the
Get-VBRCloudTenantReturns cloud tenant accounts. cmdlet. Specify the Name parameter value. Save the result to the $tenant variable.
- Run the
Get-VBRCloudArchiveRestorePointReturns restore points of tenant backups located in the archive tier. cmdlet. Set the $tenant variable as the Tenant parameter value. Specify the Id parameter value. Save the result to the $restorepoint variable.
- Run the
Publish-VBRCloudArchiveRestorePoint cmdlet. Specify the following settings:
- Set the
$restorepoint variable as the RestorePoint parameter value.
- Specify the
AvailabilityPeriodDays parameter value.
- Specify the
AzureArchiveRetrievalPolicy parameter value.
- Provide the
RunAsync parameter.
|
Example 3. Retrieving Tenant Data from Amazon S3 Glacier Archive Storage for Multiple Restore Points
|
This example shows how to retrieve several restore points of the XYZ Company tenant data from the Amazon S3 Glacier archive storage with the following settings:
- Data retrieval will take from 3–5 hours.
- The retrieved archive backup files will be available for 5 days.
|
Get-VBRCloudArchiveRestorePoint
$RPIds = @('2312a0c3-8e9d-48fe-b48e-5a081f1ca525', '9b6bd9c3-f29e-4323-ad85-cbbf9bec2642')
$tenant = Get-VBRCloudTenant -Name "XYZ Company"
foreach ($restorePointId in $RPIds)
{
$restorepoint = Get-VBRCloudArchiveRestorePoint -Tenant $tenant -Id $RPIds
Publish-VBRCloudArchiveRestorePoint -RestorePoint $restorepoint -AvailabilityPeriodDays 5 -AmazonS3GlacierRetrievalPolicy Standard -RunAsync
} |
Perform the following steps:
- Get a list of all restore points. Run the
Get-VBRCloudArchiveRestorePointReturns restore points of tenant backups located in the archive tier. cmdlet. The cmdlet will return an array of restore points of tenant backups located in the archive tier. Select the necessary restore points from an array of restore points.
- Define the array of restore points. Specify the necessary restore point IDs. Save the result to the
$restorePointIds variable.
- Run the
Get-VBRCloudTenantReturns cloud tenant accounts. cmdlet. Specify the Name parameter value. Save the result to the $tenant variable.
- Run the
foreach loop.
- Set the
$restorePointId as a variable and the $RPIds as a collection. With each iteration, the foreach statement will set the $restorePointId variable to the next value in the $RPIds collection.
- Specify the
Get-VBRCloudArchiveRestorePointReturns restore points of tenant backups located in the archive tier. and Publish-VBRCloudArchiveRestorePoint cmdlets. With each iteration, the foreach statement will execute these cmdlets.
|
Related Commands