Skip to content

dx_get_bookmarks

Marcin Przepiorowski edited this page Oct 6, 2017 · 4 revisions

SYNOPSIS

dx_get_bookmarks [-engine|d <delphix identifier> | -all ] 
                 [-name bookmark_name] 
                 [-dbname database_name] 
                 [-format csv|json ]  
                 [-help|? ] 
                 [-debug ]

DESCRIPTION

Get the list of bookmarks 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

Filters

Filter bookmarks using one of the following filters

  • -name bookmark_name Bookmark name to create or delete
  • -dbname database_name Name of database to create bookmark for

OPTIONS

  • -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 bookmarks for database "Employee Oracle 11G DB"

dx_get_bookmarks -d Landshark43 -dbname "Employee Oracle 11G DB"
Appliance            Bookmark name        Timestamp                             Timeflow name                            Database name
-------------------- -------------------- ------------------------------------- ---------------------------------------- ------------------------
Landshark43          after                2016-02-29 12:50:00 EST               default                                  Employee Oracle 11G DB
Landshark43          before               2016-02-29 07:46:00 EST               default                                  Employee Oracle 11G DB
Landshark43          middle               2016-02-11 07:54:00 EST               default                                  Employee Oracle 11G DB

List all bookmarks for a Delphix Engine

dx_get_bookmarks -d Landshark5

Appliance            Bookmark name        Timestamp                              Timeflow name                            Database name
-------------------- -------------------- -------------------------------------- ---------------------------------------- -----------------------
Landshark5           bookmark now         2016-04-21 11:57:41 IST                DB_PROVISION@2016-04-20T12:57:31         testdx
Landshark5           nonjs                2016-04-20 12:58:41 IST                DB_PROVISION@2016-04-20T12:57:31         testdx
Landshark5           test bookmark        2016-04-20 12:58:41 IST                DB_PROVISION@2016-04-20T12:57:31         testdx

Delphix

Clone this wiki locally