pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: renneyt@yahoo.com <renneyt@yahoo.com>
To: Jyry Kuukkanen <jyry@neutech.fi>
Cc: Rodrigo Sakai <rodrigo.sakai@zanthus.com.br>
Cc: pgsql-admin@postgresql.org
Subject: Re: backup problem
Date: Thu, 04 May 2006 11:46:15 -0400
Message-ID: <445A21C7.1050905@yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.58L.0605041822330.17141@cyclone.neutech.fi>
References: <000d01c66f8d$04650900$4700a8c0@TREEZANTHUS>
	<Pine.LNX.4.58L.0605041822330.17141@cyclone.neutech.fi>

Jyry Kuukkanen wrote:
> On Thu, 4 May 2006, Rodrigo Sakai wrote:
>
>   
>>   Hi, I'm trying to do a backup of a database that is larger then 4 GB. But it gets an error when the file size gets 1.2 GB! I think its an Operational System problem (linux)! So, I want to know if exists some solution to backup my database??
>>
>>   The command that I used was=
>>
>>   pg_dump -U postgres -d dbdeveloper -a -v -D -f 'backup.sql'
>>
>>   The operational system is linux with etx filesystem, and the version of postgres is 7.4!!
>>     
>
>
> You can try:
>
> pg_dump -U postgres -d dbdeveloper -a -v -D |bzip2 -c >backup.sql.bz2
>
> bzip2 compresses better than gzip.
>
> Restoration:
>
> bzcat backup.sql.bz2|psql - postgres -d dbdeveloper
>
>
> Cheers,
>   


I use the same but use the bzip2 '--best' parameter for best compression 
or is that the default? Also for the OP Rodrigo Sakai, have your tried 
Solaris 10 x86? It is a rock solid OS from Sun that I have used for 12 
years - 6 of them with Postgres. The two have coexisted together without 
incident. It can be d/led for free at the Sun site.

view thread (4+ messages)  latest in thread

Message-ID: <445A21C7.1050905@yahoo.com>
Permalink:  ../445A21C7.1050905@yahoo.com/
Also on:    postgresql.org/message-id/445A21C7.1050905@yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: renneyt@yahoo.com, jyry@neutech.fi, rodrigo.sakai@zanthus.com.br
  Subject: Re: backup problem
  In-Reply-To: <445A21C7.1050905@yahoo.com>
  References: <000d01c66f8d$04650900$4700a8c0@TREEZANTHUS> <Pine.LNX.4.58L.0605041822330.17141@cyclone.neutech.fi> <445A21C7.1050905@yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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