Fucking nighmare! I wanted to migrate a 30gb sqlite database into postgres. Apart from the Tablespace nonsense (required for storing data on external drive), the pgloader file that eventually worked is: Must be run directly from the server though. pgloader is a BITCH when it comes to ssh connections. Run with external variable (pgloader doesn’t…