The smo clone delete command
You can run the clone delete command to delete a clone. You cannot delete a clone if the clone is use by any operation.
smo clone delete -profile profile_name \[-id guid \| -label clone_name\] [-login \[-username db_username -password db_password -port db_port\] \[-asminstance -asmusername asminstance_username -asmpassword asminstance_password\]] \[-syspassword syspassword\] -force \[-dump\] \[-quiet \| -verbose\]
Specifies the name of the profile containing the clone being deleted. The profile contains the identifier of the database and other database information.
Deletes the clone even if there are resources associated with the clone.
Specifies the GUID for the clone being deleted. The GUID is generated by SnapManager when you create a clone. You can use the smo clone list command to display the GUID for each clone.
Specifies the label for the clone being deleted.
Specifies the credentials that are used to log in to the Automatic Storage Management (ASM) instance.
Specifies the user name used to log in to the ASM instance.
Specifies the password used to log in to ASM instance.
Specifies the password for the sys privileged user.
You must provide the password for the sys privileged user if the database credentials provided are not the same for sys privileged user.
Allows you to enter the database login details.
Specifies the user name required to access the database.
Specifies the password required to access the database.
Specifies the TCP port number used to access the database that the profile describes.
Specifies to collect the dump files after the clone delete operation.
Displays only error messages in the console. The default is to display error and warning messages.
Displays error, warning, and informational messages in the console.
The following example deletes the clone:
smo clone delete -profile SALES1 -label SALES_May Operation Id [8abc01ec0e79004b010e79006da60001] succeeded.