Top "Pg-restore" questions

input file appears to be a text format dump. Please use psql

I take backup using pg_dump db_production > postgres_db.dump and then I copy it to localhost using …

postgresql backup pg-restore
Getting "[archiver] unsupported version (1.13) in file header" when running pg_restore

I just upgraded to postgres 10.2 on mac os which matches 10.2 on heroku. I'm trying to download a copy of the …

postgresql heroku pg-restore
I want to restore the database with a different schema

I have taken a dump of a database named temp1, by using the follwing command $ pg_dump -i -h localhost …

postgresql pg-dump pg-restore
pg_restore: [archiver] unsupported version (1.14) in file header

I have a live server and development box, call them live and dev respectively both running postgresql. I can see …

postgresql ubuntu pg-dump pg-restore
pg_restore toc error

i was using the following syntax for pg_dump and restore pg_dump eval --inserts -b -c --encoding UTF8 -Fc …

postgresql pg-dump pg-restore
Why is pg_restore returning successfully but not actually restoring my database?

I have a Postgres 8.4 database on a linux server that I have dumped using the following command: pg_dump --format=…

postgresql pg-dump pg-restore
How do I convert a binary pgdump (compressed) to a plain SQL file?

I do want to search for some data inside a database dump but these dumps are using the binary-compressed format (…

postgresql pg-dump pg-restore
Restore dump on the remote machine

I've got my own machine with postgres dmp file, which I want to restore on the remote virtual machine (e.…

postgresql dump remote-server pg-restore
Postgres Tutorial: pg_restore: [archiver] input file does not appear to be a valid archive

I'm working through the Postgres DVD tutorial and am running into issues importing their sample database. Running pg_restore -U …

postgresql tar pg-restore postgresql-9.5
will pg_restore overwrite the existing tables?

Say I have two host servers s1 and s2. In both the servers i have a schema named n1, now …

postgresql psql postgresql-9.5 pg-dump pg-restore