Restoring old backup

i am running the latest version of frappe and erpnext on my machine … i have an older version database that i want to restore … i restore the database as follows

bench --site [sitename] --force restore /path/to/SQLFILE

the process was without error but when i access it display error as expected

followed it by

bench --site [sitename] migrate

now the site display the message : Updating. We will be back in a few moments…

kindly if some body explains how to restore the old database on the update machine. thanks

i always restore backup use old version:
after restore,
bench migrate,
bench switch-to-master
bench update --patch
bench migrate again.

Hi @Pirated ,

Did you do a bench restart after?

I made a restore from my backup based on:


Could you post a screenshot of your site error?

I had different problem: