Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Setelah repositori cadangan DBS disiapkan, Operator Aplikasi (AO) harus mengaktifkan layanan pencadangan untuk DBCluster DBS.
Mengaktifkan layanan pencadangan untuk DBS
Untuk mengaktifkan layanan pencadangan untuk DBS, buat resource BackupPlan DBS di namespace yang sama.
backupRetainDays harus ditetapkan ke jumlah hari setelah cadangan dapat
dihapus secara otomatis.
Setelah BackupPlan dibuat, DBS akan memulai pencadangan otomatis sekali per hari. Jendela pemulihan yang tersedia dapat dilihat di kolom
status.recoveryWindow BackupPlan.
[[["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-09-04 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."]]