May 14, 2019, 7:30am
I would like to know in detail the procedure for backup and recovery for ERPNEXT version 11.1.21.
Please share your customization experience.
Operating system Ubuntu 16.04.5 LTS.
Interested in restoring custom settings on another empty server, and crontab tasks.
For Database backup:
change to bench directory
erpnext@server:~$ cd frappe-bench/
erpnext@server:~/frappe-bench$ bench backup
erpnext@server:~/frappe-bench$ bench backup-all-sites
your database backups will be in ~/frappe-bench/sites/[sitename]/private/backups/
check out for the most recent backup with current time, there may be backups there already.
Now take backups of files
erpnext@server:~/frappe-bench/sites/[sitename]/public$ tar cvf ~/[sitename]-f…
For Customization or Custom App Code Backup, you can use Git
Also Other links:
Recently I was talking with some other users about the missing elements in my first backup tutorial and how that might be resolved. So, here it is. This version of the Poor Man’s Backup system is presented here only to let you know it exists. Since the forums take away my ability to edit the text after a few weeks, these tutorials become stale if I cannot update them to current. So you will now find my [Tutorials] will start appearing on GitHub at this location:
BKM’s ERPNext Guides
This way I…