Scheduled Tasks, Cronjobs, Shell
If you want to use bash scripts to back up the database, media, and private files, you will find that the container shipped with shopware/docker does not include bash or mysqldump. To work around this, set up a container that only runs shell commands as follows.
Add the following service to your docker-compose.yml file:
You can then for example use the Scheduled Tasks (a.k.a. cronjobs) tab in the resource's Configuration to run recurring commands in the shell container.
Last updated