SQL Clone "attaching" the clone
I would like to have the agent run a script that after cloning, it detaches the database and then attaches it again with some modifications. As of now this is not possible as the agent tries to attach the database immediately when it has been detached. Is it possible to configure the agent so that it does not automaticaly try to attach the database when it has been detached?
Tagged:
Answers
May I ask what modifications you are looking to apply?
It is possible to make modifications during the create Clone process, further reading in this help document.
Better still, modify the image during the Image creation step, as per this help document.
There is no configuration you can make to the SQL Clone Agent to prevent it from automatically attach to the Clone.
Also, any modifications you make to the Clone post the creation of the Clone, will cause the differencing disk to inflate which may inflate to a size bigger that the original database, depending on what you are modifying.
Many Thanks
Eddie
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com