How to restore backup with .sql extension
By Silas Kwarteng on December 13, 2024
Beginnerfirst login as root and copy it to /home/erpnext
Then change the ownership
chown erpnext:erpnext /home/erpnext/\_0637dbde5de7c849-backup-20240220\_113312.sql
And change to erpnext user
su - erpnext
Then from inside the frappe bench folder, as the erpnext user, run the following command
bench --site [demo1.powersoftsystem.com](http://demo1.powersoftsystem.com) restore /home/erpnext/\_0637dbde5de7c849-backup-20240220\_113312 --db-root-username root --db-root-password Ph@12345
Was this article helpful?
More articles on Erpnext