Geef in je pg_dump de -F t
. op vlag. Dit vertelt pg_dump om de back-up in tar-indeling te maken, die geschikt is voor herstel via pg_restore.
"C:/Program Files (x86)/PostgreSQL/9.1/bin/pg_dump.exe " --host localhost --port 5432 --username "postgres" --no-password --verbose -F t --file "C:\Users\User 1\Desktop\mydatabase.sql" "mydatabase"