Skip to content

Restore Backup

cloudhsmv2_restore_backup R Documentation

Restores a specified CloudHSM backup that is in the PENDING_DELETION state

Description

Restores a specified CloudHSM backup that is in the PENDING_DELETION state. For more information on deleting a backup, see delete_backup.

Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.

Usage

cloudhsmv2_restore_backup(BackupId)

Arguments

BackupId

[required] The ID of the backup to be restored. To find the ID of a backup, use the describe_backups operation.

Value

A list with the following syntax:

list(
  Backup = list(
    BackupId = "string",
    BackupArn = "string",
    BackupState = "CREATE_IN_PROGRESS"|"READY"|"DELETED"|"PENDING_DELETION",
    ClusterId = "string",
    CreateTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    CopyTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    NeverExpires = TRUE|FALSE,
    SourceRegion = "string",
    SourceBackup = "string",
    SourceCluster = "string",
    DeleteTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    TagList = list(
      list(
        Key = "string",
        Value = "string"
      )
    ),
    HsmType = "string",
    Mode = "FIPS"|"NON_FIPS"
  )
)

Request syntax

svc$restore_backup(
  BackupId = "string"
)