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

Started by filip filipovalmost 21 years ago2 messagesbugs
Jump to latest
#1filip filipov
filip.filipov@gmail.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: filip filipov (#1)
Re: pg_dump: [tar archiver] could not write to tar member error

"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