Backup and Restore Issues
Review these troubleshooting tips for common backup and restore related issues when working with Oracle Key Vault.
- Oracle Key Vault Backup Failed Error
During Oracle Key Vault backup operation, the backup operation fails withFailed to pack files
error. - Unable to Schedule a New Backup
Oracle Key Vault failed to schedule a new backup on the management console. - Remote Backup Failed
Remote backup fails on the Oracle Key Vault management console. - Backup Restore Failure
Oracle Key Vault backup restore operation fails withBackup Restoration Failed
error.
Parent topic: Troubleshooting Oracle Key Vault
Oracle Key Vault Backup Failed Error
During Oracle Key Vault backup operation, the backup operation fails with
Failed to pack files
error.
Example
Oracle Key Vault Backup failed with:
Error: Failed to pack files
Probable Cause
Oracle Key Vault backup failed due to the Failed to pack files error.
Solution
- Login to the Oracle Key Vault management server through ssh as support.
- Switch to root user.
- Go to
/var/okv/log/db/
open the latest backup run log named asoutput*okv_backup_run.log
. - If you get a
permissions issues to access a file
error, then fix the permissions and run the backup again. - Check if the issue is resolved.
Parent topic: Backup and Restore Issues
Unable to Schedule a New Backup
Oracle Key Vault failed to schedule a new backup on the management console.
Example
Scheduling a new backup on Oracle Key Vault Management console fails with:
Error: Unable to schedule new backup
Probable Cause
There may be an old backup still in progress or in a non-responsive state for several days.
Solution
- Restart the Oracle Key Vault server and verify if the old backup has completed.
- Schedule the new backup.
- Check if the issue is resolved.
Parent topic: Backup and Restore Issues
Remote Backup Failed
Remote backup fails on the Oracle Key Vault management console.
Example
Remote Backup status on the Oracle Key Vault management console displayed as:
Error: Remote Backup Failed
Probable Cause 1
There may be a remote backup in Ongoing status for several days.
Solution
- Restart the Oracle Key Vault server and verify if the old backup has completed.
- Check if the issue is resolved.
Probable Cause 2
Backup remote destination is not accessible.
Solution
- Verify if the remote destination is accessible and
scp
is working in the configured remote destination path. - If
scp
is successfully working:- Verify if the Oracle Key Vault server is upgraded, or if the server, CA certificate, or node certificate is rotated recently. Verify if the remote backup destination is not configured again.
- Log in to the Oracle Key Vault management console as a system administrator.
- Go to System, Settings.
- Go to the Backup and Restore page.
- Edit Remote backup destination and copy the public key.
- Paste the public key in the
known_hosts
file on the remote destination server.
- If the server, CA certificate, or node certificate is rotated, then the public key of the Oracle Key Vault server or node has changed.
- Copy the new public key that appears in the Public Key field in the Backup Destination Details page.
- Paste the public key in the appropriate configuration file, such as
authorized_keys
, on the backup destination server. - Go to System, Settings.
- In the System Configuration area, select Backup and Restore.
- Click Manage Backup Destination to view all backup destinations.
- Click Create. The Public Key field displays the new public key.
- Copy this public key to the
authorized_key
file of the user specified in the backup destination configuration. - Apply the change for each backup destination.
- Check if the issue is resolved.
Parent topic: Backup and Restore Issues
Backup Restore Failure
Oracle Key Vault backup restore operation fails with Backup
Restoration Failed
error.
Example
Oracle Key Vault restore from a remote backup failed.
Error: Backup Restoration Failed
Probable Cause
Restoration fails, if the remote server is not accessible.
Solution
- Verify if the backup file from the remote backup destination is accessible by the Oracle Key Vault server.
- If not, ensure that the Oracle Key Vault server can access the backup file from the remote backup destination.
- Check if the issue is resolved.
- Backup Size is Growing Exponentially
Oracle Key Vault backup size is exponentially growing every time you take a backup.
Parent topic: Backup and Restore Issues
Backup Size is Growing Exponentially
Oracle Key Vault backup size is exponentially growing every time you take a backup.
Example
Oracle Key Vault restoration failure.
Restoration fails, if the remote server is not accessible.
Solution
- Use RMAN to delete the OBSOLETE archive logs as well as the database backups.
- Connect to the Oracle Key Vault server using SSH as support, switch to root user and then switch to ORACLE user.
- Connect using RMAN utility and run the following commands to list the OBSOLETE redo
logs and backups taken until then and the obsolete
backups and archived
logs.
rman target / RMAN> list backup summary; RMAN> report obsolete;
- Delete the obsolete backups using the following
command from
RMAN.
:RMAN> delete noprompt obsolete;
- If this action plan generates other warning messages please contact the support team.
- This will not delete the backup taken by the system on the REMOTE location. Those backup files need to be managed manually.
Parent topic: Backup Restore Failure