data import resume
Resume a bulk import job that you previously started. Uses Bulk API 2.0.
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.
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑job‑id | ‑i | Type: Value Job ID of the bulk import. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑use‑most‑recent | N/A | Type: Boolean Use the job ID of the bulk import job that was most recently run. |
‑‑wait | ‑w | Type: Value Time to wait for the command to finish, in minutes. |
Resume a bulk import job to your default org using an ID:
Resume the most recently run bulk import job for an org with alias my-scratch: