< Back

Get-AzureRmBackupRecoveryPoint

Tue Jan 29, 2019 9:34 pm

NAME Get-AzureRmBackupRecoveryPoint



SYNOPSIS

Gets the recovery points for a backed up item.





SYNTAX

Get-AzureRmBackupRecoveryPoint [-Item] <AzureRMBackupItem> [[-RecoveryPointId] <String>] [-DefaultProfile <IAzureContextContainer>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmBackupRecoveryPoint cmdlet gets the recovery points for a backed up Azure Backup item. After an item has been backed up, Backup

stores one or more recovery points.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Item <AzureRMBackupItem>

Specifies the item for which this cmdlet gets recovery points. To obtain an AzureRmBackupItem , use the Get-AzureRmBackupItem cmdlet.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-RecoveryPointId <String>

Specifies the ID of a recovery point that this cmdlet gets.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

AzureRmBackupItem







OUTPUTS

AzureRmBackupRecoveryPoint







NOTES









Example 1: Get recovery points for an item



PS C:\\>$Vault = Get-AzureRmBackupVault -Name "Vault03"

PS C:\\> $Container = Get-AzureRmBackupContainer -Vault $Vault -Type AzureVM -Name "DPMSERVER.CONTOSO.COM"

PS C:\\> $BackupItem = Get-AzureRmBackupItem -Container $Container

PS C:\\> Get-AzureRmBackupRecoveryPoint -Item $BackupItem

RecoveryPointId RecoveryPointType RecoveryPointTime ContainerName

--------------- ----------------- ----------------- -------------

15273496567119 AppConsistent 26-Aug-15 12:27:38 PM iaasvmcontainer;conto02-vm;conto0...



The first command gets the vault named Vault03 by using the Get-AzureRmBackupVault cmdlet. The command stores that object in the $Vault variable.



The second command gets a container that has the specified name in the vault in $Vault by using the Get-AzureRmBackupContainer cmdlet. The command

stores that object in the $Container variable.



The third command gets the backup item in the container in $Container by using the Get-AzureRmBackupItem cmdlet. The command stores that object in

the $BackupItem variable.



The final command gets recovery points for the item in $BackupItem.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... overypoint

Get-AzureRmBackupContainer

Get-AzureRmBackupItem

Get-AzureRmBackupVault