-
Notifications
You must be signed in to change notification settings - Fork 33
dx_get_js_containers
Marcin Przepiorowski edited this page Apr 9, 2020
·
5 revisions
dx_get_js_containers [ -engine|d <delphix identifier> | -all ]
[ -configfile file ]
[-template_name template_name]
[-container_name container_name]
[-listdb]
[-backup path]
[ -format csv|json ]
[ --help|? ] [ -debug ]
Get the list of Jet Stream containers from Delphix Engine.
Delphix Engine selection - if not specified a default host(s) from dxtools.conf will be used.
- -engine|d Specify Delphix Engine name from dxtools.conf file
- -all Display databases on all Delphix appliance
- -configfile file Location of the configuration file. A config file search order is as follow:
- configfile parameter
- DXTOOLKIT_CONF variable
- dxtools.conf from dxtoolkit location
- -template_name template_name Display containers using template_name
- -container_name container_name Display container using container_name
- -backup path Gnerate a dxToolkit commands to recreate containers
- -listdb Display a name of the database assigned with container
- -format Display output in csv or json format If not specified pretty formatting is used.
- -help Print this screen
- -debug Turn on debugging
- -nohead Turn off header output
List all containers
dx_get_js_containers -d Landshark5
Appliance Container name Template name Active branch Owners
-------------------- -------------------- -------------------- -------------------- ----------------------------
Landshark5 cont test default testjsuser
List all container with databases used by them
dx_get_js_containers -d testdlpx -listdb
Appliance Container name Template name Active branch Owners Database name
-------------------- -------------------- -------------------- -------------------- -------------------------------------------------- --------------------------------------------------
testdlpx contXXX XXXtest default admin;testuser2 Untitled/VFOO_FG4; Untitled/VPDB
Backup containers configuration
dx_get_js_containers -d marcindlpx -backup /tmp
Backup exported into /tmp/backup_selfservice_containers.txt
Delphix