Gestionar copias de seguridad en la consola de Google Cloud
Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
En esta página se explica cómo enumerar, ver y eliminar copias de seguridad en la Google Cloud consola.
En una fuente de datos, cada copia de seguridad representa el estado del recurso protegido en un momento concreto. Estas copias de seguridad se crean en función de las programaciones definidas en los planes de copias de seguridad. Además, puedes iniciar copias de seguridad bajo demanda cuando lo necesites.
Antes de empezar
Para obtener los permisos que necesitas para enumerar y ver copias de seguridad, pide a tu administrador que te conceda el rol de gestión de identidades y accesos Lector de Backup Vault de Backup y DR (roles/backupdr.backupvaultViewer) en tu proyecto de Backup Vault.
Para obtener más información sobre cómo conceder roles, consulta el artículo Gestionar el acceso a proyectos, carpetas y organizaciones.
Este rol predefinido contiene los permisos necesarios para enumerar y ver copias de seguridad. Para ver los permisos exactos que se necesitan, despliega la sección Permisos necesarios:
Permisos obligatorios
Para enumerar y ver copias de seguridad, se necesitan los siguientes permisos:
En la lista de copias de seguridad programadas, haz clic en el nombre de la copia de seguridad programada cuyos detalles quieras consultar.
En la página de detalles de la copia de seguridad se muestra una lista de copias de seguridad junto con sus horas de creación, el tipo de copia de seguridad (programada o bajo demanda), la regla de copia de seguridad asociada y la fecha de vencimiento de la copia de seguridad.
gcloud
Obtiene el ID de la copia de seguridad que forma parte de una fuente de datos.
LOCATION: la ubicación de la asociación del plan de copia de seguridad.
DATA_SOURCE: el ID de la fuente de datos de la que quieres ver las copias de seguridad.
Eliminar una copia de seguridad
Solo puedes eliminar una copia de seguridad si ha superado el periodo de conservación mínimo obligatorio. Una vez eliminada, la copia de seguridad ya no estará disponible para restaurarse.
Para obtener el permiso que necesitas para eliminar una copia de seguridad, pide a tu administrador que te conceda el rol de gestión de identidades y accesos Administrador de Backup Vault (roles/backupdr.backupvaultAdmin) en tu proyecto de Backup Vault.
Para obtener más información sobre cómo conceder roles, consulta el artículo Gestionar el acceso a proyectos, carpetas y organizaciones.
Este rol predefinido contiene el permiso backupdr.bvbackups.delete, que es necesario para eliminar una copia de seguridad.
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-21 (UTC)."],[[["\u003cp\u003eThis guide outlines how to manage backups in Google Cloud, including listing, viewing, and deleting them.\u003c/p\u003e\n"],["\u003cp\u003eBackups represent the state of a protected resource at a specific time and are created based on defined schedules or on-demand.\u003c/p\u003e\n"],["\u003cp\u003eTo list and view backups, you need the \u003ccode\u003eBackup and DR Backup Vault Viewer\u003c/code\u003e IAM role, and to delete backups, you need the \u003ccode\u003eBackup Vault Admin\u003c/code\u003e IAM role.\u003c/p\u003e\n"],["\u003cp\u003eYou can list, view and delete backups through the Google Cloud console or using the gcloud command-line tool, requiring the selection of the correct backup vault, project, location, and data source.\u003c/p\u003e\n"],["\u003cp\u003eBackups can only be deleted if they have exceeded their minimum enforced retention period, and deletion makes them unavailable for restore.\u003c/p\u003e\n"]]],[],null,["# Manage backups in the Google Cloud console\n\nThis page explains how to list, view, and delete backups in the Google Cloud console.\n\nIn a data source, each backup represents the state of the protected resource\nat a specific point in time. These backups are created based on the schedules\ndefined in backup plans. Additionally, you can initiate on-demand backups\nwhenever needed.\n\nBefore you begin\n----------------\n\n\nTo get the permissions that\nyou need to list and view backups,\n\nask your administrator to grant you the\n\n\n[Backup and DR Backup Vault Viewer](/iam/docs/roles-permissions/backupdr#backupdr.backupvaultViewer) (`roles/backupdr.backupvaultViewer`)\nIAM role on your backup vault project.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nThis predefined role contains\n\nthe permissions required to list and view backups. To see the exact permissions that are\nrequired, expand the **Required permissions** section:\n\n\n#### Required permissions\n\nThe following permissions are required to list and view backups:\n\n- ` ``backupdr.bvbackups.list`` `\n- ` ``backupdr.bvbackups.get`\n\n\nYou might also be able to get\nthese permissions\nwith [custom roles](/iam/docs/creating-custom-roles) or\nother [predefined roles](/iam/docs/roles-overview#predefined).\n\nList backups\n------------\n\nUse the following instructions to list backups. \n\n### Console\n\n1. In the Google Cloud console, go to the **Vaulted resources** page.\n\n [Go to Vaulted resources](https://console.cloud.google.com/backupdr/vaulted-resources)\n2. In the list of scheduled backups, click the name of the scheduled backup you want to view the backup details of.\n\n### gcloud\n\n1. List the backups.\n\n gcloud backup-dr backups list \\\n --backup-vault=\u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n --data-source=\u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e: the name of the backup vault used to store backups.\n - \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project.\n - \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the backup vault.\n - \u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e: the ID of the data source that you want to list backups.\n\nView backups\n------------\n\nUse the following instructions to view backups. \n\n### Console\n\n1. In the Google Cloud console, go to the **Vaulted resources** page.\n\n [Go to Vaulted resources](https://console.cloud.google.com/backupdr/vaulted-resources)\n2. In the list of scheduled backups, click the name of the scheduled backup you want to view the backup details of.\n\n The backup details page displays a list of backups along with their\n creation times, the backup type - scheduled or on-demand, the associated\n backup rule, and the backup expiration date.\n\n### gcloud\n\n1. Get the backup ID that is part of a data source.\n\n gcloud backup-dr backups list \\\n --backup-vault=\u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n --data-source=\u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e: the name of the backup vault used to store backups.\n - \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project.\n - \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the backup vault.\n - \u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e: the ID of the data source for which you want to list backups.\n2. View the backups.\n\n gcloud backup-dr backups describe \u003cvar translate=\"no\"\u003eBACKUP_ID\u003c/var\u003e \\\n --backup-vault=\u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n --data-source=\u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eBACKUP_ID\u003c/var\u003e: the ID of the backup.\n - \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project.\n - \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the backup plan association.\n - \u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e: the ID of the data source for which you want to view backups.\n\nDelete a backup\n---------------\n\nYou can delete a backup only if the backup has exceeded its minimum enforced\nretention period. After deletion, the backup is no longer available for restore.\n\n\nTo get the permission that\nyou need to delete a backup,\n\nask your administrator to grant you the\n\n\n[Backup Vault Admin](/iam/docs/roles-permissions/backupdr#backupdr.backupvaultAdmin) (`roles/backupdr.backupvaultAdmin`)\nIAM role on your backup vault project.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nThis predefined role contains the\n` ``backupdr.bvbackups.delete`\npermission,\nwhich is required to\ndelete a backup.\n\n\nYou might also be able to get\nthis permission\nwith [custom roles](/iam/docs/creating-custom-roles) or\nother [predefined roles](/iam/docs/roles-overview#predefined).\n| **Note:** Backup and DR Service may not immediately delete all backup data at the time defined by the corresponding backup plan or when a backup is manually expired. The reported storage size after deletion will be reconciled over time.\n\nUse the following instructions to delete a backup. \n\n### Console\n\n1. In the Google Cloud console, go to the **Vaulted resources** page.\n\n [Go to Vaulted resources](https://console.cloud.google.com/backupdr/vaulted-resources)\n2. Click the name of the scheduled backup you want to delete.\n\n3. From the backups section, select a backup and then click\n the more_verticon.\n\n4. Select **Delete**.\n\n5. In the overlay window that appears, confirm you want to delete the backup.\n\n6. Click **Delete**.\n\n### gcloud\n\n1. Get the backup ID that is part of a data source.\n\n gcloud backup-dr backups list \\\n --backup-vault=\u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n --data-source=\u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e: the name of the backup vault used to store backups.\n - \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project.\n - \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the backup vault.\n - \u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e: the ID of the data source that you want to list backups.\n2. Delete a backup.\n\n gcloud backup-dr backups delete \u003cvar translate=\"no\"\u003eBACKUP_ID\u003c/var\u003e \\\n --backup-vault=\u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n --data-source=\u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eBACKUP_ID\u003c/var\u003e: the ID of the backup.\n - \u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e: the name of the backup vault where the backups are stored.\n - \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project.\n - \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e:the location of the backup.\n - \u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e: the ID of the data source that you want to delete a backup from."]]