Tags help you mark and categorize resources. You can group Cloud Backup resources that serve the same purpose. This simplifies searching and resource aggregation. This topic describes how to use tags for SAP HANA backup.
Preparations
Ensure that you have completed the preparations for SAP HANA backup. For more information, see Preparations.
Ensure that the SAP HANA instance is registered and its nodes are verified. For more information, see Register an SAP HANA instance and Verify SAP HANA nodes.
Background information
You can set different tags for different SAP HANA instances. For example, in team or project management, you can set tags based on dimensions such as project or department. An example is project:a. This lets you group instances. During daily maintenance, you can filter for a group of instances with specific tags before you perform operations.
Usage notes
Each tag consists of a key-value pair.
A tag must be unique.
For example, the
company:atag is added to a backup vault. If you add thecompany:btag to the backup vault, the company:a tag is replaced with thecompany:btag.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:
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 |
Set tags
Log on to the Cloud Backup console.
In the left navigation pane, choose .
In the top navigation bar, select a region.
On the SAP HANA Instances tab, click the
tag icon in the Tags column of the target instance.In the dialog box that appears, click Edit.
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 SAP HANA Instances tab, select Tags from the filter drop-down list, enter the tag information, and then click Search Icon.
You can search for a resource by using a key, as shown in the following example:
aaaYou can search for a resource by using a key-value pair, as shown in the following example:
aaa:bbbYou can search for a resource by using multiple key-value pairs, as shown in the following example:
aaa:bbb,ccc:ddd