I’m restoring a large db dump locally to my fly postgres. Every time I get disconnected before completing:
pg_restore: error: error returned by PQputCopyData: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
In this case it was after about 7 minutes.