Cloning the database went fine, however when trying to delete the clone i get the below log
Initializing [delete-clone] Connecting to server: [SQLSRV01] [processing] Connecting to server: [SQLSRV01] [completed] Retrieving SnapManager Configuration Information: [processing] Retrieving SnapManager Configuration Information: [completed] Database Name specified DBTest is not valid for delete clone operation as there are dependent clones. An Error occured while deleting the Database clone. Please check the SnapManager Reports/Windows EventLogs for more information. Details:The pipeline has been stopped.
delete-clone : Database Name specified DBTest is not valid for delete clone operation as there are dependent clones. At line:1 char:1 + delete-clone -Server SQLSRV01 -Database 'DBTest'> c:\temp\log.txt + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (SMSQLPSSnapIn.SMSQLPSDeleteClo ne:SMSQLPSDeleteClone) [delete-clone], Exception + FullyQualifiedErrorId : [Dependent Clone Exists],SMSQLPSSnapIn.SMSQLPSDeleteClone
When trying to use the clone wizard GUI to remove the clone, i cannot select the database to delete.
This happens when cloning active databases and also cloning from an existing backup set
Im hoping to use this process to Mount some snapshots for our Datawarehouse ETL to use on a nightly basis.
You also get this errormessage when the database is not an clone, I just had an example when a previosly cloned database by some reason had become a physical database with files on the ordinary LUNS. I do not yet know why this happens, but each time it has happened the database file names contain the phrase "Primary" if I remember correctly.