Amministratore backup cluster utente: gestisce le risorse di backup come i piani di backup e ripristino nei cluster utente. Chiedi all'amministratore IAM dell'organizzazione di concederti
il ruolo Amministratore backup cluster utente (user-cluster-backup-admin).
Per gli utenti di AO:
Backup Creator: crea backup manuali ed esegue ripristini. Chiedi all'amministratore IAM del progetto di concederti il ruolo Autore backup (backup-creator).
Crea un ripristino utilizzando la console GDC o l'API.
Console
Accedi alla console GDC.
Nel menu di navigazione, fai clic su Backup per i cluster.
Seleziona un progetto.
Fai clic sulla scheda Backup.
Nell'elenco dei backup, individua quello da ripristinare e fai clic su
Ripristina.
Scegli un piano di ripristino dall'elenco dei piani applicabili a questo backup.
Inserisci un nome e, facoltativamente, una descrizione per il ripristino.
Fai clic su Ripristina.
API
Crea una risorsa personalizzata ManualClusterRestoreRequest per eseguire i ripristini dalle risorse ClusterRestorePlan esistenti. Specifica le seguenti risorse:
La risorsa ClusterBackup che vuoi ripristinare.
Il nome del ClusterRestore che vuoi creare
Il ClusterRestorePlan che corrisponde al ClusterBackupPlan del ClusterBackup.
Ecco un esempio di risorsa ManualClusterRestoreRequest:
RESTORE_NAME: il nome del ripristino del cluster che vuoi creare.
PROJECT_NAMESPACE: il nome del tuo progetto GDC.
RESTORE_PLAN: il nome del piano di ripristino del cluster da cui deriva questo ripristino del cluster.
BACKUP_NAME: il backup del cluster da ripristinare. Questa risorsa ClusterBackup deve essere associata alla risorsa ClusterBackupPlan a cui fa riferimento il piano di ripristino del cluster. Per saperne di più, vedi Pianificare un insieme di ripristini.
Dopo aver avviato un ManualClusterRestoreRequest, viene creata una risorsa personalizzata ClusterRestore.
[[["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."],[[["\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)"]]