Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara mencantumkan dan melihat detail sumber data di konsol Google Cloud .
Setiap sumber data di brankas cadangan mengidentifikasi resource tertentu.
Sumber data dapat berupa mesin virtual tertentu atau instance database tertentu yang sedang dicadangkan atau telah dicadangkan ke vault cadangan.
Sumber data dibuat secara otomatis oleh Layanan Pencadangan dan DR berdasarkan
rencana pencadangan yang Anda terapkan ke resource.
Sebelum memulai
Untuk mendapatkan izin yang Anda perlukan untuk membuat daftar dan melihat detail sumber data, minta administrator Anda untuk memberi Anda peran IAM Backup and DR Backup Vault Viewer (roles/backupdr.backupvaultViewer) di project brankas cadangan Anda.
Untuk mengetahui informasi selengkapnya tentang cara memberikan peran, lihat Mengelola akses ke project, folder, dan organisasi.
Peran bawaan ini berisi
izin yang diperlukan untuk mencantumkan dan melihat detail sumber data. Untuk melihat izin yang benar-benar diperlukan, luaskan bagian Izin yang diperlukan:
Izin yang diperlukan
Izin berikut diperlukan untuk mencantumkan dan melihat detail sumber data:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-18 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)"]]