DROP BACKUP POLICY

statementsupportedReplication, failover & backupBusiness Critical+

docs.snowflake.com ↗

Object: BACKUP POLICY

Deletes a backup policy. 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

supportedpartialnot supportednot scored

DROP BACKUP POLICY [ IF EXISTS ] <name>

Parameters

NameRequiredDescription
IF EXISTSIf the backup policy doesn’t exist, the command completes without error.
nameSpecifies the identifier for the backup policy. 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. For more information, see Identifier requirements.

Usage notes

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes OWNERSHIP | Backup policy | The role used to delete a backup policy must have the OWNERSHIP privilege on the policy. For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.

See also

Referenced by