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.
- 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 (
View a repository
View a backup repository GDC console or kubectl
.
Console
View a list of repositories using the GDC console.
- Sign into the GDC console.
- In the navigation menu, click Backup for Virtual Machines > Repositories.
- 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
.
List the existing backup repositories:
kubectl get backuprepositories -n PROJECT_NAME
In the list, find the backup repository that you want to view.
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:
- Sign in to the GDC console.
- In the navigation menu, click Backup for Virtual Machines > Repositories.
- Click the name of the backup repository that you want to deactivate.
- Click Deactivate Repository.
- Enter the name of the backup repository into the text field.
Click Deactivate to confirm the deletion of the backup repository.
Reactivate a backup repository
Reactivate a backup repository using the GDC console:
- Sign in to the GDC console.
- In the navigation menu, click Backup for Virtual Machines > Repositories.
- Click the name of the backup repository that you want to reactivate.
- Click Activate Repository.
- Click Activate.