Back to Starrocks

CANCEL BACKUP

docs/en/sql-reference/sql-statements/backup_restore/CANCEL_BACKUP.md

4.1.0608 B
Original Source

CANCEL BACKUP

Cancels an ongoing BACKUP task in a specified database.

Syntax

SQL
CANCEL BACKUP { FROM <db_name> | FOR EXTERNAL CATALOG }

Parameters

ParameterDescription
db_nameName of the database that the BACKUP task belongs to.
FOR EXTERNAL CATALOGCancels the ongoing BACKUP task for the external catalog metadata.

Examples

Example 1: Cancels the BACKUP task under the database example_db.

SQL
CANCEL BACKUP FROM example_db;