DROP BACKUP COLLECTION

The DROP BACKUP COLLECTION statement deletes a backup collection and all its backups.

DROP BACKUP COLLECTION collection_name;

Parameters

  • collection_name — name of the backup collection to drop.

Warning

This operation permanently deletes the backup collection and all backups it contains from the cluster. This action cannot be undone.

Note

Dropping a backup collection only affects cluster-stored data. Any backups previously exported to external storage (S3 or filesystem) are not affected and remain available for import.

Examples

Dropping a backup collection:

DROP BACKUP COLLECTION old_backups;

See also