[postgresql] Creating a copy of a database in PostgreSQL

In pgAdmin you can make a backup from your original database, and then just create a new database and restore from the backup just created:

  1. Right click the source database, Backup... and dump to a file.
  2. Right click, New Object, New Database... and name the destination.
  3. Right click the new database, Restore... and select your file.