gitea: try to automate backup with backrest pre/post hooks and pgdump

This commit is contained in:
v.karaychentsev
2026-02-20 19:24:34 +03:00
parent 978d745449
commit 2cb4863e38
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
# run pg_dump
bash /home/backups/docker/gitea/dump_db.sh
# stop gitea
docker compose -f /home/backups/docker/gitea/docker-compose.yaml stop