---
schema_version: "1"
id: 733e5f27ce42e96ba1f868674321edd98fcbe20a9c8dcdac44e49df0806132c4
title: data upsert resume
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/sfclireference/guides/data/cli_reference_data_upsert_resume.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-cli-reference/guide/cli_reference_data_upsert_resume.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3adc701725bd0bda8ee29e84ad42f912e3c67177050c521f38759e7cc0971466
products:
  - Salesforce CLI Command Reference
  - salesforcedx
---
<!-- prettier-ignore-start -->

# data upsert resume

Resume a bulk upsert job that you previously started. Uses Bulk API 2.0.

## Description for data upsert resume

The command uses the job ID returned from the "sf data upsert bulk" command or the most recently-run bulk upsert job.

## Flags

| Flag Name (Long) | Flag Name (Short) | Description |
|------------------|-------------------|-------------|
| <code>&#8209;&#8209;api&#8209;version</code> | N/A | **Type:** Value<br><br>Override the api version used for api requests made by this command |
| <code>&#8209;&#8209;flags&#8209;dir</code> | N/A | **Type:** Value<br><br>Import flag values from a directory. |
| <code>&#8209;&#8209;job&#8209;id</code> | <code>&#8209;i</code> | **Type:** Value<br><br>ID of the job you want to resume. |
| <code>&#8209;&#8209;json</code> | N/A | **Type:** Boolean<br><br>Format output as json. |
| <code>&#8209;&#8209;target&#8209;org</code> | <code>&#8209;o</code> | **Type:** Value<br><br>Username or alias of the target org. Not required if the "target-org" configuration variable is already set. |
| <code>&#8209;&#8209;use&#8209;most&#8209;recent</code> | N/A | **Type:** Boolean<br>**Default value:** `true`<br><br>Use the ID of the most recently-run bulk job. |
| <code>&#8209;&#8209;wait</code> | N/A | **Type:** Value<br><br>Number of minutes to wait for the command to complete before displaying the results. |

## Examples for data upsert resume

Resume a bulk upsert job from your default org using an ID:

```shell
sf data upsert resume --job-id 750xx000000005sAAA
```

Resume the most recently run bulk upsert job for an org with alias my-scratch:

```shell
sf data upsert resume --use-most-recent --target-org my-scratch
```
<!-- prettier-ignore-end -->
