How to restore the backup file

Hello Everyone,

How can i restore all the backup file
1.sql
2.tar private
3.tar public

For database restore Use either one of these :

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

OR

mysql -u root -p [databasename] < /path/to/SQLFILE

THEN

bench --site [sitename] migrate

Welcome @Nishank_Parashar

This would be helpful:

Hope this helps!

how to restore tar files

Hello,

I use frappe v10 and steps mentioned for v8 on link works for me.

It covers sql as well as tar files.

Restoring From ERPNext Backup · frappe/erpnext Wiki · GitHub

You may have to set permissions after restoring files.

Regards,
Vamyip

1 Like

Thank You