diff --git a/playbooks/roles/gitea/tasks/main.yaml b/playbooks/roles/gitea/tasks/main.yaml index aa56fe5f82..8a1aba61b6 100644 --- a/playbooks/roles/gitea/tasks/main.yaml +++ b/playbooks/roles/gitea/tasks/main.yaml @@ -148,7 +148,7 @@ user: root job: > /usr/bin/docker-compose -f /etc/gitea-docker/docker-compose.yaml exec -T mariadb - bash -c '/usr/bin/mysqldump --opt --ignore-table mysql.event --all-databases --single-transaction -uroot -p"$MYSQL_ROOT_PASSWORD"' | + bash -c '/usr/bin/mysqldump --opt --databases gitea --single-transaction -uroot -p"$MYSQL_ROOT_PASSWORD"' | gzip -9 > /var/backups/gitea-mariadb/gitea-mariadb.sql.gz minute: 42 hour: 4