CANCEL RESTORE
Note:
These repository and job statements belong to the engine SQL backup/restore interface. They are separate from managed warehouse backups. Confirm the supported migration or recovery procedure with VeloDB Cloud support before using this interface.
Description
This statement is used to cancel an ongoing RESTORE task.
Syntax
CANCEL RESTORE FROM <db_name>;
Parameters
1.<db_name>
The name of the database to which the recovery task belongs.
Usage notes
- When cancellation is around a COMMIT or later stage of recovery, the table being recovered may be rendered inaccessible. At this time, data recovery can only be performed by executing the recovery job again.
Example
- Cancel the RESTORE task under example_db.
CANCEL RESTORE FROM example_db;