Get-AzRecoveryServicesBackupRecoveryPoint: The method or operation is not implemented.

Amir Sadvakassov 1 Reputation point
2022-02-22T12:02:24.65+00:00

Hello!

I trying to use:

$vault = Get-AzRecoveryServicesVault -ResourceGroupName "test-resource-group" -Name "testvault"  
    $container = Get-AzRecoveryServicesBackupContainer -ContainerType Windows -BackupManagementType MAB -VaultId $vault.ID  
    $backupitem = Get-AzRecoveryServicesBackupItem -Container $container -WorkloadType FileFolder -VaultId $vault.ID  
    $startdate = (Get-Date).AddDays(-3)  
    $enddate = Get-Date  
    $rp = Get-AzRecoveryServicesBackupRecoveryPoint -Item $backupItem -StartDate $startdate.ToUniversalTime() -EndDate $enddate.ToUniversalTime() -VaultId $vault.ID  
    Get-AzRecoveryServicesBackupRPMountScript -RecoveryPoint $rp[0]  

and getting:

Get-AzRecoveryServicesBackupRecoveryPoint: The method or operation is not implemented.  
  
+ $rp = Get-AzRecoveryServicesBackupRecoveryPoint -Item $backupItem -St ...  
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
    + CategoryInfo          : NotSpecified: (:) [Get-AzRecoveryS...upRecoveryPoint], NotImplementedException  
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.GetAzureRmRecoveryServicesBackupRecoveryPoint  

I tried to use many additional params according to: https://learn.microsoft.com/en-us/powershell/module/az.recoveryservices/get-azrecoveryservicesbackuprecoverypoint?view=azps-7.2.0

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,256 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 45,181 Reputation points Microsoft Employee
    2022-03-03T06:51:12.163+00:00

    @Amir Sadvakassov Currently we support fetching backup items list and backup jobs without installing MARS agent, directly from the vault. But for recovery you would need to continue using MARS agent commands.

    Adding commands for fetching backup item/jobs:

    1) Get-AzRecoveryServicesBackupItem -BackupManagementType MAB -VaultId $vault.ID -WorkloadType FileFolder
    2) Get-AzRecoveryServicesBackupJob -BackupManagementType MAB -VaultId $vault.ID


    If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.