Get Media object (or binary data) from Data Table using psycopg2

I’m not sure of all your constraints, but would backing up via an uplink script work? See this topic for sample code: Backup to SQLite via Uplink