I’ve been attempting to backup my remote database to my local system, with the following command I found in some other resources :
ssh user@host “pg_dump -U username -h localhost -d dbname -C —-column-inserts” \ mybackup.sql
The result was :
pg_dump: error: query failed: ERROR: catalog is missing 2 attribute(s) for relid 18141
I’m actually not so much experienced with databases, I searched for the error but none of them made much sense for me to be honest. Anyone can help me with the issue?