Skip to content

[Bug]: Restore fails due to missing Encryption Profile ID despite imported master key (Smart Recovery not applied) #108

@chris-20

Description

@chris-20

DBackup Version

v2.5.0

Installation Method

Docker (docker-compose)

Bug Description

When attempting to restore an encrypted configuration backup, the restore process fails because the required Encryption Profile cannot be found, even after importing the corresponding master key via the Disaster Recovery function.

The following error is displayed:

Restore Failed: Encryption Profile cmpwiez0i0000o001tnb4yv7s not found. Please ensure the relevant Encryption Profile is restored first.

Improvement

It would be beneficial to allow the encryption key or encryption profile to be directly provided or selected within the Backup Restore Wizard.

This would eliminate the dependency on pre-imported profiles or separate Disaster Recovery steps and significantly improve the simplicity and reliability of the restore process, particularly in fresh or cold-start environments.

Steps to Reproduce

  1. Prepare an encrypted backup:

    • config_backup_2026-06-02T10-52-29-551Z.json.gz.enc

    • config_backup_2026-06-02T10-52-29-551Z.json.gz.enc.meta.json

  2. Create a new instance for restoring the backup (fresh environment)

  3. Navigate to Security Vault → Import Key

  4. Import the 256-bit master key

  5. Navigate to the DBackup Restore Interface

  6. Select the encrypted backup and start the restore process

  7. The system reports a missing Encryption Profile:

    cmpwiez0i0000o001tnb4yv7s

  8. Open Import Master Key (Disaster Recovery) and re-import/confirm the master key

  9. Retry the restore process

  10. The restore still fails with the same missing Encryption Profile erro

Expected Behavior

I expected the restore process to succeed after importing the master key via Security Vault → Import Key and confirming it again through Import Master Key (Disaster Recovery).

Specifically, I expected the system to correctly resolve the missing Encryption Profile (cmpwiez0i0000o001tnb4yv7s) using the provided master key, allowing the backup to be decrypted and restored without additional manual intervention or missing dependency errors.

Logs / Error Output

Screenshots

No response

Environment

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions