![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all I have a problem trying to restore a backup of a database from postgres 7.4 to 8. When I execute the backup file with "\i FILE" i get a lot of messages of "invalid command \N" when try to restore the data of tables. The tables are restored ok but the primary and foreign keys, and data table aren't restored. I use pg_dump for backup and \i FILE for restore. which way are better for make backup and restore? Best regards. |
#3
| |||
| |||
|
|
I have a problem trying to restore a backup of a database from postgres 7.4 to 8. When I execute the backup file with "\i FILE" i get a lot of messages of "invalid command \N" when try to restore the data of tables. I use pg_dump for backup and \i FILE for restore. One way I have resolved this same issue in the past was to restore 'Database Schema only' first then restore 'Data only' afterwards. Hope this helps. Have solved about the same thing restoring to 8.1.5 from 8.1.2 and even |
![]() |
| Thread Tools | |
| Display Modes | |
| |