-
Notifications
You must be signed in to change notification settings - Fork 35
dx_get_js_snapshots
Marcin Przepiorowski edited this page Jan 26, 2023
·
2 revisions
dx_get_js_snapshots [-engine|d <delphix identifier> | -all ]
[-template_name template_name]
[-container_name container_name]
[-output_unit K|M|G|T]
[-format csv|json ]
[-help|? ] [ -debug ]
Display a snapshot information for timelines and bookmarks in Self service for particular container.
Output column description:
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 Limit display to containers using a template template_name
- -container_name container_name Limit display to containers using container_name
- -output_unit K|M|G|T Display usage using different unit. By default GB are used Use K for KiloBytes, G for GigaBytes and M for MegaBytes, T for TeraBytes
- -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 snapshots for all containers
dx_get_js_snapshots -d Landshark5
Appliance Bookmark/timeline Template name Container name VDB name Branch name Bookmark snapshot Bookmark snap size Parent snapshot Parent snap size
-------------------- -------------------------------------------------- --------------- --------------- --------------- --------------- ------------------------------ -------------------- ------------------------------ --------------------
Landshark5 CREATE_BRANCH / 2019-01-07 12:59:56 GMT tempdx con1 con1 default N/A N/A @2018-12-27T11:30:04.663Z 14.77
Landshark5 CREATE_BRANCH / 2019-01-07 13:39:01 GMT tempdx con1 con1 version_2.3 N/A N/A @2018-12-27T11:30:04.663Z 14.77
Landshark5 REFRESH / 2019-01-07 13:48:17 GMT tempdx con1 con1 default N/A N/A @2019-01-07T12:59:11.417Z 4.90
Landshark5 firstbook tempdx con1 con1 default @2019-01-07T13:38:50.118Z 0.67 @2018-12-27T11:30:04.663Z 14.77
Landshark5 beforerefresh tempdx con1 con1 default @2019-01-07T13:48:12.731Z 0.50 @2018-12-27T11:30:04.663Z 14.77
Landshark5 CREATE_BRANCH / 2019-01-07 13:08:14 GMT tempdx con2 con2 default N/A N/A @2019-01-07T12:59:11.417Z 4.90
Landshark5 con2_bookmark tempdx con2 con2 default @2019-01-07T14:10:20.718Z 0.47 @2019-01-07T12:59:11.417Z 4.90
List snapshots from container - con2
dx_get_js_snapshots -d Landshark5 -container_name con2
Appliance Bookmark/timeline Template name Container name VDB name Branch name Bookmark snapshot Bookmark snap size Parent snapshot Parent snap size
-------------------- -------------------------------------------------- --------------- --------------- --------------- --------------- ------------------------------ -------------------- ------------------------------ --------------------
Landshark5 CREATE_BRANCH / 2019-01-07 13:08:14 GMT tempdx con2 con2 default N/A N/A @2019-01-07T12:59:11.417Z 4.90
Landshark5 RESTORE / 2019-01-07 14:10:31 GMT tempdx con2 con2 default N/A N/A @2019-01-07T12:59:11.417Z 4.90
Landshark5 con2_bookmark tempdx con2 con2 default @2019-01-07T14:10:20.718Z 0.47 @2019-01-07T12:59:11.417Z 4.90
List snapshots for a container with two databases
dx_get_js_snapshots -d Landshark5 -container_name con_complex
Appliance Bookmark/timeline Template name Container name VDB name Branch name Bookmark snapshot Bookmark snap size Parent snapshot Parent snap size
-------------------- -------------------------------------------------- --------------- --------------- --------------- --------------- ------------------------------ -------------------- ------------------------------ --------------------
Landshark5 CREATE_BRANCH / 2019-01-07 14:58:51 GMT t2sources con_complex con1 default N/A N/A @2019-01-07T12:59:11.417Z 9.53
Landshark5 RESTORE / 2019-01-07 15:03:53 GMT t2sources con_complex con1 default N/A N/A @2019-01-07T12:59:11.417Z 9.53
Landshark5 b1_complex t2sources con_complex con1 default @2019-01-07T15:03:46.260Z 0.40 @2019-01-07T12:59:11.417Z 9.53
Landshark5 CREATE_BRANCH / 2019-01-07 14:58:51 GMT t2sources con_complex Vpubs3AWL default N/A N/A @2019-01-02T13:50:00.000 0.03
Landshark5 RESTORE / 2019-01-07 15:03:53 GMT t2sources con_complex Vpubs3AWL default N/A N/A @2019-01-02T13:50:00.000 0.03
Landshark5 b1_complex t2sources con_complex Vpubs3AWL default @2019-01-07T15:03:41.980 0.03 @2019-01-02T13:50:00.000 0.03
Delphix