changes to the ussage of backup.sh
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user