sfdx force:data:tree:export
Export data from an org
Options
Name | Description |
---|---|
--json | Format output as json |
--loglevel <loglevel> | Logging level for this command invocation |
-u, --targetusername <targetusername> | Username or alias for the target org; overrides default target org |
--apiversion <apiversion> | Override the api version used for api requests made by this command |
-q, --query <query> | Soql query, or filepath of file containing a soql query, to retrieve records |
-p, --plan | Generate multiple sobject tree files and a plan definition file for aggregated import |
-x, --prefix <prefix> | Prefix of generated files |
-d, --outputdir <outputdir> | Directory to store files' |