pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Palle Girgensohn <girgen@pingpong.net>
To: pgsql-admin@postgresql.org
Subject: incremental backup of postgres database?
Date: Fri, 07 Feb 2003 17:05:23 +0100
Message-ID: <104800000.1044633923@rambutan.pingpong.net> (raw)

Hi!

What would be the best suggestion for incremental backup of a rather large 
database, where the bulk data volume consists of large objects. Since 
backup will be transmitted over a 2 Mbit/s internet line, we need to 
minimize the data flow for each nightly backup. The compressed database 
dump file, when dumped with pg_dump -F c -b, is roughly 2.5 GB, whereas a 
dump without large objects is roughly is only 2% that size. I can live with 
having to transfer the BLOB-less dump every night, but not several 
gigabytes of data...

So, I will either need to find  a way to get the latest data (I have 
timestamps for all LOBS) and somehow get it to a file in a restorable 
format... One simple way would be to select all new blobs into a temp file 
and copy that table to a backup file

or

replicate the database in real time to the backup site, using one of the 
replication projects? How robust are the replication systems today? What 
will happen if the 2Mb/s line fails temporarily?

Perhaps there are other ideas for incremental backup of postgres databases? 
Your input would be much appreciated.

Thanks
Palle




view thread (4+ messages)  latest in thread

Message-ID: <104800000.1044633923@rambutan.pingpong.net>
Permalink:  ../104800000.1044633923@rambutan.pingpong.net/
Also on:    postgresql.org/message-id/104800000.1044633923@rambutan.pingpong.net

 · 

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: girgen@pingpong.net
  Subject: Re: incremental backup of postgres database?
  In-Reply-To: <104800000.1044633923@rambutan.pingpong.net>
  References: <104800000.1044633923@rambutan.pingpong.net>

* 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