Skip to main content
The RESUME JOB statement lets you resume the following types of jobs:

Required privileges

To resume a job, the user must be a member of the admin role or must have the CONTROLJOB role option set. Non-admin users cannot resume admin users’ jobs. For changefeeds, users with the CHANGEFEED privilege on a set of tables can resume changefeed jobs running on those tables.

Synopsis

resume_job syntax diagram

Resume all jobs by type

resume_all_jobs syntax diagram

Parameters

Examples

Pause a job

Resume a single job

Resume multiple jobs

To resume multiple jobs, nest a SELECT clause that retrieves job_id(s) inside the RESUME JOBS statement:
All jobs created by maxroach will be resumed.

Resume by job type

To resume all jobs by the type of job, use the RESUME 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 backup schedule, use the schedule’s id:
You can also resume multiple schedules by nesting a SELECT clause that retrieves id(s) inside the PAUSE JOBS statement:

See also