sfdx-migration-automatic
sfdx-migration-automatic ========================
Last updated 2 months ago by stomita .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install sfdx-migration-automatic 
SYNC missed versions from official npm registry.

sfdx-migration-automatic

SFDX plugin to dump/load record data to/from CSV files to easily migrate data between orgs

Version CircleCI Appveyor CI Codecov Greenkeeper Known Vulnerabilities Downloads/week License

$ npm install -g sfdx-migration-automatic
$ sfdx-migration-automatic COMMAND
running command...
$ sfdx-migration-automatic (-v|--version|version)
sfdx-migration-automatic/1.5.0 darwin-x64 node-v8.14.0
$ sfdx-migration-automatic --help [COMMAND]
USAGE
  $ sfdx-migration-automatic COMMAND
...

sfdx-migration-automatic automig:dump [--json] [--loglevel trace|debug|info|warn|error|fatal]

Dump records in Salesforce org to CSV files for migration usage

USAGE
  $ sfdx-migration-automatic automig:dump [--json] [--loglevel trace|debug|info|warn|error|fatal]

OPTIONS
  -d, --outputdir=outputdir                       output directory for dumped CSV files
  -f, --config=config                             dump configuration file

  -o, --objects=objects                           object names to dump, optionally paired with target scope (e.g.
                                                  Account,Contact,User:related)

  -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

  --excludebom                                    do not prepend byte order mark (\ufeff) in output files

  --json                                          format output as json

  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation

EXAMPLES
  $ sfdx automig:dump --targetusername username@example.com --objects Opportunity,Case,Account:related,Task:related 
  --outputdir ./dump
  $ sfdx automig:dump --targetusername username@example.com --config automig-dump-config.json

See code: src/commands/automig/dump.ts

sfdx-migration-automatic automig:load [--json] [--loglevel trace|debug|info|warn|error|fatal]

Load records from CSV files to Salesforce org, resolving relationships between records

USAGE
  $ sfdx-migration-automatic automig:load [--json] [--loglevel trace|debug|info|warn|error|fatal]

OPTIONS
  -d, --inputdir=inputdir                         (required) directory which includes input data files in CSV

  -m, --mappingobjects=mappingobjects             list of object and key field name pair to map to existing records
                                                  (e.g. User:Email,RecordType:DeveloperName

  -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

  --deletebeforeload                              delete all records in target objects before loading

  --json                                          format output as json

  --loglevel=(trace|debug|info|warn|error|fatal)  [default: warn] logging level for this command invocation

  --verbose                                       emit additional command output to stdout

EXAMPLES
  $ sfdx automig:load --targetusername username@example.com --inputdir ./data
  $ sfdx automig:load --targetusername username@example.com --inputdir ./data --mappingobjects 
  User:Email,RecordType:DeveloperName

See code: src/commands/automig/load.ts

Current Tags

  • 1.5.0                                ...           latest (2 months ago)

9 Versions

  • 1.5.0                                ...           2 months ago
  • 1.4.2                                ...           7 months ago
  • 1.4.1                                ...           7 months ago
  • 1.4.0                                ...           7 months ago
  • 1.3.0                                ...           7 months ago
  • 1.2.1                                ...           7 months ago
  • 1.2.0                                ...           7 months ago
  • 1.1.1                                ...           7 months ago
  • 1.1.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |