Ora-46631 Keystore Needs To Be Backed Up Verified -
Share your experience or alternative solutions in the comments below.
: Backup goes to $ORACLE_BASE/admin/<DB_UNIQUE_NAME>/tde_backup/ by default, or inside the keystore directory in a subfolder named after your backup identifier.
After performing a backup (either automated or manual), you must clear the internal NOT_BACKED_UP flag. ora-46631 keystore needs to be backed up
BEGIN DBMS_SCHEDULER.CREATE_JOB( job_name => 'BACKUP_TDE_KEYSTORE_JOB', job_type => 'PLSQL_BLOCK', job_action => 'BEGIN ADMINISTER KEY MANAGEMENT BACKUP KEYSTORE USING ''auto_backup_''||TO_CHAR(SYSDATE,''YYYYMMDD_HH24MISS'') IDENTIFIED BY "keystore_password"; END;', start_date => SYSTIMESTAMP, repeat_interval => 'FREQ=DAILY; BYHOUR=2; BYMINUTE=0;', enabled => TRUE ); END; /
Login to SQL*Plus or SQLcl as SYSKM :
: Backup procedure may be hardware-specific. Contact HSM admin or use BACKUP KEYSTORE command (if supported by HSM type).
If you were trying to set a new master key or change a password, append the WITH BACKUP clause to your statement. Oracle will create the backup and execute your change in one step. Share your experience or alternative solutions in the
Follow these steps to resolve ORA-46631 immediately.