Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Una volta configurato il repository di backup DBS, un operatore dell'applicazione (AO) deve abilitare il servizio di backup per un DBCluster DBS.
Abilitare i servizi di backup per DBS
Per attivare i servizi di backup per DBS, crea una risorsa BackupPlan DBS nello stesso spazio dei nomi.
Il valore di backupRetainDays deve essere impostato sul numero di giorni dopo i quali un backup può essere
eliminato automaticamente.
Una volta creato BackupPlan, DBS avvierà i backup automatici una volta al giorno. La finestra di ripristino disponibile viene visualizzata nel campo
status.recoveryWindow di BackupPlan.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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."]]