Table: aws_backup_vault_recovery_points

This table shows data for Backup Vault Recovery Points.

https://docs.aws.amazon.com/aws-backup/latest/devguide/API_RecoveryPointByBackupVault.html (opens in a new tab)

The primary key for this table is arn.

Relations

This table depends on aws_backup_vaults.

Columns

NameType
_cq_iduuid
_cq_parent_iduuid
account_idutf8
regionutf8
vault_arnutf8
arn (PK)utf8
tagsjson
backup_size_in_bytesint64
backup_vault_arnutf8
backup_vault_nameutf8
calculated_lifecyclejson
completion_datetimestamp[us, tz=UTC]
composite_member_identifierutf8
created_byjson
creation_datetimestamp[us, tz=UTC]
encryption_key_arnutf8
iam_role_arnutf8
is_encryptedbool
is_parentbool
last_restore_timetimestamp[us, tz=UTC]
lifecyclejson
parent_recovery_point_arnutf8
recovery_point_arnutf8
resource_arnutf8
resource_nameutf8
resource_typeutf8
source_backup_vault_arnutf8
statusutf8
status_messageutf8

Example Queries

These SQL queries are sampled from CloudQuery policies and are compatible with PostgreSQL.

Vaults with no recovery points

WITH
  "point" AS (SELECT DISTINCT vault_arn FROM aws_backup_vault_recovery_points)
SELECT
  'Vaults with no recovery points' AS title,
  vault.account_id,
  vault.arn AS resource_id,
  'fail' AS status
FROM
  aws_backup_vaults AS vault LEFT JOIN "point" ON "point".vault_arn = vault.arn
WHERE
  "point".vault_arn IS NULL;