Rename all j2 files to templates

Not according to convention, but it reads better.
This commit is contained in:
2026-05-01 10:01:26 +03:00
parent 6edb72077a
commit 8efab2002f
24 changed files with 28 additions and 28 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -eu
set -o pipefail
echo "Gitea: backup data with gitea dump"
(cd "{{ base_dir }}" && \
docker compose exec \
-u "{{ owner_create_result.uid }}:{{ owner_create_result.group }}" \
-w /backups gitea_app \
gitea dump -c /data/gitea/conf/app.ini \
)
echo "Gitea: remove old backups"
keep-files.py "{{ backups_dir }}" --keep 3
echo "Gitea: done."