-
Notifications
You must be signed in to change notification settings - Fork 36
dx_get_template
Marcin Przepiorowski edited this page Dec 9, 2016
·
4 revisions
dx_get_template [ -engine|d <delphix identifier> | -all ] [ -name template_name ] [ -format csv|json ] [ -help|? ] [ -debug ] [-export -outdir dir]
List or export database template from engine. If no template name is specified all templates will be processed.
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
- -name Template name
-
-export
Export template into JSON file in outdir directory -
-outdir
Location of exported templates files -
-format
Display output in csv or json format If not specified pretty formatting is used. -
-help
Print this screen - -debug Turn on debugging
Display list of VDB templates
dx_get_template -d Landshark43
Appliance Template name
-------------------- ------------------------------
Landshark43 Training Template
Landshark43 QA Template
Landshark43 Dev Template
Landshark43 new
Export all VDB templates into /tmp/test directory
dx_get_template -d Landshark -export -outdir /tmp/test/
Exporting template into file /tmp/test//Dev Template.template
Exporting template into file /tmp/test//Training Template.template
Exporting template into file /tmp/test//new.template
Exporting template into file /tmp/test//GC Template.template
Exporting template into file /tmp/test//QA Template.template
Delphix