Administrator für Sicherungen von Nutzerclustern: Verwaltet Sicherungsressourcen wie Sicherungs- und Wiederherstellungspläne in Nutzerclustern. Bitten Sie Ihren IAM-Administrator der Organisation, Ihnen die Rolle „User Cluster Backup Admin“ (user-cluster-backup-admin) zuzuweisen.
Für AO-Nutzer:
Backup Creator: Erstellt manuelle Sicherungen und führt Wiederherstellungen durch. Bitten Sie Ihren Projekt-IAM-Administrator, Ihnen die Rolle „Backup Creator“ (backup-creator) zuzuweisen.
Sie können eine Liste der Wiederherstellungen in der GDC Console oder mit kubectl aufrufen.
Console
Melden Sie sich in der GDC-Konsole an.
Klicken Sie im Navigationsmenü auf Sicherung für Cluster.
Klicken Sie auf Projekt auswählen, um je nach Rolle eine Organisation oder ein Projekt auszuwählen:
Sicherungsadministrator: Wählen Sie eine Organisation aus, um alle Wiederherstellungen in einer Organisation zu sehen, oder wählen Sie ein Projekt aus, um alle Wiederherstellungen in einem Projekt zu sehen.
Backup Creator: Wählen Sie ein Projekt aus, um alle Wiederherstellungen in einem Projekt zu sehen.
Klicken Sie auf den Tab Wiederherstellungen.
Klicken Sie in der Liste auf eine Wiederherstellung, um die Details aufzurufen.
kubectl
Status einer Wiederherstellung im Standard-Namespace ansehen:
kubectlgetclusterRestores
Hier ein Beispiel für die Ausgabe:
NAME STATE
restore-sample Succeeded
Wiederherstellungen in allen Namespaces ansehen:
kubectlgetclusterRestores-A
Wiederherstellungen in einem bestimmten Namespace ansehen:
kubectlgetclusterRestores-nNAMESPACE
Ersetzen Sie NAMESPACE durch den Namespace, der die Wiederherstellungen enthält.
Wiederherstellung löschen
Im Gegensatz zum Löschen von Sicherungen ist zum Löschen einer Wiederherstellung keine Anfrage erforderlich. Wiederherstellungen werden gelöscht, indem die Ressource direkt vom Kubernetes API-Server gelöscht wird.
Durch diese Aktion werden auch alle zugehörigen Wiederherstellungsartefakte aus dem Objektspeicher entfernt.
Verwenden Sie kubectl, um eine Wiederherstellung zu löschen:
kubectldeleteclusterRestoresRESTORE_NAME
Ersetzen Sie RESTORE_NAME durch den Namen der Wiederherstellung.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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."]]