dx_undo_db - delphix/dxtoolkit GitHub Wiki

SYNOPSIS

dx_undo_db [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
             < -group group_name | -name db_name | -host host_name | -type dsource|vdb >
             [ -force]
             [ -skip]
             [ -help|? ]
             [ -debug ]
             [-parallel p]

DESCRIPTION

Undo last rollback / refresh operation all database(s) selected by filter on selected engine(s)

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

  • -group Group Name
  • -name Database Name
  • -host Host Name
  • -type Type (dsource|vdb)

OPTIONS

  • -skip Skip confirmation
  • -force Force mode
  • -help Print this screen
  • -debug Turn on debugging

EXAMPLES

Undo a last refresh / rollback

dx_undo_db -d 603 -name testdx
Going to undo last refresh / rollback operation on database - Oracle Sources / testdx
Are you sure (y/(n)) - use -skip to skip this confirmation
y
Starting job JOB-1827 for database testdx.
0 - 70 - 92 - 94 - 100
Job JOB-1827 finished with state: COMPLETED

Undo a last refresh / rollback without confitmation

dx_undo_db -d 603 -name testdx -skip
Going to undo last refresh / rollback operation on database - Oracle Sources / testdx
Starting job JOB-1822 for database testdx.
0 - 70 - 92 - 94 - 100
Job JOB-1822 finished with state: COMPLETED