How can I setup schedule and automatic backups?

320 views
Skip to first unread message

Milan

unread,
Nov 21, 2012, 11:21:38 PM11/21/12
to erpnext-u...@googlegroups.com
I need to setup the schedule and automatic backups, please give me the steps to do this.

Anand Doshi

unread,
Nov 22, 2012, 1:36:01 AM11/22/12
to erpnext-u...@googlegroups.com
Hi Milan,

For scheduler, See point no. 10 in install instructions - https://github.com/webnotes/erpnext/wiki/How-to-Install-ERPNext

For automatic backups, you can use:
* 0 * * * cd [PATH TO ERPNEXT INSTALLATION] && python lib/wnf.py --backup >> /var/log/erpnext-backup.log 2>&1
For now, you will need to manually clear old backups or write a script to do that, so that space doesn't run out.
Using the above crontab entry, the backups will be taken at midnight every day and will be available in public/backups folder.

Thanks,
Anand.

PS.
For future questions related to development / setup, please post your questions at erpnext-dev...@googlegroups.com -- we don't want to burden people in this group who are here for functional queries.

Milan

unread,
Nov 22, 2012, 11:34:24 PM11/22/12
to erpnext-u...@googlegroups.com
We are using the hosted version of ERPNext. Than what's the procedure?

Anand Doshi

unread,
Nov 23, 2012, 12:33:21 AM11/23/12
to erpnext-u...@googlegroups.com
If you are hosting on your server, please follow the reply I sent earlier. See - https://groups.google.com/d/msg/erpnext-user-forum/eYxFdDGQRJY/BkOzKwkttKsJ

If you have an account with erpnext, we maintain backups from our side.

Thanks,
Anand.
Reply all
Reply to author
Forward
0 new messages