Manage a backup

This page provides instructions on how to view and delete existing backups of Harbor instances in Google Distributed Cloud (GDC) air-gapped.

Delete unused Harbor backups to free up storage space and reduce costs. This best practice simplifies backup management and can improve the performance of backups.

Before you begin

You must have an existing backup. You create backups by doing one of the following:

Required IAM roles

Request the necessary permissions from your Project IAM administrator. Enforce least privilege access by requesting only the roles required for your specific tasks.

  • Secret Admin (secret-admin): get, list, create, update, patch, and delete all Kubernetes secrets within the project namespace. This is a project-level permission that includes the sensitive authentication credentials needed by the backup repository.
  • Harbor Instance Admin (harbor-instance-admin): get, list, watch, create, update, patch, and delete Harbor instances, backup repositories, backup plans, backups, and restores within a specific project namespace.

View an existing backup

To view an existing backup, follow these steps:

  1. Sign in to the GDC console.
  2. In the navigation menu, click Backup for harbor instance.
  3. Click Backups.
  4. View existing backups in the table.
  5. To view the details of a single backup, click the name of the backup in the table.

Delete a backup

Backups are deleted in two ways:

  • Backups are automatically deleted after the number of days in their backup plan retention policy is reached.
  • You delete backups manually.

To manually delete an existing backup, follow these steps:

  1. Sign in to the GDC console.
  2. In the navigation menu, click Backup for harbor instance.
  3. Click Backups.
  4. Click the name of the backup you want to delete.
  5. Click Delete backup.
  6. In the confirmation dialog, enter the name of the backup that is being deleted.
  7. Click Delete backup.

What's next