data import resume

<!-- prettier-ignore-start -->

Resume a bulk import job that you previously started. Uses Bulk API 2.0.

Description for data import resume

When the original "sf data import bulk" command times out, it displays a job ID. To see the status and get the results of the bulk import, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk import job.

Flags

Flag Name (Long) Flag Name (Short) Description
<code>‑‑flags‑dir</code> N/A Type: Value<br><br>Import flag values from a directory.
<code>‑‑job‑id</code> <code>‑i</code> Type: Value<br><br>Job ID of the bulk import.
<code>‑‑json</code> N/A Type: Boolean<br><br>Format output as json.
<code>‑‑use‑most‑recent</code> N/A Type: Boolean<br><br>Use the job ID of the bulk import job that was most recently run.
<code>‑‑wait</code> <code>‑w</code> Type: Value<br><br>Time to wait for the command to finish, in minutes.

Examples for data import resume

Resume a bulk import job to your default org using an ID:

sf data import resume --job-id 750xx000000005sAAA

Resume the most recently run bulk import job for an org with alias my-scratch:

sf data import resume --use-most-recent --target-org my-scratch
<!-- prettier-ignore-end -->