Re: Correct pg_dumpall Syntax
От | Rich Shepard |
---|---|
Тема | Re: Correct pg_dumpall Syntax |
Дата | |
Msg-id | Pine.LNX.4.64.0806181039390.10791@salmo.appl-ecosys.com обсуждение исходный текст |
Ответ на | Re: Correct pg_dumpall Syntax ("Joshua D. Drake" <jd@commandprompt.com>) |
Ответы |
Re: Correct pg_dumpall Syntax
Re: Correct pg_dumpall Syntax |
Список | pgsql-general |
On Wed, 18 Jun 2008, Joshua D. Drake wrote: > You need to remove the directory, not the files underneath then: Ah, so. Redid, after removing /var/lib/pgsql/data >>> Then restore as normal using psql -U postgres < mydatabase.sql Postgres is now running (whew!), but I'm still doing something incorrectly. In /usr4/postgres-backups, I did: [rshepard@salmo /usr4/postgres-backups]$ pg_restore -U postgres < pg814data.sql pg_restore: [archiver] input file does not appear to be a valid archive But it was created using the 8.3.3 pg_dumpall in /usr/bin/. Much closer, Rich -- Richard B. Shepard, Ph.D. | Integrity Credibility Applied Ecosystem Services, Inc. | Innovation <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
В списке pgsql-general по дате отправления: