Schema:

ACCOUNT_USAGE

BACKUP_SETS view

This Account Usage view provides information about backup sets and their properties.

Columns

Column nameData typeDescription
IDNUMBERInternal system-generated identifier for the backup set.
NAMEVARCHARName of the backup set
SCHEMA_IDNUMBERInternal system-generated identifier for the schema of the backup set.
SCHEMA_NAMEVARCHARSchema that the backup set belongs to.
CATALOG_IDNUMBERInternal system-generated identifier for the database of the backup set.
CATALOG_NAMEVARCHARDatabase that the backup set belongs to.
OBJECT_KINDVARCHARType of object that the backup set is backing up.
OBJECT_IDNUMBERID of object that the backup set is backing up.
OBJECT_NAMEVARCHARName of object that the backup set is backing up.
OBJECT_SCHEMA_IDNUMBERID of schema that contains the object that is backed up by this backup set.
OBJECT_SCHEMA_NAMEVARCHARName of schema that contains the object that is backed up by this backup set.
OBJECT_CATALOG_IDNUMBERID of database that contains the object that is backed up by this backup set.
OBJECT_CATALOG_NAMEVARCHARName of database that contains the object that is backed up by this backup set.
BACKUP_POLICY_IDNUMBERID of backup policy attached to this backup set.
BACKUP_POLICY_NAMEVARCHARName of backup policy attached to this backup set.
BACKUP_POLICY_SCHEMA_IDNUMBERID of the schema that contains the backup policy.
BACKUP_POLICY_SCHEMA_NAMEVARCHARName of the schema that contains the backup policy.
BACKUP_POLICY_CATALOG_IDNUMBERID of the database that contains the backup policy.
BACKUP_POLICY_CATALOG_NAMEVARCHARName of the database that contains the backup policy.
OWNERVARCHARName of the role that owns the backup set.
OWNER_ROLE_TYPEVARCHARType of role that owns the backup set. Account role or Database role.
CREATEDTIMESTAMP_LTZDate and time when the backup set was created.
LAST_ALTEREDTIMESTAMP_LTZ

Date and time the object was last altered by a DML, DDL, or background metadata operation. See Usage Notes_.

DELETEDTIMESTAMP_LTZDate and time when the backup set was deleted.
COMMENTVARCHARComment for the backup set.

Usage notes

  • Latency for the view may be up to 360 minutes (6 hours).
  • The LAST_ALTERED column is updated when the following operations are performed on an object:

    • DDL operations.
    • DML operations (for tables only). This column is updated even when no rows are affected by the DML statement.
    • Background maintenance operations on metadata performed by Snowflake.