This commit is contained in:
Kekskurse 2023-08-07 01:10:21 +02:00
parent 63a900dd13
commit aa343a6d50
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4

View file

@ -4,5 +4,5 @@ d=$(date +%Y-%m-%d)
cd /tmp
sudo -u git /usr/local/bin/forgejo dump --config /etc/forgejo/app.ini --file /tmp/gitea-dump.zip
/usr/local/bin/b2 upload-file --noProgress --quiet kekskurse-backups /tmp/gitea-dump.zip git.keks.cloud/forgejo/$d.zip
rm /tmp/gitea-dump
rm /tmp/gitea-dump.zip
curl "{{ monitorurl }}"