How to restore a database from a backup (bench backup & bench restore)?

When you do backup and restore in the same server, I guess it’s okay, you might not need an encryption key.

But when you do backup and restore on another different server, encryption key is required in order to decrypt the database. some functions won’t work in ERPNext unless you replace your encryption key with the original one from your previous server.

You can follow up some discussions like this

many people didn’t know even such thing even existed until they encountered an error after restore, and by then it had been too late because the original encryption keys were already lost.

1 Like