changes to the ussage of backup.sh

This commit is contained in:
2026-07-16 13:39:21 +02:00
parent bfbbff597e
commit e80bf946c0
+3 -3
View File
@@ -204,14 +204,14 @@ create_backup() {
fi fi
fi fi
if [ -x "$PROJECT_DIR/run-backup.sh" ]; then if [ -x "$PROJECT_DIR/backup.sh" ]; then
if "$PROJECT_DIR/run-backup.sh" >> "$LOG_FILE" 2>&1; then if "$PROJECT_DIR/backup.sh" --mode auto >> "$LOG_FILE" 2>&1; then
log_message "Backup completed" log_message "Backup completed"
else else
log_message "WARNING: Backup failed; continuing with release update" log_message "WARNING: Backup failed; continuing with release update"
fi fi
else else
log_message "WARNING: run-backup.sh not found; skipping backup" log_message "WARNING: backup.sh not found; skipping backup"
fi fi
} }