The smsap 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.
Syntax
smsap 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]
Parameters
-
-profile profile_nameSpecifies the name of the profile containing the clone being deleted. The profile contains the identifier of the database and other database information.
-
-forceDeletes the clone even if there are resources associated with the clone.
-
-id guidSpecifies the GUID for the clone being deleted. The GUID is generated by SnapManager when you create a clone. You can use the
smsap clone listcommand to display the GUID for each clone. -
-label nameSpecifies the label for the clone being deleted.
-
-asminstanceSpecifies the credentials that are used to log in to the Automatic Storage Management (ASM) instance.
-
-asmusername asminstance_usernameSpecifies the user name used to log in to the ASM instance.
-
-asmpassword asminstance_passwordSpecifies the password used to log in to ASM instance.
-
-syspassword syspasswordSpecifies 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. -
-loginAllows you to enter the database login details.
-
-username db_usernameSpecifies the user name required to access the database.
-
-password db_passwordSpecifies the password required to access the database.
-
-port db_portSpecifies the TCP port number used to access the database that the profile describes.
-
-dumpSpecifies to collect the dump files after the clone delete operation.
-
-quietDisplays only error messages in the console. The default is to display error and warning messages.
-
-verboseDisplays error, warning, and informational messages in the console.
Example
The following example deletes the clone:
smsap clone delete -profile SALES1 -label SALES_May Operation Id [8abc01ec0e79004b010e79006da60001] succeeded.