Skip to content

dx_remove_db

Marcin Przepiorowski edited this page Dec 9, 2016 · 4 revisions

SYNOPSIS

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

DESCRIPTION

Delete 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

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

Remove a VDB called testsybase

dx_remove_db -d Landshark43 -name testsybase
Going to delete database - Analytics / testsybase
Are you sure (y/(n)) - use -skip to skip this confirmation
y
Starting job JOB-824 for database testsybase.
0 - 10 - 25 - 90 - 100
Job JOB-824 finised with state: COMPLETED

Remove a VDB called autofs without confirmation

dx_remove_db -d Landshark43 -name autofs -skip
Going to delete database - Analytics / autofs
Starting job JOB-826 for database autofs.
0 - 25 - 100
Job JOB-826 finised with state: COMPLETED

Delphix

Clone this wiki locally