Comments
3 comments
-
Hi RogerG,
The database and credentials in the Data masker rule controllers will be overridden with whichever temporary database SQL Clone is using to create the image.
What error are you experiencing when you try and create the image?
-
When masking an image, Clone will ignore the masking set's configuration for:
- which database to mask (as Clone decides on the database's name when it attaches it for masking, so pre-defining the name won't work),
- which instance and machine the database is on (as your masking set file may not know ahead of time which temporary instance will be used).
MyMachine \ MyServer2014 \ MyDatabase
but in reality, for this run, Clone has attached the imaged database toSomeOtherMachine \ TemporaryInstance2016 \ SqlCloneTemp_yuR72
then it's the latter that will be used, and the former details ignored.
Hopefully that sheds some light on Clone's behaviour. -
Hi,
Thanks I understand now whats being replace in my template masking set file. I have a look at my code again. /Roger
Add comment
Please sign in to leave a comment.
On documentation/example page https://documentation.red-gate.com/clone2/automation/powershell-cmdlet-reference/new-sqlclonemask it sas under property for -Path
"Connection details and credentials in the masking set data will be automatically replaced by Clone." that I might misinterpret as the connection name (server name) is replaced with the same one that the temporary server uses.
Do I need to add the server name of "A.Test" in my DMSMaskSet file or is it suppose to update this one? Please any advice from others would be much appr.