Publish-StoragePluginArchivedSnapshot

Short Description

Retrieves and restores an archived snapshot.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Publish-StoragePluginArchivedSnapshot -Snapshot <CSanArchivedSnapshot> [-Force]  [<CommonParameters>]

Detailed Description

This cmdlet retrieves an archived snapshot and restores it to the storage system.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Snapshot

Specifies the archived snapshot. The cmdlet will retrieve this archived snapshot and restore it to the storage system.

Accepts the CSanArchivedSnapshot object. To get this object, run the Get-StoragePluginArchivedSnapshot cmdlet.

True

Named

False

Force

Defines that the cmdlet will retrieve and restore this archived snapshot without showing warnings in the PowerShell console.

SwitchParameter

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 CBaseSession object that defines the restore session.

Examples

Retrieving and Restoring Data from Archived Snapshot

This example shows how to retrieve and restore the archived snapshot that has the pdcqastg11:-pure14-AAB97A18587ghudDaPRSF-t5kbsdr1E name.

$snapshot = Get-StoragePluginArchivedSnapshot -Name pdcqastg11:-pure14-AAB97A18587ghudDaPRSF-t5kbsdr1E

Publish-StoragePluginArchivedSnapshot -Snapshot $snapshot

Perform the following steps:

  1. Run the Get-StoragePluginArchivedSnapshot cmdlet. Specify the Name parameter value. Save the result to the $snapshot variable.
  2. Run the Publish-StoragePluginArchivedSnapshot cmdlet. Set the $snapshot variable as the Snapshot parameter value.

Related Commands

Get-StoragePluginArchivedSnapshot