The frappe framework feature of S3 backup has open issues
- S3 Backup create bucket on Amazon s3 but does not add files. · Issue #15261 · frappe/frappe · GitHub (from 2017)
- Offsite backup fails · Issue #14823 · frappe/frappe · GitHub (from 2020)
Attempt to fix?
- you’ll need to follow the trail from
s3_backup_settings.py -
use print()andconsole.log()Debugging - If you prefer debugger VSCode, PyCharm
You can use docker based alternative, It’ll also backup and push site_config.json.
more: GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext
docker based alternative
docker task for s3 backups are tested everyday as part of cron job.