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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

filip filipov
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
Reply | Threaded
Open this post in threaded view
|

Re: pg_dump: [tar archiver] could not write to tar member error

Tom Lane-2
"filip filipov" <[hidden email]> 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 [hidden email] so that your
      message can get through to the mailing list cleanly