Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Cette page explique comment créer manuellement une sauvegarde pour les charges de travail de VM dans Google Distributed Cloud (GDC) air-gapped.
Lorsqu'un plan de sauvegarde est créé, les sauvegardes sont automatiquement créées en fonction de la planification définie dans le plan de sauvegarde. Vous pouvez également créer manuellement des sauvegardes de VM à tout moment, même en dehors de la planification que vous définissez.
Avant de commencer
Pour créer des sauvegardes manuelles de VM, vous devez disposer des éléments suivants :
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eThis guide explains how to manually create backups for virtual machine (VM) workloads in Google Distributed Cloud (GDC) air-gapped environments.\u003c/p\u003e\n"],["\u003cp\u003eWhile backups are automatically created according to a defined schedule, manual backups can be initiated at any time, regardless of the schedule.\u003c/p\u003e\n"],["\u003cp\u003eTo create a manual VM backup, an existing VM backup plan and the necessary identity and access roles are required.\u003c/p\u003e\n"],["\u003cp\u003eManual VM backups are created using the \u003ccode\u003eVirtualMachineBackupRequest\u003c/code\u003e resource via the API, specifying the backup request name, project name, VM backup plan, and VM backup name.\u003c/p\u003e\n"]]],[],null,["# Create a manual backup\n\nThis page describes how to manually create a backup for VM workloads in Google Distributed Cloud (GDC) air-gapped.\n\nWhen a backup plan is created, backups are automatically created according to the schdeule defined on the backup plan. You can also manually create a VM backups at any time time, even if it is outside of the schedule you define.\n\nBefore you begin\n----------------\n\nTo create manual VM backups, you must have the following:\n\n- An existing VM backup plan. For more information, see [Create a backup plan](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/vm-backup/scope-schedule/create-scoped-backup-plan#create-vm-backup-plan-scope).\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 a `VirtualMachineBackupRequest` resource using the API: \n\n apiVersion: virtualmachine.gdc.goog/v1\n kind: VirtualMachineBackupRequest\n metadata:\n name: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eBACKUP_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 virtualMachineBackupPlan: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003eVM_BACKUP_PLAN\u003c/span\u003e\u003c/var\u003e\n virtualMachineBackupName: \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\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eBACKUP_REQUEST_NAME\u003c/var\u003e: the name to give the backup request that is being initiated.\n- \u003cvar translate=\"no\"\u003ePROJECT_NAME\u003c/var\u003e: the name of the GDC project.\n- \u003cvar translate=\"no\"\u003eVM_BACKUP_PLAN\u003cvar translate=\"no\"\u003e\u003c/var\u003e\u003c/var\u003e: the name of the `VirtualMachineBackupPlan` resource to use for configuration of the backup.\n- \u003cvar translate=\"no\"\u003eVM_BACKUP_NAME\u003cvar translate=\"no\"\u003e\u003c/var\u003e\u003c/var\u003e: the name of the backup to create.\n\nWhat's next\n-----------\n\n- [Create a restore](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/vm-backup/scope-schedule/create-restore-scoped)"]]