Manage a backup repository

This page describes how to view, deactivate, and reactivate a backup repository for virtual machines (VMs) in Google Distributed Cloud (GDC) air-gapped.

Deactivate a repository to remove redundant resources to keep your backup environment organized and to free up storage space. You can reactivate a backup repository if you need it again.

Before you begin

To view, deactivate, and reactivate a backup repository, you must have the following:

  • A storage bucket and S3 credentials for the bucket.
  • The necessary identity and access role:

    • Organization Backup Admin: manages backup resources such as backup and restore plans in user clusters. Ask your Organization IAM Admin to grant you the Organization Backup Admin (organization-backup-admin) role. For more information, see Role definitions.

View a repository

View a backup repository GDC console or kubectl.

Console

View a list of repositories using the GDC console.

  1. Sign into the GDC console.
  2. In the navigation menu, click Backup for Virtual Machines > Repositories.
  3. Click a repository in the list to view its details.

kubectl

View a backup repository by listing the backup repositories and viewing their details using kubectl.

  1. List the existing backup repositories:

    kubectl get backuprepositories -n PROJECT_NAME
    
  2. In the list, find the backup repository that you want to view.

  3. View the backup repository details:

    kubectl describe backuprepository BACKUP_REPOSITORY_NAME -n PROJECT_NAME
    

    Replace the following:

    • BACKUP_REPOSITORY_NAME: the name of the backup repository.
    • PROJECT_NAME: the name of the project.

Deactivate a backup repository

To get the permissions that you need to deactivate a backup repository, ask your Organization IAM Admin to grant you the Organization Backup Admin (organization-backup-admin) role.

Deactivate a backup repository using the GDC console:

  1. Sign in to the GDC console.
  2. In the navigation menu, click Backup for Virtual Machines > Repositories.
  3. Click the name of the backup repository that you want to deactivate.
  4. Click Deactivate Repository.
  5. Enter the name of the backup repository into the text field.
  6. Click Deactivate to confirm the deletion of the backup repository.

Reactivate a backup repository

Reactivate a backup repository using the GDC console:

  1. Sign in to the GDC console.
  2. In the navigation menu, click Backup for Virtual Machines > Repositories.
  3. Click the name of the backup repository that you want to reactivate.
  4. Click Activate Repository.
  5. Click Activate.

What's next