pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mr. Dan <bitsandbytes88@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: On-line backup
Date: Mon, 17 Jul 2006 13:15:07 -0400
Message-ID: <BAY116-F31A5A5DB2DE389429C64F5D1620@phx.gbl> (raw)

Hi Tom,

Is this 2003 advice still relevant with postgresql 8.1.0?   Our b-tree 
indexes corrupt pretty often on our production server running 8.1.0 and we 
are grasping for a solution.  We perform online backups like this:  In 
addition, we archive the transactions and replay them for PITR.

/usr/local/pgsql.v810/bin/psql -p 5442 -d postgres -c "SELECT 
pg_start_backup('share.sqldumps.Linux.pgsql.serf.base.backup');"
sleep 20
/bin/tar -zcvf /sprj/sqldumps_Linux.pgsql_serf5442/base.backup.serf.`date 
'+d%m%d%Y'`.tar.gz /anothershare/Linux.pgsql/serf5442/*
sleep 30
/usr/local/pgsql.v810/bin/psql -p 5442 -d postgres -c "SELECT 
pg_stop_backup();"

http://archives.postgresql.org/pgsql-general/2003-04/msg00655.php

Thanks,
~DjK





view thread (5+ messages)  latest in thread

Message-ID: <BAY116-F31A5A5DB2DE389429C64F5D1620@phx.gbl>
Permalink:  ../BAY116-F31A5A5DB2DE389429C64F5D1620@phx.gbl/
Also on:    postgresql.org/message-id/BAY116-F31A5A5DB2DE389429C64F5D1620@phx.gbl

 · 

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: bitsandbytes88@hotmail.com
  Subject: Re: On-line backup
  In-Reply-To: <BAY116-F31A5A5DB2DE389429C64F5D1620@phx.gbl>
  References: <BAY116-F31A5A5DB2DE389429C64F5D1620@phx.gbl>

* 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