Use tags
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 tagcompany:b, the original tag is automatically overwritten bycompany: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 |
|
|
Value requirements |
Cannot contain |
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
Log on to the Cloud Backup console.
-
In the left-side navigation pane, choose .
-
In the upper-left corner of the top navigation bar, select a region.
-
Click the name of the target ECS instance to open its details page. In the header of the Client Information section, click the
icon. -
In the Client Tags pop-up, click Edit.
-
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.
Log on to the Cloud Backup console.
-
In the left-side navigation pane, choose .
-
In the upper-left corner of the top navigation bar, select a region.
-
Click the name of the target ECS instance to open its details page. In the header of the Client Information section, click the
icon. -
In the Client Tags pop-up, click Edit.
-
Click the
icon next to the tag that you want to delete, and then click Save.