diff --git a/scripts/gitea b/scripts/gitea index f140651..c84b4ea 100755 --- a/scripts/gitea +++ b/scripts/gitea @@ -59,7 +59,7 @@ runBackups() { backupDate=$(date +"%Y-%m-%d") giteaHome=$(getent passwd git | cut -f6 -d:) - sudo -u "$GITEA_USER" "${GITEA_BIN}" dump -c "${GITEA_CONFIG}" --type tar.xz --file - > "${giteaDir}/gitea-dump-${backupDate}.tar.xz" + sudo -u "$GITEA_USER" "${GITEA_BIN}" dump --config "${GITEA_CONFIG}" --type tar.xz --file - > "${giteaDir}/gitea-dump-${backupDate}.tar.xz" } hook_before() {