Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questo documento fornisce informazioni su come modificare il piano di backup applicato all'istanza Compute Engine. Puoi modificare il piano di backup dell'istanza per allineare la strategia di protezione dei dati ai requisiti operativi in evoluzione.
I piani di backup di Backup e DR ti consentono di definire strategie di backup avanzate
per archiviare le istanze Compute Engine in località di archiviazione sicure chiamate
vault di backup. Utilizzando il piano di backup applicato all'istanza, puoi creare backup pianificati o on demand dell'istanza in un backup vault.
Prima di iniziare
Abilita l'API del servizio di Backup e DR dove
si trovano le istanze Compute Engine.
Configura l'analisi dei log nel bucket per monitorare
i job di backup di Backup e DR
Ruoli obbligatori
Per ottenere le autorizzazioni necessarie per modificare le proprietà di un'istanza e cambiare il piano di backup associato, chiedi all'amministratore di concederti i seguenti ruoli IAM:
Per modificare l'istanza:
Compute Instance Admin (v1) (roles/compute.instanceAdmin.v1)
sul progetto per l'istanza Compute Engine
Per configurare i backup pianificati o eseguire i backup on demand:
Se vuoi eseguire il backup di un'istanza Compute Engine in un
vault di backup che si trova in un progetto diverso dall'istanza,
assicurati che
all'
agente di servizio del vault di Backup e DR per il vault di backup sia stata
concessa l'autorizzazione per accedere alle istanze nel progetto. (Se il
vault di backup e l'istanza si trovano nello stesso progetto,
questa autorizzazione è già concessa per impostazione predefinita).
Per assicurarti che l'agente di servizio del vault di Backup e DR disponga delle autorizzazioni necessarie per eseguire il backup di un'istanza Compute Engine in un vault di backup,
chiedi all'amministratore di concedere all'agente di servizio del vault di Backup e DR il ruolo IAM Backup and DR Compute Engine Operator (roles/backupdr.computeEngineOperator) sul progetto per l'istanza Compute Engine.
Modificare il piano di backup applicato all'istanza
Il nuovo piano di backup deve provenire dallo stesso progetto e archiviare il backup nello stesso vault di backup del piano esistente.
Puoi modificare il piano di backup dell'istanza modificando la configurazione dell'istanza nella console Google Cloud , come segue:
Nella console Google Cloud , vai alla pagina Istanze VM.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["*** ** * ** ***\n\nThis document provides information about how to change the backup plan that is\napplied to your Compute Engine instance. You can change your instance's\nbackup plan to align your data protection strategy with your changing\noperational requirements.\n\nBackup and DR backup plans let you define advanced backup strategies\nto store your Compute Engine instances in secure storage locations\ncalled backup vaults. Using the backup plan applied to your instance,\nyou can create scheduled or on-demand backups of your instance in a\nbackup vault.\n\nBefore you begin\n\n- Enable the Backup and DR Service API where the Compute Engine instances are located.\n [Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=backupdr.googleapis.com&_ga=2.145630134.30427899.1640890668-1982243420.1634228058)\n\n- [Create a backup vault](/backup-disaster-recovery/docs/cloud-console/backup-vault-create)\n- [Create a backup plan](/backup-disaster-recovery/docs/cloud-console/backup-plan-create)\n- Set up Log Analytics on your bucket to monitor Backup and DR backup jobs.\n\nRequired roles\n\n-\n\n To get the permissions that\n you need to edit an instance's properties and change the associated\n backup plan,\n\n ask your administrator to grant you the\n following IAM roles:\n\n - To edit the instance: [Compute Instance Admin (v1)](/iam/docs/roles-permissions/compute#compute.instanceAdmin.v1) (`roles/compute.instanceAdmin.v1`) on the project for the Compute Engine instance\n - To configure scheduled backups or run on-demand backups:\n - [Backup and DR Backup User](/iam/docs/roles-permissions/backupdr#backupdr.backupUser) (`roles/backupdr.backupUser`) on the project for the backup vault\n - [Viewer](/iam/docs/roles-overview#basic) (`roles/viewer`) on the project for the backup vault\n\n\n For more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\n You might also be able to get\n the required permissions through [custom\n roles](/iam/docs/creating-custom-roles) or other [predefined\n roles](/iam/docs/roles-overview#predefined).\n- If you want to back up a Compute Engine instance to a\n backup vault that is in a different project than the instance, then\n make sure the\n [Backup and DR Vault Service Agent](/iam/docs/service-agents#backup-and-dr-vault-service-agent) for the backup vault has been\n granted permission to access the instances in that project. (If the\n backup vault and instance are in the same project, then this\n permission is already granted by default.)\n\n-\n\n To ensure that Backup and DR Vault Service Agent has the necessary\n permissions to back up a Compute Engine instance to a\n backup vault,\n\n ask your administrator to grant Backup and DR Vault Service Agent the\n\n\n [Backup and DR Compute Engine Operator](/iam/docs/roles-permissions/backupdr#backupdr.computeEngineOperator) (`roles/backupdr.computeEngineOperator`)\n IAM role on the project for the Compute Engine instance.\n\n\n | **Important:** You must grant this role to Backup and DR Vault Service Agent, *not* to your user account. Failure to grant the role to the correct principal might result in permission errors.\n\n \u003cbr /\u003e\n\nChange the backup plan applied to your instance\n\nYour new backup plan must be from the same project and store the backup in the\nsame backup vault as your existing plan.\n\nYou can change your instance's backup plan by modifying the instance\nconfiguration on the Google Cloud console, as follows:\n\n1. In the Google Cloud console, go to the **VM instances** page.\n\n [Go to VM instances](https://console.cloud.google.com/compute/instances)\n2. Click the name of the instance whose backup plan you want to change.\n The instance details page appears for the selected instance.\n\n3. Click edit **Edit** .\n The **Edit** page appears for your instance.\n\n4. Navigate to the **Backup plan** section and then click **Change plan**.\n\n5. In the **Select a backup plan** pane that appears, do the following:\n\n 1. In the **Backup plan name** column, click the name of the back plan that you want to use.\n 2. To confirm your choice of backup plan and return to the **Edit** page, click **Apply**.\n6. To apply your backup plan and save your new instance configuration,\n click **Save**.\n\nWhat's next\n\n- Learn how to use your instance's backup plan to [schedule or create backups in a backup vault](/backup-disaster-recovery/docs/cloud-console/compute/compute-instance-backup).\n- Learn how to [restore an instance from a backup vault](/backup-disaster-recovery/docs/cloud-console/compute/compute-instance-restore)."]]