Are there known issues with moving a PostgreSQL database from osx to windows? I created a backup of my database and i want to use it to restore the database on a new machine. It works fine if i go from osx to osx but when i try to do it on osx to windows the tables don't show up after the restore. Does anyone know what the problem could be?
migrated from stackoverflow.com Jun 2 '11 at 5:53
This question came from our site for professional and enthusiast programmers.
Have you tried to backup by make a plain Text backup and transfer to the Windows machine ?
Try moving tha database in this way :
On OSX :
On Windows :
Warning : you must also replace the owner user of the database in the Windows new installation of postgres, because if you try to create the table on the new database through backup script with a owner user that doesn't exist on your destination database cluster you get an error, and the table can't be created.