You can use tags to identify resources. You can use tags to categorize your ECS resources. This way, you can search and manage resources in a more efficient way. This topic describes how to use the tagging feature to back up SAP HANA instances.
Prerequisites
- The preparations for SAP HANA backup are completed. For more information, see Preparations.
- An SAP HANA instance is registered and the SAP HANA nodes are verified. For more information, see Register an SAP HANA instance and Verify SAP HANA nodes.
Background information
You can create different tags for different SAP HANA instances. For example, if you
manage teams or projects, you can create tags by department or project and use these
tags to categorize your instances. For example, you can create a tag named project:a
for a project. When you maintain your SAP HANA instances, you can filter the instances
by tag.
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 thecompany:b
tag to the backup vault, the company:a tag is replaced with thecompany: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
Item | Limit |
---|---|
The maximum length of a key | 128 characters |
The maximum length of a value | 128 characters |
The maximum number of custom tags that you can add to a resource | 20 |
The key of a tag |
|
The value of a tag | A tag value cannot contain http:// or https:// .
|
Create tags
Search for resources by tag
- 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
