delphix/masking-initializer

When backup up, creation of folders needs to be created manually

Opened this issue · 3 comments

The process would stop as the folder is not present during the backup state. This is for the table metadata column metadata etc. How to resolve this?

Can you be more specific as to what arguments you are using during the backup, and what errors you are running into? Any stack output would be very helpful as well.

bpg130:

im using this line:

./dlpx-masking-initializer -f e:/backup/backup.yaml -H delphix.masking.delphixbfs.maskingengine.com -p 8443 -u axistech -P Axis_123 -b -S -c -e -m -o

Here is the error when running the script. I need to create the folder prior running the script in order for it to be able to work.

error encountered.txt

Sorry for the delay on the response. It looks like you are specifying a file, not a folder.
From the documentation

-c Runs the tool in scale mode. This mode is great if their are 1000s of objects to back up. Instead of
 backing everything up to a single file, it creates the backup in multiple files, reducing the amount of
 memory that is needed to run the tool. If you are using scale mode then the option passed into -f 
should be a folder, not a file.

So try adjusting -f e:/backup/backup.yaml -> -f e:/backup/ and see if that works.