ErpNext restore backup

Written by Yujin Boby

Edit in WordPress

To restore ErpNext backup, run

bench --site erp.serverok.in restore --with-public-files /backup/20201112_140222-erp_sevrerok_in-files.tar --with-private-files /backup/20201112_140222-erp_sevrerok_in-private-files.tar /backup/20201112_140505-erp_sevrerok_in-database.sql

To see how to take backup check ErpNext backup a site.

MySQL backup is is taken in .gz format, you need to gunzip to get the .sql file for restoring. If you specify the .gz file, restore will not work.

See ErpNext