Skip to content

dx_delete_vdb

arunskurian edited this page Jan 28, 2021 · 1 revision

SYNOPSIS

dx_delete_vdb.py    --vdb <vdb>
                    [--engine <enginename>]
                    [--force]
                    [--poll <n>] 
                    [--single_thread <bool>]
                    [--config <path_to_file>] 
                    [--logdir <path_to_file>] 
                    [-h | --help]
                    [-v | --version]                       

DESCRIPTION

Delete VDB from a Delphix engine, or from all Delphix engines.

ARGUMENTS

  • --vdb Required Name of the vdb to delete

  • --force Optional To force delete a VDB or not. Default is False.

COMMON ARGUMENTS

  • -engine Specify name of the Delphix Engine from dxtools.conf file. To run on all engines, provide 'all' as engine name.

  • --config Optional Location of the configuration file. A config file search order is as follow:

  • config parameter

  • dxtools.conf inside /conf/ folder

  • --logdir Optional Location of the log file. A log file search order is as follow:

  • logdir parameter which includes the filename

  • File with the same name as the script under /conf/ folder

  • --single_thread Optional Defines whether the operations on an engine is run synchronously or asynchronously. Default is False

  • --poll Optional Defines the # of seconds to sleep before polling for the status of a job.

EXAMPLES

Delete a VDB named "testdb" on engine "mymask"

python3 dx_delete_vdb.py --vdb testdb --engine mymask

Force Delete a VDB named "testdb" on default engine

python3 dx_delete_vdb.py --vdb testdb --force

Force Delete a VDB named "testdb" on all registered engines

python3 dx_delete_vdb.py --vdb testdb --engine all --force
Clone this wiki locally