All Products
Search
Document Center

Cloud Backup:Use tags

Last Updated:Sep 21, 2023

You can use tags to identify resources. You can also use tags to categorize your Cloud Backup resources. This way, you can search for and manage Cloud Backup resources with high efficiency. This topic describes how to use tags when you back up on-premises files.

Prerequisites

Authorization is completed in the Resource Access Management (RAM) console and a file backup client is installed. For more information, see Before you begin.

Background information

You can create different tags for different on-premises clients. For example, if you manage teams or projects, you can create tags based on departments or projects and use these tags to categorize your instances. For example, you can create a tag named project:a for a project. This way, you can filter on-premises clients by tag when you manage your on-premises clients.

Usage notes

  • Each tag consists of a key-value pair.
  • A tag must be unique.

    For example, the company:a tag is added to a backup vault. If you add the company:b tag to the backup vault, the company:a tag is replaced with the company:b tag.

  • Tags are not shared across regions. For example, tags that are created in the China (Hangzhou) region are invisible to the China (Shanghai) region.

Limits

When you create tags, take note of the following limits:
ItemLimit
The maximum length of a key128 characters
The maximum length of a value128 characters
The maximum number of custom tags that you can add to a resource20
The key of a tag
  • The key cannot start with aliyun or acs:.
  • The key cannot contain http:// or https:// .
  • The key cannot be an empty string.
The value of a tagA tag value cannot contain http:// or https://.

Manage and use tags

  1. Log on to the Cloud Backup console.

  2. In the left-side navigation pane, choose Backup > On-Premises File Backup.

  3. In the top navigation bar, select a region.

  4. On the On-Premises File Backup page, click File (New).

  5. In the Tags column, click the biaoqian icon next to the name or ID of the client for which you want to create tags.

  6. In the dialog box that appears, click Edit.

  7. In the Key and Value fields, enter the key-value pair of a tag and click Save.

    If you want to create more than one tag, click Add a row to specify the key-value pair of a new tag.

Search for resources by tag

On the right of the Clients tab, select Client Tags from the drop-down list and enter the tag information in the search box. Then, click the Search icon.

  • You can search for a resource by using a key, as shown in the following example:

    aaa
  • You can search for a resource by using a key-value pair, as shown in the following example:

    aaa:bbb
  • You can search for a resource by using multiple key-value pairs, as shown in the following example:

    aaa:bbb,ccc:ddd
    image.png
search