DELETE COPYGROUP (Delete a backup or archive copy group)

Use this command to delete a backup or archive copy group from a management class. You cannot delete a copy group in the ACTIVE policy set.

When you activate the changed policy set, any files that are bound to a deleted copy group are managed by the default management class.

You can delete the predefined STANDARD copy group in the STANDARD policy domain (STANDARD policy set, STANDARD management class). However, if you later reinstall the Tivoli® Storage Manager server, the process restores all STANDARD policy objects.

Privilege class

To issue this command, you must have system privilege, unrestricted policy privilege, or restricted policy privilege for the policy domain to which the copy group belongs.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DELete COpygroup--domain_name--policy_set_name--class_name--->

   .-STANDARD-.  .-Type--=--Backup------.   
>--+----------+--+----------------------+----------------------><
   '-STANDARD-'  '-Type--=--+-Backup--+-'   
                            '-Archive-'     

Parameters

domain_name (Required)
Specifies the policy domain to which the copy group belongs.
policy_set_name (Required)
Specifies the policy set to which the copy group belongs.
class_name (Required)
Specifies the management class to which the copy group belongs.
STANDARD
Specifies the copy group, which is always STANDARD. This parameter is optional. The default value is STANDARD.
Type
Specifies the type of copy group to delete. This parameter is optional. The default value is BACKUP. Possible values are:
Backup
Specifies that the backup copy group is deleted.
Archive
Specifies that the archive copy group is deleted.

Example: Delete a backup copy group

Delete the backup copy group from the ACTIVEFILES management class that is in the VACATION policy set of the EMPLOYEE_RECORDS policy domain.
delete copygroup employee_records 
vacation activefiles

Example: Delete an archive copy group

Delete the archive copy group from the MCLASS1 management class that is in the SUMMER policy set of the PROG1 policy domain.
delete copygroup prog1 summer mclass1 type=archive

Related commands

Table 1. Commands related to DELETE COPYGROUP
Command Description
DEFINE COPYGROUP Defines a copy group for backup or archive processing within a specified management class.
QUERY COPYGROUP Displays the attributes of a copy group.
UPDATE COPYGROUP Changes one or more attributes of a copy group.