DESCRIBE BACKUP POLICY

statementsupportedReplication, failover & backupBusiness Critical+

docs.snowflake.com ↗

Object: BACKUP POLICY

Describes a specific backup policy. DESCRIBE can be abbreviated to DESC. Backups are available for all Snowflake editions. Backups with retention lock and backups with legal holds are available for Business Critical Edition (or higher). To inquire about upgrading, please contact Snowflake Support.

Syntax

DESC[RIBE] BACKUP POLICY <name>

Parameters

NameRequiredDescription
nameSpecifies the identifier for the backup policy to describe. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.

Usage notes

Output

Column | Description created_on | Timestamp backup policy was created. name | Name of backup policy. database_name | Name of database that contains the backup policy. schema_name | Name of schema that contains the backup policy. owner | Name of the role with the OWNERSHIP privilege on the backup policy. comment | Comment for backup policy. schedule | Schedule for backup creation. expire_after_days | Number of days after backup creation when backup expires. has_retention_lock | Indicates whether the policy includes a retention lock. true if policy has retention lock; false otherwise. For more information, see Retention lock. owner | Name of the role with the OWNERSHIP privilege on the backup set. owner_role_type | Type of role with the OWNERSHIP privilege on the backup policy.

See also