Skip to content

dx_get_js_templates

Marcin Przepiorowski edited this page Apr 9, 2020 · 5 revisions

SYNOPSIS

dx_get_js_templates    [ -engine|d <delphix identifier> | -all ]
                       [ -configfile file ]
                       [-template_name template_name]
                       [-properties]
                       [-property_name property_name]
                       [-backup path]
                       [ -format csv|json ]
                       [ --help|? ] [ -debug ]

DESCRIPTION

Get the list of Jet Stream templates from Delphix Engine.

ARGUMENTS

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

Options

  • -template_name template_name Display template with a template_name
  • -properties Display properties from templates
  • -property_name property_name Display property property_name from template
  • -backup path Gnerate a dxToolkit commands to recreate templates
  • -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

EXAMPLES

List templates

dx_get_js_templates -d Landshark5

Appliance            Template name
-------------------- --------------------
Landshark5           test

List templates with properties

dx_get_js_templates -d Landshark5 -properties

Appliance            Template name        Property name        Property value
-------------------- -------------------- -------------------- --------------------
Landshark5           test                 prop1                value

Backup templates configuration

 dx_get_js_containers -d marcindlpx -backup /tmp
 Backup exported into /tmp/backup_selfservice_templates.txt

Delphix

Clone this wiki locally