-
Notifications
You must be signed in to change notification settings - Fork 34
dx_get_op_template
Marcin Przepiorowski edited this page Apr 4, 2018
·
1 revision
dx_get_op_template [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
[ -name hook_name ]
[ -outdir dir]
[ -exportHook ]
[ -exportHookScript filename]
[ -format csv|json ]
[ -help|? ]
[ -debug ]
List or export operation templates from engine. If no operation 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
- -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
- -name Operation Template name
- -group Group Name
- -dbname Database Name
- -host Host Name
- -type Type (dsource|vdb)
-
-exportHook
Export operation template into JSON file in outdir directory -
-exportHookScript filename
Export operation template script into a specified filename -
-outdir
Location of exported operation 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
Export all operation templates from Delphix Engine
dx_get_op_template -d Landshark5 -exportHook -outdir /tmp/a/
Exporting operation template los into /tmp/a/after_refresh.opertemp
Exporting operation template test1 into /tmp/a/test1.opertemp
Export operation template script
dx_get_op_template -d Landshark5 -name test1 -exportHookScript /tmp/test1.sh
Exporting template into file /tmp/test1.sh
Delphix