pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
problems with pg_dump/pg_restore
2+ messages / 2 participants
[nested] [flat]

* problems with pg_dump/pg_restore
@ 2002-01-15 20:53 Mirek Hankus <M.Hankus@ce3.pl>
  2002-01-16 22:02 ` Re: problems with pg_dump/pg_restore Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Mirek Hankus @ 2002-01-15 20:53 UTC (permalink / raw)
  To: pgsql-admin



Hello !

   I'm trying to dump postgresql 7.1.3 database and restore it in 7.2b4. 
Databases are located
on different hosts. The problem is that when I run command

pg_dump databasename --verbose -b -Ft  -h otherhost | pg_restore -d 
databasename

after some tables are copied error occures

pg_dump: [tar archiver] could not write to tar member (wrote 1087, 
attempted 5365)
pg_dump: *** aborted because of error
pg_restore: [tar archiver] could not find header for file 179.dat in tar 
archive

command is run on host with Postgresql 7.2b4 installed.  What is wrong ??

BR
  Mirek




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: problems with pg_dump/pg_restore
  2002-01-15 20:53 problems with pg_dump/pg_restore Mirek Hankus <M.Hankus@ce3.pl>
@ 2002-01-16 22:02 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2002-01-16 22:02 UTC (permalink / raw)
  To: Mirek Hankus <M.Hankus@ce3.pl>; +Cc: pgsql-admin

Mirek Hankus <M.Hankus@ce3.pl> writes:
> after some tables are copied error occures

> pg_dump: [tar archiver] could not write to tar member (wrote 1087, 
> attempted 5365)
> pg_dump: *** aborted because of error

If you were writing on a disk file I'd say you've run out of disk space.
Since you're writing to a pipe the answer isn't so obvious.  Is it
possible that you've run into some system-dependent limit (a ulimit
setting on how much a given process can output, perhaps)?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2002-01-16 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-15 20:53 problems with pg_dump/pg_restore Mirek Hankus <M.Hankus@ce3.pl>
2002-01-16 22:02 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox