Обсуждение: pg_dump: [tar archiver] could not write to tar member error

Поиск
Список
Период
Сортировка

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

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

От
Tom Lane
Дата:
"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