RESUME JOB lets you resume the following types of jobs:
- jobs
- and jobs
- jobs
- jobs
- jobs
- jobs
Required privileges
To resume a job, the user must be a member of theadmin role or must have the set. Non-admin users cannot resume admin users’ jobs.
For changefeeds, users with the privilege on a set of tables can resume changefeed jobs running on those tables.
Synopsis
Resume all jobs by type
Parameters
| Parameter | Description |
|---|---|
job\_id | The ID of the job you want to resume, which can be found with . |
select\_stmt | A that returns job\_id(s) to resume. |
for\_schedules\_clause | The schedule you want to resume jobs for. You can resume jobs for a specific schedule (FOR SCHEDULE id) or resume jobs for multiple schedules by nesting a in the statement (FOR SCHEDULES ). See the examples below. |
BACKUP, CHANGEFEED, RESTORE, IMPORT | The job type to resume. |
Examples
Pause a job
Resume a single job
Resume multiple jobs
To resume multiple jobs, nest a that retrievesjob_id(s) inside the RESUME JOBS statement:
maxroach will be resumed.
Resume by job type
To resume all jobs by the type of job, use theRESUME ALL {job} JOBS statement. You can resume all BACKUP, RESTORE, CHANGEFEED, IMPORT jobs using this statement, for example:
Resume jobs for a schedule
To resume jobs for a specific , use the schedule’sid:
id(s) inside the PAUSE JOBS statement:

