ERPNext-Docker backup

Hello together.
I have been very unsuccesfully trying to backup ERPNext which is running within docker.
It starts by kicking off the backup, It really needs me to execute “Bench backup” within every container? I am looking for a more… wholesome backup.

The backup should not remain on the on the host machine in the end, but for now bundling it together and getting it out of the container is still a problem for me.

Is there an obviously easy way that I am missing?

You need to execute something like this with a cron

You can do it with simple crontab for a single vm, swarm-cron for docker swarm or cronjob for Kubernetes.



How didn’t I see this before…
Thanks a lot! That just solved my Problem.
Have a good day Sir!

1 Like