What is this schema : postgres_exporter ? I'd suggest taking a back up of the objects in this schema, den DROP everything in there and retry.
pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 182; 1259 17640 VIEW pg_stat_activity postgres pg_restore: [archiver (db)] could not execute query: ERROR: column pg_stat_activity.waiting does not exist LINE 27: "pg_stat_activity"."waiting", ^ Command was: -- For binary upgrade, must preserve pg_type oid SELECT pg_catalog.binary_upgrade_set_next_pg_type_oid('17642'::pg_catalog.oid);
-- For binary upgrade, must preserve pg_type array oid SELECT pg_catalog.binary_upgrade_set_next_array_pg_type_oid('17641'::pg_catalog.oid);
-- For binary upgrade, must preserve pg_class oids SELECT pg_catalog.binary_upgrade_set_next_heap_pg_class_oid('17640'::pg_catalog.oid);