Skip to content

dx_refresh_vdb

arunskurian edited this page Jan 28, 2021 · 1 revision

SYNOPSIS

  dx_refresh_vdb.py   --vdb <name>
                      [--timestamp_type <type> --timestamp <timepoint_semantic> ]
                      [--timeflow <timeflow> --engine <identifier>]
                      [--debug] [--poll <n> --single_thread <bool>]
                      [--config <path_to_file> --logdir <path_to_file>]
  
  dx_refresh_vdb.py -h | --help | -v | --version 

DESCRIPTION

Refresh a VDB using a snapshot or specify a point in time on the parent object's timeflow

ARGUMENTS

  • --vdbRequired
    Name of the VDB to refresh

  • --timestamp_typeRequired if specifying a SNAPSHOT or TIME
    The type of timestamp you are specifying. Acceptable Values: TIME, SNAPSHOT. default: SNAPSHOT

  • --timestamp_Required if timestamp_type is used
    The Delphix semantic for the point in time on the source from which you want to refresh your VDB. Formats: latest point in time or snapshot: LATEST point in time: "YYYY-MM-DD HH24:MI:SS" snapshot name: "@YYYY-MM-DDTHH24:MI:SS.ZZZ" snapshot time from GUI: "YYYY-MM-DD HH24:MI" [default: LATEST]

COMMON ARGUMENTS

  • -engineOptional
    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 follows:
    config parameter
    dxtools.conf inside /conf/ folder

  • --logdir Optional
    Location of the log file.
    A log file search order is as follows:
    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

Refresh a vdb named "aseTest" on the default engine

python3 dx_refresh_vdb.py --vdb aseTest

Refresh a vdb named "aseTest" to a specific point in time on engine "mymask"

python3 dx_refresh_vdb.py --vdb aseTest timestamp_type TIME timestamp "2020-10-12 1124:12:44"
Clone this wiki locally