ErpNext restore backup

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

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *