Skip to main content
Version: Latest-4.1

CANCEL BACKUP

Cancels an ongoing BACKUP task in a specified database.

Syntax​

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.

CANCEL BACKUP FROM example_db;
Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.