How can I tag the backup data in cloud storage?

Add metadata/tag to the backup data

CubeBackup supports adding metadata/tag to the backup data in your cloud storage. Please follow the step-by-step instructions below to enable the feature:

  1. Before getting started, please be sure to enable the CubeBackup API on your CubeBackup server.
  2. On the OVERVIEW page of the CubeBackup web console, find the Storage status section at the bottom right, and click the gear icon to open the update wizard. Press the Edit storage configuration button.
  3. As a safety precaution, an authentication code will be emailed to you. Please type in the code to continue.
  4. This will place your CubeBackup instance in maintenance mode. Next, you need to call the appropriate API and add the WriteMetaTag property to your configuration.
  5. Call the Update the backup storage API, passing along "WriteMetaTag": true as a JSON payload.
    curl -L \
      –request PATCH "…/api/v1/storage/settings" \
      –header "Authorization:255c6…88111" \
      –header "Content-Type: application/json" \
      –data '{"WriteMetaTag": true}'
  6. In response, CubeBackup will return the Storage object for confirmation, or an error message if there is a problem.
  7. In the CubeBackup web console, click Cancel and return to Dashboard. Now you can initiate a backup to confirm that your CubeBackup instance is functioning properly with the updated configuration.

1. All backup data will be tagged with cbtag, with index data marked as hot and backup data marked as cool.
2. Only data backed up after you have made this change will be given a tag. If you want to attach cbtag to all of your backup data, you must add the line before the initial backup or migration from one cloud storage to another.