#!/bin/sh set +e 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 curl "{{ monitorurl }}"