Category: Deployment
Updated

This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

Problem About Restore Appsmith Instance

Issue

I am having trouble restoring my Appsmith instance from a backup, as I am receiving an error message when connecting to the database. I followed the steps outlined in the documentation and saved the necessary encryption values, but the problem still persists. I would appreciate any help or guidance on how to resolve this issue.

Resolution

When taking a manual backup in Appsmith we now automatically store your encryption key and salt with the backup, and you can encrypt this backup to store it securely. However, when using scheduled backups the encryption key and salt are not stored because there is currently no way to automatically encrypt the backups with a password. In this case you will need to keep track of the APPSMITH_ENCRYPTION_PASSWORD and APPSMITH_ENCRYPTION_SALT environment variables to ensure you aren't locked out of your MongoDB when restoring the instance.