Use tags

Updated at:

You can add tags to Cloud Backup clients to categorize them, which simplifies searching and resource management. This topic describes how to add tags to clients for ECS File Backup Standard Edition and local file backup.

Prerequisites

You have authorized and installed the client for ECS File Backup Standard Edition. For more information, see Before you begin.

Background

You can add tags to backup clients to categorize and manage them. These tags are specific to Cloud Backup clients and are independent of the tags on the ECS instances themselves. For example, in a team or project management context, you can add tags to clients based on project or department, such as project:a. This grouping makes it easier to filter and manage specific clients during routine maintenance.

Notes

  • Each tag consists of a key-value pair.

  • Tags must be unique.

    For example, if a client is tagged with company:a, and you later add the tag company:b, the original tag is automatically overwritten by company:b.

  • Tags are specific to a region. For example, a tag created in the China (Hangzhou) region is not visible in the China (Shanghai) region.

Limitations

The following limitations apply to tags:

Item

Limit

Maximum length of a key

128 characters

Maximum length of a value

128 characters

Maximum number of tags per resource

20

Key requirements

  • Cannot start with aliyun or acs:.

  • Cannot contain http:// or https://.

  • Cannot be an empty string.

Value requirements

Cannot contain http:// or https://.

Add tags

You can add tags to clients for ECS File Backup Standard Edition and local file backup on their respective resource details pages. For local file backup, you can also add client tags directly on the Local File Data Source tab.

ECS File Backup Standard Edition

  1. Log on to the Cloud Backup console.

  2. In the left-side navigation pane, choose Back Up > ECS File Backup Standard Edition.

  3. In the upper-left corner of the top navigation bar, select a region.

  4. Click the name of the target ECS instance to open its details page. In the header of the Client Information section, click the 标签 icon.

  5. In the Client Tags pop-up, click Edit.

  6. Enter a key-value pair in the Key and Value text boxes, and then click Save.

    To add multiple tags, click Add a Row.

Local file backup

The procedure for setting tags for a local file backup is the same as for ECS File Backup Standard Edition. Go to the details page of the protected resource and click the tag icon in the title of the Client Information section. Alternatively, on the Local File Data Source tab of the Local File Backup page, you can click the tag icon in the Tag column.

Search for resources by tag

On the ECS File Backup Standard Edition page, click Return to Old Version to switch to the classic console. On the ECS Instances tab, select Client Tags from the search filter, enter a tag key or key-value pair, and then click Search.

  • Search by a single key. Example:

    aaa
  • Search by a single key-value pair. Example:

    aaa@bbb
  • Search by multiple key-value pairs. Example:

    aaa@bbb,ccc@ddd

Delete a tag

You can remove unneeded tags from a client.

  1. Log on to the Cloud Backup console.

  2. In the left-side navigation pane, choose Back Up > ECS File Backup Standard Edition.

  3. In the upper-left corner of the top navigation bar, select a region.

  4. Click the name of the target ECS instance to open its details page. In the header of the Client Information section, click the 标签 icon.

  5. In the Client Tags pop-up, click Edit.

  6. Click the image icon next to the tag that you want to delete, and then click Save.