Stay organized with collections
Save and categorize content based on your preferences.
Once the DBS backup repository is set up, an Application Operator (AO) must enable backup service for a DBS
DBCluster.
Enable backup services for DBS
To enable backup services for DBS, create a DBS BackupPlan resource in the same namespace.
The backupRetainDays must be set to the number of days after which a backup can be
automatically deleted.
Once BackupPlan is created, DBS will start automatic backups once per day. The available recovery window is viewed in the BackupPlan's
status.recoveryWindow field.
[[["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-29 UTC."],[[["\u003cp\u003eApplication Operators must enable backup services for a DBS DBCluster after the backup repository is configured.\u003c/p\u003e\n"],["\u003cp\u003eBackup services are enabled by creating a \u003ccode\u003eBackupPlan\u003c/code\u003e resource within the same namespace as the DBS.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebackupRetainDays\u003c/code\u003e field in the \u003ccode\u003eBackupPlan\u003c/code\u003e specifies how long backups are kept before automatic deletion.\u003c/p\u003e\n"],["\u003cp\u003eDBS will perform automatic daily backups after a \u003ccode\u003eBackupPlan\u003c/code\u003e is created.\u003c/p\u003e\n"],["\u003cp\u003eThe recovery window of available backups is viewable in the \u003ccode\u003estatus.recoveryWindow\u003c/code\u003e field of the BackupPlan.\u003c/p\u003e\n"]]],[],null,["# Enable backup for database services\n\nOnce the DBS backup repository is set up, an Application Operator (AO) must enable backup service for a DBS\nDBCluster.\n\nEnable backup services for DBS\n------------------------------\n\nTo enable backup services for DBS, create a DBS `BackupPlan` resource in the same namespace.\nThe `backupRetainDays` must be set to the number of days after which a backup can be\nautomatically deleted.\n\nOracle BackupPlan example: \n\n apiVersion: oracle.dbadmin.gdc.goog/v1\n kind: BackupPlan\n metadata:\n name: backupplan1\n spec:\n dbclusterRef: dbcluster-sample\n backupRetainDays: 14\n paused: false\n\nPostgres BackupPlan example: \n\n apiVersion: postgresql.dbadmin.gdc.goog/v1\n kind: BackupPlan\n metadata:\n name: backupplan1\n spec:\n dbclusterRef: dbcluster-sample\n backupRetainDays: 14\n paused: false\n\nOnce `BackupPlan` is created, DBS will start automatic backups once per day. The available recovery window is viewed in the BackupPlan's\n`status.recoveryWindow` field."]]