pg_dump vs pg_dumpall? which one to use to database backups?
I tried pg_dump and then on a separate machine I tried to import the sql and populate the database, I see CREATE TABLE ERROR: role "prod" does not exist CREATE TABLE ERROR: role "prod" does not exist CREATE TABLE ERROR: role "prod" does not exist CREATE TABLE ERROR: role "prod" does not exist ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE ALTER TABLE WARNING: no privileges could be revoked for "public" REVOKE ERROR: role "postgres" does not exist ERROR: role "postgres" does not exist WARNING: no privileges were granted for "public" GRANT which means my user and roles