any.software.gitea: started role

This commit is contained in:
Jef Roosens 2025-12-23 23:19:46 +01:00
parent 1fed7d327a
commit 09e19680e6
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
13 changed files with 305 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
cd /etc/gitea
/usr/bin/docker compose exec -T db pg_dump -U gitea gitea |
/usr/bin/gzip --rsyncable |
/usr/local/bin/restic backup --stdin --stdin-filename gitea-postgres.sql.gz