- 
                Notifications
    You must be signed in to change notification settings 
- Fork 36
dx_get_js_bookmarks
        Marcin Przepiorowski edited this page Jan 10, 2019 
        ·
        5 revisions
      
    dx_get_js_bookmarks    [-engine|d <delphix identifier> | -all ]
                       [-template_name template_name]
                       [-container_name container_name]
                       [-bookmark_name bookmark_name]
                       [-realtime] [-container_only]
                       [-format csv|json ]
                       [-help|? ] [ -debug ]
Get the list of Jet Stream bookmarks 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 bookmarks from template with template_name (no containers bookmark)
- -container_name container_name Display bookmarks from container and template with template_name and container name
- -container_only Display container only bookmarks and skip template bookmarks
- -bookmark_name bookmark_name Display bookmarks with a bookmark_name
- -realtime Display exact time of bookmark (works with bookmark name only)
- -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 bookmarks
dx_get_js_bookmarks -d Landshark5
Appliance            Bookmark name                  Bookmark time                  Template name                  Container name                 Branch name
-------------------- ------------------------------ ------------------------------ ------------------------------ ------------------------------ --------------------
Landshark5           Before insert                  2016-10-25 08:41:34 IST        Oracle dSource template        Dev container                  default
Landshark5           BookmarkNOW                    2016-11-08 16:46:35 GMT        Oracle dSource template        Dev container                  default
List only containers JS bookmarks
dx_get_js_bookmarks -d Landshark5 -container_only
Appliance            Bookmark name                  Bookmark time                  Template name   Container name                 Branch name
-------------------- ------------------------------ ------------------------------ --------------- ------------------------------ ---------------
Landshark5           bookmark1                      2016-07-28 14:48:39 IST        test            cont                           default
Landshark5           test book                      2016-07-28 15:54:15 IST        test            cont                           default
Landshark5           last book                      2016-07-28 16:08:19 IST        test            cont                           default
Display a real database point for bookmark1
dx_get_js_bookmarks -d Landshark5 -bookmark_name "BookmarkNOW" -realtime
Appliance            Bookmark name                  Bookmark time                  Template name                  Container name                 Branch name          Source name          Source time
-------------------- ------------------------------ ------------------------------ ------------------------------ ------------------------------ -------------------- -------------------- ------------------------------
Landshark5           BookmarkNOW                    2016-11-08 16:46:35 GMT        Oracle dSource template        Dev container                  default
                                                                                                                                                                      Oracle dSource       2016-11-08 16:46:35 GMT
Delphix