Migrating Database to new server

Uploaded the dump file to live directory

And Run command as told in the documentation
But how do I confirm its done correctly

You have entered your commands in the psql shell aready.

The sudo, createdb and pg_restore commands are executed from the operating system and not from within psql.

1 Like

I tried running that but somehow i was getting corrupted or empty db backups

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.