any.software.gitea: started role
This commit is contained in:
parent
1fed7d327a
commit
09e19680e6
13 changed files with 305 additions and 0 deletions
7
roles/any.software.gitea/files/gitea.postgres.backup.sh
Normal file
7
roles/any.software.gitea/files/gitea.postgres.backup.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue