Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite wird beschrieben, wie Sie eine Wiederherstellung für VM-Arbeitslasten in Google Distributed Cloud (GDC) ohne Internetverbindung erstellen.
Sie können eine Wiederherstellung für eine Sicherung erstellen, die manuell oder automatisch durch einen Sicherungsplan erstellt wurde. Die wiederhergestellte VM und die zugehörigen Laufwerke haben unterschiedliche Namen, je nachdem, welchen Wert Sie im Feld restoredResourceName angeben. Alle VM-Ressourcen, die im Bereich der VirtualMachineBackupPlan-Ressource erwähnt werden, werden wiederhergestellt. Allen wiederhergestellten Ressourcen wird der Wert des Felds restoredResourceName vorangestellt.
Wenn eine Sicherung wiederhergestellt wird, wird die gesamte VM wiederhergestellt. Nachdem die Ressourcen erstellt wurden, unterliegt die Wiederherstellung der Anwendungsfunktionen dem VM-Betriebssystem oder -Image.
Hinweise
Für die Erstellung einer Wiederherstellung benötigen Sie Folgendes:
Eine vorhandene Sicherung. Sie können Sicherungen nach Zeitplan mit Sicherungsplänen oder manuell erstellen. Weitere Informationen finden Sie unter Backup-Plan mit eingeschränktem Umfang erstellen.
VM_BACKUP_NAME: Der Name der VirtualMachineBackup-Ressource, aus der wiederhergestellt werden soll.
PROJECT_NAME: der Name des GDC-Projekts.
RESTORE_REQUEST_NAME: der Name, der der initiierten Wiederherstellungsanfrage zugewiesen werden soll.
RESTORE_NAME: der Name, der der initiierten Wiederherstellung zugewiesen werden soll.
RESTORE_PREFIX: das Präfix, das neu erstellten VM-Ressourcen zugewiesen wird. Die Namen der wiederhergestellten VM und des VM-Laufwerks haben das Präfix restoredResourceName aus der Wiederherstellungsanfrage.
RESTORED_RESOURCE_DESCRIPTION: Eine Beschreibung der durchgeführten 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 details the process of restoring virtual machine (VM) workloads in Google Distributed Cloud (GDC) air-gapped environments.\u003c/p\u003e\n"],["\u003cp\u003eRestoration can be performed from backups created either manually or through scheduled backup plans.\u003c/p\u003e\n"],["\u003cp\u003eWhen restoring, the entire VM is restored, and all resources associated with the \u003ccode\u003eVirtualMachineBackupPlan\u003c/code\u003e will receive a new name prefixed by the \u003ccode\u003erestoredResourceName\u003c/code\u003e field value.\u003c/p\u003e\n"],["\u003cp\u003eCreating a restore requires an existing backup and the necessary identity and access role permissions.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eVirtualMachineRestoreRequest\u003c/code\u003e resource is used to initiate the restore, with configurations for the source backup name, project name, restore name, resource name prefix, and a description.\u003c/p\u003e\n"]]],[],null,["# Create a restore\n\nThis page describes how to create a restore for virtual machine (VM) workloads in Google Distributed Cloud (GDC) air-gapped.\n\nYou can create a restore for a backup that was created manually or automatically by a backup plan. The restored VM and its associated disks contain different names based on the value you specify in the `restoredResourceName` field. All of the VM resources mentioned in the scope of `VirtualMachineBackupPlan` resource are restored. All the resources that are restored get their name prefixed with the value of the `restoredResourceName` field.\n\nWhen a backup is restored, the entire VM is restored. After the resources are created, the restoration of application capability is subject to the VM operating system or image.\n\nBefore you begin\n----------------\n\nTo create a restore, you must have the following:\n\n- An existing backup. Create backups on a schedule using backup plans, or create backups manually. For more information, see [Create a scoped backup plan](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/vm-backup/scope-schedule/create-scoped-backup-plan).\n- The necessary identity and access role. For more information, see [Prepare roles and permissions](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/vm-backup/scope-schedule/vm-scope-overview#prepare-roles-permissions).\n\nCreate a manual VM backup\n-------------------------\n\nCreate the `VirtualMachineRestoreRequest` resource using the API: \n\n apiVersion: virtualmachine.gdc.goog/v1\n kind: VirtualMachineRestoreRequest\n metadata:\n name: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eRESTORE_REQUEST_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_NAME\u003c/span\u003e\u003c/var\u003e\n spec:\n virtualMachineBackup: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eVM_BACKUP_NAME\u003c/span\u003e\u003c/var\u003e\n restoreName: \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 restoredResourceName: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eRESTORE_PREFIX\u003c/span\u003e\u003c/var\u003e\n restoredResourceDescription: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eRESTORED_RESOURCE_DESCRIPTION\u003c/span\u003e\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eVM_BACKUP_NAME\u003c/var\u003e: the name of the `VirtualMachineBackup` resource to restore from.\n- \u003cvar translate=\"no\"\u003ePROJECT_NAME\u003c/var\u003e: the name of the GDC project.\n- \u003cvar translate=\"no\"\u003eRESTORE_REQUEST_NAME\u003c/var\u003e: the name to give the restore request that is being initiated.\n- \u003cvar translate=\"no\"\u003eRESTORE_NAME\u003c/var\u003e: the name to give the restore that is being initiated.\n- \u003cvar translate=\"no\"\u003eRESTORE_PREFIX\u003c/var\u003e: the prefix given to newly created VM resources. The restored VM and VM disk names are prefixed with `restoredResourceName` value in the restore request.\n- \u003cvar translate=\"no\"\u003eRESTORED_RESOURCE_DESCRIPTION\u003c/var\u003e: a description of the restore being performed.\n\nWhat's next\n-----------\n\n- [Clean up labels after restoring VM-attached disks](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/vm-backup/clean-up-labels-after-restore)"]]