Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to list and view data source details in the Google Cloud console.
Each data source in a backup vault identifies a specific resource.
A data source can be a specific virtual machine or a specific database instance
that is being backed up or has been backed up to the backup vault.
Data sources are automatically created by the Backup and DR Service based on the
backup plan you apply to the resource.
This predefined role contains
the permissions required to list and view data source details. To see the exact permissions that are
required, expand the Required permissions section:
Required permissions
The following permissions are required to list and view data source details:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 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)"]]