pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedproblem with dumpall
4+ messages / 4 participants
[nested] [flat]
* problem with dumpall
@ 2002-01-10 04:48 RED <kv@red.kht.ru>
0 siblings, 2 replies; 4+ messages in thread
From: RED @ 2002-01-10 04:48 UTC (permalink / raw)
To: pgsql-admin
Hi !
I have small problem
amount size all databases ~5Gb
I make dumpall >dumpfile
when size dumpfile = 1024 dumpall print error and exit !
Linux Slackware7.2 ext2 2.4.17 gcc2.95
file size in bash - unlimit
Where is problem ?
Red
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: problem with dumpall
@ 2002-01-10 05:12 Bruce Momjian <pgman@candle.pha.pa.us>
parent: RED <kv@red.kht.ru>
1 sibling, 0 replies; 4+ messages in thread
From: Bruce Momjian @ 2002-01-10 05:12 UTC (permalink / raw)
To: RED <kv@red.kht.ru>; +Cc: pgsql-admin
RED wrote:
> Hi !
> I have small problem
> amount size all databases ~5Gb
> I make dumpall >dumpfile
> when size dumpfile = 1024 dumpall print error and exit !
> Linux Slackware7.2 ext2 2.4.17 gcc2.95
> file size in bash - unlimit
Try:
pg_dumpall | gzip >dumpfile
pg_dump and hence pg_dumpall also has compression option flags.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: problem with dumpall
@ 2002-01-10 06:48 Weiping He <laser@zhengmai.com.cn>
parent: RED <kv@red.kht.ru>
1 sibling, 1 reply; 4+ messages in thread
From: Weiping He @ 2002-01-10 06:48 UTC (permalink / raw)
To: RED <kv@red.kht.ru>; pgsql-admin
> Hi !
> I have small problem
> amount size all databases ~5Gb
> I make dumpall >dumpfile
> when size dumpfile = 1024 dumpall print error and exit !
> Linux Slackware7.2 ext2 2.4.17 gcc2.95
^^^
I think ext2 can't support file larger then 2G,
and your DB may be near 5Gb, so it's a problem.
take a look at:
http://www.postgresql.org/idocs/index.php?backup.html#BACKUP-DUMP-LARGE
or change to some journal filesystem like reiserfs would help.
regards laser
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: problem with dumpall
@ 2002-01-10 07:32 Timur V. Irmatov <thor@sarkor.com>
parent: Weiping He <laser@zhengmai.com.cn>
0 siblings, 0 replies; 4+ messages in thread
From: Timur V. Irmatov @ 2002-01-10 07:32 UTC (permalink / raw)
To: Weiping He <laser@zhengmai.com.cn>; +Cc: pgsql-admin
Hi!
>> Hi !
>> I have small problem
>> amount size all databases ~5Gb
>> I make dumpall >dumpfile
>> when size dumpfile = 1024 dumpall print error and exit !
>> Linux Slackware7.2 ext2 2.4.17 gcc2.95
WH> ^^^
WH> I think ext2 can't support file larger then 2G,
WH> and your DB may be near 5Gb, so it's a problem.
I think the problem here is in kernel 2.4.17 ..
I had a problem with 2.4.11 kernel when i tried
to mke2fs a partition > 2 Gb in size ... mke2fs died with a message:
"file size exceeded" ... The solution was to log in directly with
root ...
The problem lies in bash ulimits, AFAIR
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2002-01-10 07:32 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-10 04:48 problem with dumpall RED <kv@red.kht.ru>
2002-01-10 05:12 ` Bruce Momjian <pgman@candle.pha.pa.us>
2002-01-10 06:48 ` Weiping He <laser@zhengmai.com.cn>
2002-01-10 07:32 ` Timur V. Irmatov <thor@sarkor.com>
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