Stay organized with collections
Save and categorize content based on your preferences.
This page details how to create manual backups, view existing backups, and delete existing backups for cluster workloads in Google Distributed Cloud (GDC) air-gapped.
Before you begin
To create, view, and delete backups, you must have the following:
The necessary identity and access role:
For Platform Administrator (PA) users:
User Cluster Backup Admin: manages backup resources such as backup and restore plans in user clusters. Ask your Organization IAM Admin to grant you the User Cluster Backup Admin (user-cluster-backup-admin) role.
For Application Operator (AO) users:
Backup Creator: creates manual backups and restores. Ask your Project IAM Admin to grant you the Backup Creator (backup-creator) role.
AO users can only perform manual backups from an existing backup
plan.
Create a manual backup
If your backup plan defines a schedule for the backup, the backups are
automatically created according to that schedule. You can also manually create a backup
outside the scope of your backup plan schedule. For example, you might want to back
up your workloads before you upgrade your applications. A backup does not
include cluster configuration information, such as node configurations, node
pools, initial cluster size, or what features are enabled.
Two forms of data are captured in a backup:
Config backup: A set of Kubernetes resource descriptions extracted from
the API server of the cluster undergoing backup.
Volume backup: A backup of PersistentVolumeClaims.
Console
Sign in to the GDC console.
In the navigation menu, click Backup for Clusters.
Click the Backup Plans tab.
Click the plan that you want to use for the backup.
Click Start a backup.
Enter a backup name and an optional description.
Set the number of days to retain the backup. Once this number of days is reached, the backup is
automatically deleted.
Set the number of days during which backups cannot be deleted.
Click Start.
API
The manual backup must reference an existing backup plan for the backup
configuration and the backup must be created by issuing a
ManualClusterBackupRequest.
Here's an example of a ManualClusterBackupRequest:
Replace PROJECT_NAME with the name of your GDC project.
This example includes the following values:
Value
Description
clusterBackupName
The name of the backup to create.
clusterBackupPlanRef
The name of the ClusterBackupPlan to use for the configuration of the
backup. The backup plan must exist in the same namespace as the
ManualClusterBackupRequest.
deleteLockDays
Blocks any deletion of the backup for the number of days specified after backup creation. This overrides the retentionPolicy in the
ClusterBackupPlan.
retainDays
Deletes backups once the specified number of days is reached following
backup creation. This value overrides the retentionPolicy in the ClusterBackupPlan.
Retention policies do not override the retention policies of the storage
location, nor can they exceed 90 days.
View a backup
Users with the User Cluster Backup Admin (user-cluster-backup-admin) role can see all backups in the organization.
Users with the Backup Creator (backup-creator) role can see all of the backups in a project.
Console
Sign in to the GDC console.
In the navigation menu, click Backup for Clusters.
Click Select project to select an organization or project depending
on your role:
User Cluster Backup Admin: Select an organization to see all backups
in an organization or select a project to see all backups in a
project.
Backup Creator: Select a project to see all backups in a project.
Click the Backups tab.
Click a backup in the list to view its details.
kubectl
View a list of your backups:
kubectlgetclusterBackups
An example of the output:
NAME STATE
backup-test Succeeded
Delete a backup
Backups can't be deleted by a regular interaction with the Kubernetes API
server. To delete a backup, use the GDC console or issue a DeleteClusterBackupRequest.
Console
Delete the backup from the Backups tab:
Sign in to the GDC console.
In the navigation menu, click Backup for Clusters.
Click Select project to select an organization or project depending
on your role:
User Cluster Backup Admin: Select an organization to see all backups
in an organization, or select a project to see all backups in a
project.
Backup Creator: Select a project to see all backups in a project.
Click the Backups tab.
Click the three-dot menu icon for the backup you want to delete.
Type the name of the backup into the text box.
Click the Delete Backup button to complete the deletion of this backup.
Alternatively, delete the backup by clicking on the backup name when viewing a backup plan:
Sign in to the GDC console.
In the navigation menu, click Backup for Clusters.
Click Select project, and select an organization or project depending on
your role:
User Cluster Backup Admin: Select an organization to see all of the backup
plans in an organization, or select a project to see all of the backup plans in
a project.
Backup Creator: Select a project to see all of the backup plans in a project.
Click the Backup Plans tab.
Click the name of the backup plan containing the backup you want to delete.
Click the Backups tab.
Click the name of the backup you want to delete.
Click the Delete Backup button.
Enter the name of the backup into the text field.
Click the Delete button to complete the deletion of this backup.
Replace PROJECT_NAME with the name of your GDC project.
This example includes the following values:
backupName: the name of the backup being deleted. This backup must exist
in the same namespace as the DeleteClusterBackupRequest.
DeleteClusterBackupRequest: the resource that deletes the backup custom resource from the cluster
and removes all artifacts associated with that backup from the storage
location of the backup, including volume data.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003eThis page guides users on managing cluster workload backups in Google Distributed Cloud (GDC) air-gapped environments, covering the creation, viewing, and deletion of backups.\u003c/p\u003e\n"],["\u003cp\u003eCreating manual backups can be done through the GDC console or API, referencing an existing backup plan, and users must have appropriate roles, either User Cluster Backup Admin or Backup Creator.\u003c/p\u003e\n"],["\u003cp\u003eUsers can view backups through the GDC console or \u003ccode\u003ekubectl\u003c/code\u003e, with visibility determined by their assigned role: User Cluster Backup Admins can view all backups, while Backup Creators can only see backups within their project.\u003c/p\u003e\n"],["\u003cp\u003eDeleting backups requires using the GDC console or a \u003ccode\u003eDeleteClusterBackupRequest\u003c/code\u003e via API, and it is important to note that deleting backups is an irreversible action.\u003c/p\u003e\n"],["\u003cp\u003eBackups consist of config backup, a set of kubernetes resource descriptions, and volume backup, a backup of PersistentVolumeClaims, but it does not include cluster configurations.\u003c/p\u003e\n"]]],[],null,["# Back up your workloads\n\nThis page details how to create manual backups, view existing backups, and delete existing backups for cluster workloads in Google Distributed Cloud (GDC) air-gapped.\n\nBefore you begin\n----------------\n\nTo create, view, and delete backups, you must have the following:\n\n- The necessary identity and access role:\n\n - For Platform Administrator (PA) users:\n - User Cluster Backup Admin: manages backup resources such as backup and restore plans in user clusters. Ask your Organization IAM Admin to grant you the User Cluster Backup Admin (`user-cluster-backup-admin`) role.\n - For Application Operator (AO) users:\n - Backup Creator: creates manual backups and restores. Ask your Project IAM Admin to grant you the Backup Creator (`backup-creator`) role.\n - For more information, see [Role definitions](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/iam/role-definitions).\n- AO users can only perform manual backups from an existing backup\n plan.\n\nCreate a manual backup\n----------------------\n\nIf your backup plan defines a schedule for the backup, the backups are\nautomatically created according to that schedule. You can also manually create a backup\noutside the scope of your backup plan schedule. For example, you might want to back\nup your workloads before you upgrade your applications. A backup does not\ninclude cluster configuration information, such as node configurations, node\npools, initial cluster size, or what features are enabled.\n\nTwo forms of data are captured in a backup:\n\n- **Config backup**: A set of Kubernetes resource descriptions extracted from the API server of the cluster undergoing backup.\n- **Volume backup** : A backup of `PersistentVolumeClaims`.\n\n### Console\n\n1. Sign in to the GDC console.\n2. In the navigation menu, click **Backup for Clusters**.\n3. Click the **Backup Plans** tab.\n4. Click the plan that you want to use for the backup.\n5. Click **Start a backup**.\n6. Enter a backup name and an optional description.\n7. Set the number of days to retain the backup. Once this number of days is reached, the backup is automatically deleted.\n8. Set the number of days during which backups cannot be deleted.\n9. Click **Start**.\n\n### API\n\nThe manual backup must reference an existing backup plan for the backup\nconfiguration and the backup must be created by issuing a\n`ManualClusterBackupRequest`.\n\nHere's an example of a `ManualClusterBackupRequest`: \n\n apiVersion: backup.gdc.goog/v1\n kind: ManualClusterBackupRequest\n metadata:\n name: manualbackuprequest-test\n namespace: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003ePROJECT_NAME\u003c/span\u003e\u003c/var\u003e\n spec:\n clusterBackupName: \"backup-test\"\n clusterBackupPlanRef: \"backupplan-test\"\n deleteLockDays: 5\n retainDays: 6\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_NAME\u003c/var\u003e with the name of your GDC project.\n\nThis example includes the following values:\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nView a backup\n-------------\n\nUsers with the User Cluster Backup Admin (`user-cluster-backup-admin`) role can see all backups in the organization.\nUsers with the Backup Creator (`backup-creator`) role can see all of the backups in a project. \n\n### Console\n\n1. Sign in to the GDC console.\n2. In the navigation menu, click **Backup for Clusters**.\n3. Click **Select project** to select an organization or project depending on your role:\n - User Cluster Backup Admin: Select an organization to see all backups in an organization or select a project to see all backups in a project.\n - Backup Creator: Select a project to see all backups in a project.\n4. Click the **Backups** tab.\n5. Click a backup in the list to view its details.\n\n### kubectl\n\nView a list of your backups: \n\n kubectl get clusterBackups\n\nAn example of the output: \n\n NAME STATE\n backup-test Succeeded\n\nDelete a backup\n---------------\n\nBackups can't be deleted by a regular interaction with the Kubernetes API\nserver. To delete a backup, use the GDC console or issue a `DeleteClusterBackupRequest`. \n\n### Console\n\nDelete the backup from the **Backups** tab:\n\n1. Sign in to the GDC console.\n2. In the navigation menu, click **Backup for Clusters**.\n3. Click **Select project** to select an organization or project depending on your role:\n - User Cluster Backup Admin: Select an organization to see all backups in an organization, or select a project to see all backups in a project.\n - Backup Creator: Select a project to see all backups in a project.\n4. Click the **Backups** tab.\n5. Click the three-dot menu icon for the backup you want to delete.\n6. Type the name of the backup into the text box.\n7. Click the **Delete Backup** button to complete the deletion of this backup.\n\n | **Note:** This operation can't be undone.\n\nAlternatively, delete the backup by clicking on the backup name when viewing a backup plan:\n\n1. Sign in to the GDC console.\n2. In the navigation menu, click **Backup for Clusters**.\n3. Click **Select project** , and select an organization or project depending on your role:\n - User Cluster Backup Admin: Select an organization to see all of the backup plans in an organization, or select a project to see all of the backup plans in a project.\n - Backup Creator: Select a project to see all of the backup plans in a project.\n4. Click the **Backup Plans** tab.\n5. Click the name of the backup plan containing the backup you want to delete.\n6. Click the **Backups** tab.\n7. Click the name of the backup you want to delete.\n8. Click the **Delete Backup** button.\n9. Enter the name of the backup into the text field.\n10. Click the **Delete** button to complete the deletion of this backup.\n\n | **Note:** This operation can't be undone.\n\n### kubectl\n\nSend a `DeleteClusterBackupRequest` request: \n\n apiVersion: backup.gdc.goog/v1\n kind: DeleteClusterBackupRequest\n metadata:\n name: deletebackuprequest-test\n namespace: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003ePROJECT_NAME\u003c/span\u003e\u003c/var\u003e\n spec:\n clusterBackupRef: \"backup-test\"\n\nReplace \u003cvar translate=\"no\"\u003ePROJECT_NAME\u003c/var\u003e with the name of your GDC project.\n\nThis example includes the following values:\n\n- `backupName`: the name of the backup being deleted. This backup must exist in the same namespace as the `DeleteClusterBackupRequest`.\n- `DeleteClusterBackupRequest`: the resource that deletes the backup custom resource from the cluster and removes all artifacts associated with that backup from the storage location of the backup, including volume data.\n\n| **Note:** Attempting to delete a `ClusterBackup` resource without applying a `DeleteClusterBackupRequest` resource doesn't clean object storage artifacts and might result in undefined behavior.\n\nWhat's next\n-----------\n\n- [Plan a set of restores](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/cluster-backup/plan-restores)"]]