Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite wird beschrieben, wie Sie eine manuelle Wiederherstellung für eine Sicherung in Google Distributed Cloud (GDC) Air-Gap erstellen.
Bei der manuellen Wiederherstellung können Sie eine bestimmte Sicherungsversion auswählen, um den Zustand zu einem bestimmten Zeitpunkt wiederherzustellen.
Hinweise
Um eine Wiederherstellung für eine Sicherung zu erstellen, benötigen Sie Folgendes:
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.
Erstellen Sie eine Wiederherstellung mit der GDC-Konsole oder der API.
Console
Melden Sie sich in der GDC-Konsole an.
Klicken Sie im Navigationsmenü auf Sicherung für Cluster.
Wählen Sie ein Projekt aus.
Klicken Sie auf den Tab Sicherungen.
Suchen Sie in der Liste der Sicherungen die Sicherung, die Sie wiederherstellen möchten, und klicken Sie auf Wiederherstellen.
Wählen Sie einen Wiederherstellungsplan aus der Liste der Tarife aus, die für diese Sicherung gelten.
Geben Sie einen Namen und optional eine Beschreibung für die Wiederherstellung ein.
Klicken Sie auf Wiederherstellen.
API
Erstellen Sie eine benutzerdefinierte ManualClusterRestoreRequest-Ressource, um Wiederherstellungen aus vorhandenen ClusterRestorePlan-Ressourcen durchzuführen. Geben Sie die folgenden Ressourcen an:
Die ClusterBackup-Ressource, die Sie wiederherstellen möchten.
Der Name des ClusterRestore, das Sie erstellen möchten
Der ClusterRestorePlan, der mit dem ClusterBackupPlan des ClusterBackup übereinstimmt.
Hier sehen Sie ein Beispiel für eine ManualClusterRestoreRequest-Ressource:
RESTORE_NAME: Der Name der Clusterwiederherstellung, die Sie erstellen möchten.
PROJECT_NAMESPACE: der Name Ihres GDC-Projekts.
RESTORE_PLAN ist der Name des Cluster-Wiederherstellungsplans, von dem diese Cluster-Wiederherstellung abgeleitet wird.
BACKUP_NAME: die wiederherzustellende Clustersicherung. Diese ClusterBackup-Ressource muss der ClusterBackupPlan-Ressource zugeordnet sein, auf die sich der Clusterwiederherstellungsplan bezieht. Weitere Informationen finden Sie unter Eine Reihe von Wiederherstellungen planen.
Nachdem Sie eine ManualClusterRestoreRequest initiiert haben, wird eine benutzerdefinierte ClusterRestore-Ressource erstellt.
[[["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 details the process of creating a manual restore for a backup in Google Distributed Cloud (GDC) air-gapped, allowing for recovery to a specific point in time.\u003c/p\u003e\n"],["\u003cp\u003eBefore initiating a restore, users must have an existing backup and the appropriate identity and access role, either User Cluster Backup Admin for PA users or Backup Creator for AO users.\u003c/p\u003e\n"],["\u003cp\u003eRestores can be performed through the GDC console by selecting a backup and restore plan, or via the API by creating a \u003ccode\u003eManualClusterRestoreRequest\u003c/code\u003e custom resource, specifying the \u003ccode\u003eClusterBackup\u003c/code\u003e, \u003ccode\u003eClusterRestore\u003c/code\u003e, and \u003ccode\u003eClusterRestorePlan\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eManualClusterRestoreRequest\u003c/code\u003e requires key details such as the restore name, project namespace, the restore plan name, and the backup name to function correctly.\u003c/p\u003e\n"],["\u003cp\u003eAfter the \u003ccode\u003eManualClusterRestoreRequest\u003c/code\u003e is initiated, a \u003ccode\u003eClusterRestore\u003c/code\u003e custom resource is automatically generated.\u003c/p\u003e\n"]]],[],null,["# Create a restore\n\nThis page describes how to create a manual restore for a backup in Google Distributed Cloud (GDC) air-gapped.\n\nManual restores enable recovery to a specific point in time by selecting a specific backup version.\n\nBefore you begin\n----------------\n\nTo create a restore for a backup, you must have the following:\n\n- An existing backup. For more information, see [Plan a set of backups](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/cluster-backup/plan-backups).\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\nCreate a restore\n----------------\n\nCreate a restore using the GDC console or the API. \n\n### Console\n\n1. Sign in to the GDC console.\n2. In the navigation menu, click **Backup for Clusters**.\n3. Select a project.\n4. Click the **Backups** tab.\n5. In the list of backups, find the backup to restore and click **Restore**.\n6. Choose a restore plan from the list of plans that apply to this backup.\n7. Enter a name and an optional description for the restore.\n8. Click **Restore**.\n\n### API\n\nCreate a `ManualClusterRestoreRequest` custom resource to perform restores from\nexisting `ClusterRestorePlan` resources. Specify the following resources:\n\n- The `ClusterBackup` resource that you want to restore.\n- The name of the `ClusterRestore` that you want to create\n- The `ClusterRestorePlan` that matches the `ClusterBackupPlan` of the `ClusterBackup`.\n\nHere's an example of a `ManualClusterRestoreRequest` resource: \n\n apiVersion: backup.gdc.goog/v1\n kind: ManualClusterRestoreRequest\n metadata:\n name: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eRESTORE_NAME\u003c/span\u003e\u003c/var\u003e\n namespace: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003ePROJECT_NAMESPACE\u003c/span\u003e\u003c/var\u003e\n spec:\n clusterRestoreName: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eRESTORE_NAME\u003c/span\u003e\u003c/var\u003e\n clusterRestorePlanName: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eRESTORE_PLAN\u003c/span\u003e\u003c/var\u003e\n clusterBackupName: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eBACKUP_NAME\u003c/span\u003e\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eRESTORE_NAME\u003c/var\u003e: the name of the cluster restore that you want to create.\n- \u003cvar translate=\"no\"\u003ePROJECT_NAMESPACE\u003c/var\u003e: the name of your GDC project.\n- \u003cvar translate=\"no\"\u003eRESTORE_PLAN\u003c/var\u003e: the name of the cluster restore plan this cluster restore is derived from.\n- \u003cvar translate=\"no\"\u003eBACKUP_NAME\u003c/var\u003e: the cluster backup to restore. This `ClusterBackup` resource must be associated with the\n `ClusterBackupPlan` resource to which the cluster restore plan refers to. For more information, see [Plan a set of restores](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/cluster-backup/plan-restores#create-restore-plan).\n\n After initiating a `ManualClusterRestoreRequest`, a `ClusterRestore` custom resource is\n created.\n\nWhat's next\n-----------\n\n- [Create a fine-grained restore](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/cluster-backup/fine-grained-restore)\n- [View and delete a restore](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/cluster-backup/view-and-delete-restore)"]]