admin_server

command
v3.1.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 23 Imported by: 0

README

admin_server

Usage of cmdb_adminserver bkbiz:

      --config="conf/api.conf": The config path. e.g conf/api.conf
      --dryrun[=false]: dryrun flag, if this flag seted, we will just print what we will do but not execute to db
      --export[=false]: export flag
      --file="": export or import filepath
      --import[=false]: import flag
      --mini[=false]: mini flag, only export required fields
      --scope="all": export model, could be [biz] or [process], default all
example usage:
  • export:
cmdb_adminserver bkbiz --export --config /data/cmdb/cmdb_adminserver/configures/migrate.conf --file bkbiz_export_2018_06_18_14_59_00.json
  • dryrun import:
cmdb_adminserver bkbiz --import --config /data/cmdb/cmdb_adminserver/configures/migrate.conf --file bkbiz_export_2018_06_18_14_59_00.json --dryrun
  • import:
cmdb_adminserver bkbiz --import --config /data/cmdb/cmdb_adminserver/configures/migrate.conf --file bkbiz_export_2018_06_18_14_59_00.json

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL