SFDMU

Run the bundled sfdmu (Salesforce Data Move Utility) against an org. From sfp v51 sfdmu is bundled with sfp and is no longer installed as an `sf` plugin, so use this as the drop-in replacement for `sf sfdmu run` in pre/post-deployment and custom scripts. Point --path at a directory containing an export.json (or --file at the file itself) to move records between csvfile and the target org.

sfp sfdmu run

Run the bundled sfdmu (Salesforce Data Move Utility) against an org. From sfp v51 sfdmu is bundled with sfp and is no longer installed as an sf plugin, so use this as the drop-in replacement for sf sfdmu run in pre/post-deployment and custom scripts. Point --path at a directory containing an export.json (or --file at the file itself) to move records between csvfile and the target org.

USAGE
  $ sfp sfdmu run -o <value> [--json] [-p <value> | -f <value>] [-s <value>] [--canmodify <value>]
    [--simulation] [--noprompt] [--filelog <value>] [--loglevel
    trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -f, --file=<value>            Path to a specific export.json file to run.
  -o, --targetusername=<value>  (required) Username or alias of the target org.
  -p, --path=<value>            Directory that contains the export.json to run.
  -s, --sourceusername=<value>  [default: csvfile] Source org username or alias, or 'csvfile' to read from CSV files
                                (default).
      --canmodify=<value>       Allow modifications against the given org domain without an interactive prompt (sfdmu
                                --canmodify).
      --filelog=<value>         Enable (1) or disable (0) sfdmu file logging.
      --loglevel=<option>       [default: info] logging level for this command invocation
                                <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
      --[no-]noprompt           Run without interactive prompts. Defaults to true so the command is CI-safe; pass
                                --no-noprompt to allow prompts.
      --simulation              Run in simulation mode — sfdmu executes but does not write to the target org.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Run the bundled sfdmu (Salesforce Data Move Utility) against an org. From sfp v51 sfdmu is bundled with sfp and is no
  longer installed as an `sf` plugin, so use this as the drop-in replacement for `sf sfdmu run` in pre/post-deployment
  and custom scripts. Point --path at a directory containing an export.json (or --file at the file itself) to move
  records between csvfile and the target org.

EXAMPLES
  $ sfp sfdmu run --path ./data/Account -o myTargetOrg

  $ sfp sfdmu run --path ./data/Account -s csvfile -o myTargetOrg

  $ sfp sfdmu run --path ./data/Account -o myTargetOrg --simulation

On this page