Home > Archive > PostgreSQL Bugs > June 2005 > pg_dump: [tar archiver] could not write to tar member error









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author pg_dump: [tar archiver] could not write to tar member error
filip filipov

2005-06-12, 1:24 pm

Hello!

I'm using PostgreSQL 8.0.2. PG_DUMP can create the backup tar file.
"pg_dump: [tar archiver] could not write to tar member (wrote 2279,
attempted 7211)"
the command I use is: "pg_dump -Ft -Upostgres -b databasename >
/var/tmp/backup.tar"

I've been using postgresql 7.4.2 before and the backup was working properly.
any ideas?

Filip


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Tom Lane

2005-06-12, 1:24 pm

"filip filipov" <filip.filipov@gmail.com> writes:
> I'm using PostgreSQL 8.0.2. PG_DUMP can create the backup tar file.
> "pg_dump: [tar archiver] could not write to tar member (wrote 2279,
> attempted 7211)"
> the command I use is: "pg_dump -Ft -Upostgres -b databasename >
> /var/tmp/backup.tar"


Are you sure you have enough space in /var/tmp?

Another possibility is that the backup.tar file needs to exceed 4Gb but
your copy of pg_dump was compiled without large-file support.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql
.org so that your
message can get through to the mailing list cleanly

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com