Admin Pencadangan Cluster Pengguna: mengelola resource pencadangan seperti rencana pencadangan dan pemulihan di cluster pengguna. Minta Admin IAM Organisasi Anda untuk memberi Anda peran User Cluster Backup Admin (user-cluster-backup-admin).
Untuk pengguna AO:
Pembuat Cadangan: membuat cadangan dan pemulihan manual. Minta Admin IAM Project Anda untuk memberi Anda peran Pembuat Cadangan (backup-creator).
Untuk mengetahui informasi selengkapnya, lihat Definisi peran.
Melihat pemulihan
Lihat daftar pemulihan menggunakan konsol GDC atau kubectl.
Konsol
Login ke konsol GDC.
Di menu navigasi, klik Backup for Clusters.
Klik Pilih project untuk memilih organisasi atau project, bergantung pada peran Anda:
Admin Cadangan: Pilih organisasi untuk melihat semua pemulihan di organisasi atau pilih project untuk melihat semua pemulihan di project.
Pembuat Cadangan: Pilih project untuk melihat semua pemulihan dalam project.
Klik tab Pemulihan.
Klik pemulihan dalam daftar untuk melihat detailnya.
kubectl
Melihat status pemulihan di namespace default:
kubectlgetclusterRestores
Berikut contoh outputnya:
NAME STATE
restore-sample Succeeded
Melihat pemulihan di semua namespace:
kubectlgetclusterRestores-A
Melihat pemulihan di namespace tertentu:
kubectlgetclusterRestores-nNAMESPACE
Ganti NAMESPACE dengan namespace yang berisi pemulihan.
Menghapus pemulihan
Tidak seperti cadangan, penghapusan pemulihan tidak memerlukan pengiriman permintaan. Pemulihan
dihapus dengan menghapus resource secara langsung dari server Kubernetes API.
Tindakan ini juga akan membersihkan artefak pemulihan terkait dari penyimpanan objek.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003eThis guide explains how to view existing restores in Google Distributed Cloud (GDC) air-gapped using the GDC console or \u003ccode\u003ekubectl\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDeleting unused restores is recommended to free up storage space and maintain a tidy environment.\u003c/p\u003e\n"],["\u003cp\u003eTo view or delete a restore, you need either the User Cluster Backup Admin role (for PA users) or the Backup Creator role (for AO users).\u003c/p\u003e\n"],["\u003cp\u003eRestores can be deleted directly using \u003ccode\u003ekubectl delete clusterRestores <RESTORE_NAME>\u003c/code\u003e, which also removes associated artifacts from object storage.\u003c/p\u003e\n"],["\u003cp\u003eYou can view the status of restores in any namespace using \u003ccode\u003ekubectl\u003c/code\u003e, including all namespaces with \u003ccode\u003e-A\u003c/code\u003e or a specific one with \u003ccode\u003e-n <NAMESPACE>\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# View and delete a restore\n\nThis page describes how to view and delete an existing restore in\nGoogle Distributed Cloud (GDC) air-gapped.\n\nDelete unused restores to free up storage space and reduce clutter.\n\nBefore you begin\n----------------\n\nTo view and delete a restore, you must have the following:\n\n- An existing restore. For more information, see [Plan a set of restores](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/cluster-backup/plan-restores).\n- The necessary identity and access role:\n\n - For 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 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\nView a restore\n--------------\n\nView a list of restores using the GDC console or `kubectl`. \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:\n4. Backup Admin: Select an organization to see all of the restores in an organization or select a project to see all of the restores in a project.\n5. Backup Creator: Select a project to see all of the restores in a project.\n6. Click the **Restores** tab.\n7. Click a restore in the list to view its details.\n\n### kubectl\n\nView the status of a restore in the default namespace: \n\n kubectl get clusterRestores\n\nHere's an example of the output: \n\n NAME STATE\n restore-sample Succeeded\n\nView restores in all namespaces: \n\n kubectl get clusterRestores -A\n\nView restores in a specific namespace: \n\n kubectl get clusterRestores -n \u003cvar translate=\"no\"\u003eNAMESPACE\u003c/var\u003e\n\nReplace \u003cvar translate=\"no\"\u003eNAMESPACE\u003c/var\u003e with the namespace containing the restores.\n\nDelete a restore\n----------------\n\nUnlike backups, deleting a restore does not require issuing a request. Restores\nare deleted by deleting the resource directly from the Kubernetes API server.\nThis action also cleans up any associated restore artifacts from object storage.\n\n- To delete a restore, use `kubectl`:\n\n kubectl delete clusterRestores \u003cvar translate=\"no\"\u003eRESTORE_NAME\u003c/var\u003e\n\n Replace \u003cvar translate=\"no\"\u003eRESTORE_NAME\u003c/var\u003e with the name of the restore."]]