delphix / dxtoolkit

Scripts that remotely interact with Delphix engine APIs
Apache License 2.0
38 stars 32 forks source link

"Jan 10th, Incorrect maskedbyscript flag in backup command" #222

Closed jose-prieto-dlpx closed 1 year ago

jose-prieto-dlpx commented 1 year ago

Expected Behavior The DXToolkit command generated with the dx_get_db_env should work out of the box even our of VDBs with masked parents.

Actual Behavior A command generated with dx_get_db_env includes the flag -maskedbyscript when the parent of a VDB is masked. This leads to an error message:

Error: Cannot provision a masked VDB from a VDB whose data has already been masked.

Steps To Reproduce the Problem

Steps to reproduce the behavior:

  1. Provision a VDB from a masked VDB.
  2. Obtain the dxtoolkit command to re-create the new VDB using dx_get_db_env with the -backup flag
  3. Attempt to execute the generated command
  4. See error

Version 2.4.17

marcinops commented 1 year ago

Will be fixed in 2.4.18