Download Backups is empty

Hi team my Download Backups page with empty table.
How can I manage it for backup automatically?

Hi @NMyshuk

Seems there is no entry to make backup daily in the crontab, to check run command crontab -l

Hi, thank you for your reply.
Here is output but I don’t know what it means.

frappe-bench$ crontab -l
0 10 * * * cd /home/frappe/frappe-bench && /home/frappe/frappe-bench/env/bin/bench update --auto >> /home/frappe/frappe-bench/logs/auto_update_log.log 2>&1

Backup entry is not there
Add below script in the crontab

0 */6 * * *  cd /home/frappe/frappe-bench && /home/frappe/frappe-bench/env/bin/bench --site all backup >> /home/frappe/frappe-bench/logs/backup.log 2>&1

To add script in crontab run command crontab -e

I’ve added, thank you.
should I run something else?
and shouldn’t this script was added automatically when I’ve installed erpnext?

Above script will run after every 6 hours daily, if you want to take backup now then run command bench backup

Script added during installation of bench, but it’s weird why it was not added in your case

yes, I know. I’ve run bench backup and received backup.
Thank you very much :slight_smile:

This topic can be closed but I don’t know how to make it.

1 Like