We have a shell command to backup a database by using:
sudo docker-compose exec database pg_dump -U oed > /home/eddy/Database_Dumps/<site name>/dump_$(date +%Y-%m-%d"_"%H_%M_%S.sql)
It would be nice to have a script provided by OED to do this so it could be put into a cron job to happen regularly. Would also want it described somewhere on the admin and/or install pages.
PR #759 proposed a solution to this issue and is a good start. It was closed since it was not completed. Someone needs to make the needed edits so it can be merged.
We have a shell command to backup a database by using:
sudo docker-compose exec database pg_dump -U oed > /home/eddy/Database_Dumps/<site name>/dump_$(date +%Y-%m-%d"_"%H_%M_%S.sql)
It would be nice to have a script provided by OED to do this so it could be put into a cron job to happen regularly. Would also want it described somewhere on the admin and/or install pages.