pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Arnau <arnaulist@andromeiberica.com>
To: pgsql-admin@postgresql.org
Subject: Suggestions needed about how to dump/restore a database
Date: Tue, 19 Dec 2006 18:10:50 +0100
Message-ID: <45881D1A.6090904@andromeiberica.com> (raw)

Hi all,

   I've got a DB in production that is bigger than 2GB that dumping it
takes more than 12 hours. I have a new server to replace this old one
where I have restore the DB's dump. The problem is I can't afford to
have the server out of business for so long, so I need your advice about
how you'd do this dump/restore. The big amount of data is placed in two
tables (statistics data), so I was thinking in dump/restore all except
this two tables and once the server is running again I'd dump/restore
this data. The problem is I don't know how exactly do this.

   Any suggestion?

Thanks
-- 
Arnau




view thread (12+ messages)  latest in thread

Message-ID: <45881D1A.6090904@andromeiberica.com>
Permalink:  ../45881D1A.6090904@andromeiberica.com/
Also on:    postgresql.org/message-id/45881D1A.6090904@andromeiberica.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: arnaulist@andromeiberica.com
  Subject: Re: Suggestions needed about how to dump/restore a database
  In-Reply-To: <45881D1A.6090904@andromeiberica.com>
  References: <45881D1A.6090904@andromeiberica.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