Gérer les sources de données dans la console Google Cloud
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Cette page explique comment lister et afficher les détails des sources de données dans la console Google Cloud .
Chaque source de données d'un coffre-fort de sauvegarde identifie une ressource spécifique.
Une source de données peut être une machine virtuelle ou une instance de base de données spécifique qui est sauvegardée ou qui a été sauvegardée dans le coffre-fort de sauvegarde.
Les sources de données sont automatiquement créées par le service Backup and DR en fonction du plan de sauvegarde que vous appliquez à la ressource.
Ce rôle prédéfini contient les autorisations requises pour lister et afficher les détails des sources de données. Pour connaître les autorisations exactes requises, développez la section Autorisations requises :
Autorisations requises
Les autorisations suivantes sont requises pour lister et afficher les détails des sources de données :
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 page explains how to list and view details of data sources within the Google Cloud console.\u003c/p\u003e\n"],["\u003cp\u003eData sources, which can be specific virtual machines or database instances, are automatically created in a backup vault based on applied backup plans.\u003c/p\u003e\n"],["\u003cp\u003eTo list and view data source details, you need the \u003ccode\u003eBackup and DR Backup Vault Viewer\u003c/code\u003e IAM role, which includes the \u003ccode\u003ebackupdr.bvdataSources.list\u003c/code\u003e and \u003ccode\u003ebackupdr.bvdataSources.get\u003c/code\u003e permissions.\u003c/p\u003e\n"],["\u003cp\u003eYou can list data sources using the \u003ccode\u003egcloud backup-dr data-sources list\u003c/code\u003e command, specifying the backup vault name, location, and project ID.\u003c/p\u003e\n"],["\u003cp\u003eYou can view the details of a specific data source using the \u003ccode\u003egcloud backup-dr data-sources describe\u003c/code\u003e command, specifying the data source ID along with the backup vault name, location, and project ID.\u003c/p\u003e\n"]]],[],null,["# Manage data sources in the Google Cloud console\n\nThis page describes how to list and view data source details in the Google Cloud console.\n\nEach data source in a backup vault identifies a specific resource.\nA data source can be a specific virtual machine or a specific database instance\nthat is being backed up or has been backed up to the backup vault.\nData sources are automatically created by the Backup and DR Service based on the\nbackup plan you apply to the resource.\n\nBefore you begin\n----------------\n\n\nTo get the permissions that\nyou need to list and view data source details,\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 data source details. 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 data source details:\n\n- ` ``backupdr.bvdataSources.list`` `\n- ` ``backupdr.bvdataSources.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 data sources\n-----------------\n\nUse the following instructions to list data sources. \n\n### gcloud\n\n1. List the data sources.\n\n gcloud backup-dr data-sources list \\\n --backup-vault=\u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e: the name of the backup vault.\n - \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the backup vault.\n - \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project where the backup vault is created.\n\nView data source details\n------------------------\n\nUse the following instructions to view the data source details. \n\n### gcloud\n\n1. View the data source details.\n\n gcloud backup-dr data-sources describe \u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e \\\n --backup-vault=\u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e \\\n --location=\u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eDATA_SOURCE\u003c/var\u003e: the ID of the data source you want to view details of.\n - \u003cvar translate=\"no\"\u003eBACKUPVAULT_NAME\u003c/var\u003e: the name of the backup vault.\n - \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: the location of the backup vault.\n - \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the name of the project where the backup vault is created.\n\nWhat's next\n-----------\n\n- [Manage backups in the Google Cloud console](/backup-disaster-recovery/docs/cloud-console/bv-backup-manage)"]]