Closed Gerporgl closed 8 months ago
Perhaps this backup solution is not good, it does not appear to be using the /home/zulip/deployments/current/manage.py backup script described in the zulip documenation, it seems to be mostly a postgres dump.
I will probably just make backups of the docker volumes instead.
My docker-compose log says Auto backup enabled. However even after changing the cron schedule I can never find the backup anywhere and there is no log showing that it runs.
After login in the docker container manually (docker exec) and executing the cron job manually (/sbin/entrypoint.sh app:backup) I am prompted with a "Password:" prompt. I then guessed it may be the postgres user password and it worked. It seems to me that perhaps the credentials are not passed or automated properly?
I am also no clear if this feature is documented anywhere. I was about to setup my own script to run the backup task, but then found clues that there was probably an automated backup implemented already in docker.