BACKUP_SETS view

This Information Schema view provides information on backup sets.

Columns

Column nameData typeDescription
BACKUP_SET_NAMEVARCHARName of the backup set.
BACKUP_SET_SCHEMAVARCHARSchema that the backup set belongs to.
BACKUP_SET_CATALOGVARCHARDatabase that the backup set belongs to.
OBJECT_KINDVARCHARType of object that the backup set is backing up.
OBJECT_NAMEVARCHARName of object that the backup set is backing up.
OBJECT_SCHEMAVARCHARName of schema that contains the object that is backed up by this backup set.
OBJECT_CATALOGVARCHARName of database that contains the object that is backed up by this backup set.
BACKUP_POLICY_NAMEVARCHARName of backup policy attached to this backup set.
BACKUP_POLICY_SCHEMAVARCHARName of the schema that contains the backup policy.
BACKUP_POLICY_CATALOGVARCHARName 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.
CREATEDTIMESTAMPDate and time when the backup set was created.
LAST_ALTEREDTIMESTAMP

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

COMMENTVARCHARComment for the backup set.

Usage notes

  • Latency for the view may be up to 180 minutes (3 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.