# Managing Backup Tags

You can add tags to a backup as well as edit and delete these tags. These tags are used to filter and manage backup resources only.

#### Procedure

1. Log in to the CSBS management console.

   1. Log in to the management console.
   2. Click in the upper left corner of the management console and select a region and a project.
   3. Under Storage > Cloud Server Backup Service.
2. Click the Backups tab. Locate the ECS backup. For details, see Viewing a Backup.
3. Click on the left of a backup name to view details about the backup.
4. Click Tags in the details area to expand the tag management panel.

   The panel displays all tags of the backup.

   - Adding a tag
     1. Click Add Tag in the upper left corner.
     2. In the dialog box displayed, set the key and value of the new tag.

        A tag is represented in the form of a key-value pair. Tags are used to identify, classify, and search for cloud resources. These tags are used to filter and manage backup resources only. A backup can have a maximum of 10 tags.

        Table 1 describes parameters of a tag.

        Table 1 Parameter description
        Parameter | Description | Example Value
        --- | --- | ---

        Key

        Tag key. Each tag of a backup has a unique key. The key of a tag is user-definable or is selected from those of existing tags in TMS.

        The naming rule of a tag key is as follows:
        - It ranges from 1 to 36 Unicode characters.
        - It can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).

        Key_0001

        Value

        Tag value. Tag values can be repetitive or null.

        The naming rule of a tag value is as follows:
        - It ranges from 0 to 43 Unicode characters.
        - It can contain only uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).

        Value_0001

     3. Click OK.
   - Editing a tag
     1. In the Operation column of the tag that you want to edit, click Edit.
     2. In the Edit Tag dialog box displayed, modify the tag value. Table 1 describes the parameters.

        If the updated tag is identical to an existing one, only one is retained.

     3. Click OK.
   - Deleting a tag
     1. In the Operation column of the tag that you want to delete, click Delete.
     2. In the dialog box that is displayed, confirm the deletion information.
     3. Click Yes.
   - Searching for backups by tag

     For details, see View Backup Details.

Parent topic: Backup