---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ydb.tech/docs/en/yql/reference/syntax/drop-backup-collection.md
  - https://ydb.tech/docs/ru/yql/reference/syntax/drop-backup-collection.md
sourcePath: en/core/yql/reference/syntax/drop-backup-collection.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# DROP BACKUP COLLECTION

The `DROP BACKUP COLLECTION` statement deletes a [backup collection](https://ydb.tech/docs/en/concepts/datamodel/backup-collection.md) and all its backups.

```yql
DROP BACKUP COLLECTION collection_name;
```

## Parameters

* `collection_name` — name of the backup collection to drop.

{% note warning %}

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

{% endnote %}

{% note info %}

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.

{% endnote %}

## Examples

Dropping a backup collection:

```yql
DROP BACKUP COLLECTION old_backups;
```

## See also

* [Backup collections](https://ydb.tech/docs/en/concepts/datamodel/backup-collection.md).
* [CREATE BACKUP COLLECTION](https://ydb.tech/docs/en/yql/reference/syntax/create-backup-collection.md).
* [BACKUP](https://ydb.tech/docs/en/yql/reference/syntax/backup.md).
* [RESTORE](https://ydb.tech/docs/en/yql/reference/syntax/restore-backup-collection.md).
