force:data:bulk:* Commands Migration
We added four new sf commands that use Bulk API
2.0 to upsert and delete data to and from your org. All the sfdx commands use Bulk API 1.0.
These new sf commands use Bulk API 2.0.
- data delete bulk
- data delete resume
- data upsert bulk
- data upsert resume
We generally recommend that you start using the new sf commands instead of these equivalent sfdx commands that use Bulk API 1.0.
- force:data:bulk:delete
- force:data:bulk:upsert
- force:data:bulk:status
However, one reason to keep using the force:data:bulk:upsert command is if you want to run the upsert serially with the --serial flag. The new Bulk API 2.0 commands don’t support serial execution. For this reason, and for users who want to continue using Bulk API 1.0, we aren’t deprecating the force:data:bulk:* commands at this time.