Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to import backup repositories for Database Services (DBS). You must do this for each Organization you want to restore DBClusters in.
Before you begin
Before using backup and restore services for gdcloud CLI DBS, you must:
Be a Platform Administrator (PA).
Have the necessary identity and access role:
DR Backup Admin: performs disaster recovery backups. Ask your Organization IAM Admin to grant you the DR Backup Admin (dr-backup-admin) cluster role.
To import backup repositories for DBS, follow the proceeding steps:
Import backup repository DBS
On the Management API server of the target gdcloud CLI DBClusters, create a B4GDC Backup
Repository resource which points to the same bucket used to store DBS
backups in the sources gdcloud CLI instance:
[[["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-07 UTC."],[[["\u003cp\u003eThis guide details the process of importing backup repositories for Database Services (DBS) in gdcloud CLI.\u003c/p\u003e\n"],["\u003cp\u003eImporting backup repositories is required for each Organization where you intend to restore DBClusters.\u003c/p\u003e\n"],["\u003cp\u003eTo begin, you must be a Platform Administrator (PA) with the DR Backup Admin cluster role.\u003c/p\u003e\n"],["\u003cp\u003eImportation involves creating a B4GDC Backup Repository resource on the Management API server, pointing to the source's DBS backup bucket.\u003c/p\u003e\n"],["\u003cp\u003eVerification of successful backup import is done by checking for a \u003ccode\u003eSucceeded\u003c/code\u003e state via \u003ccode\u003ekubectl get backups.gdc.goog -n dbs-dr\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]