pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marcin Giedz <marcin.giedz@eulerhermes.pl>
To: pgsql-admin@postgresql.org
Subject: Problem with backup...
Date: Thu, 7 Apr 2005 10:49:22 +0200
Message-ID: <200504071049.22677.marcin.giedz@eulerhermes.pl> (raw)

Hello...


Here is procedure of making everyday online backup:
1) select pg_start_backup('xxx');
2) tar -cf backup-xxx.tar /mnt/db/pg1
3) select pg_stop_backup();
rm all archived WAL files before special one taken from backup_log
4) tar -cf var-xx.tar /mnt/db/var

Next I'd like to use this copy on my test machine. So I copy backup-xxx.tar 
and var-xxx.tar and untar these files. Directories structure on test are the 
same like on production machine. But when I try to run pg_ctl only empty log 
file is created but postmaster doesn't run. 
Can anyone please tell me what I'm doing wrong?

Thx,
Marcin






view thread (2+ messages)  latest in thread

Message-ID: <200504071049.22677.marcin.giedz@eulerhermes.pl>
Permalink:  ../200504071049.22677.marcin.giedz@eulerhermes.pl/
Also on:    postgresql.org/message-id/200504071049.22677.marcin.giedz@eulerhermes.pl

 · 

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: marcin.giedz@eulerhermes.pl
  Subject: Re: Problem with backup...
  In-Reply-To: <200504071049.22677.marcin.giedz@eulerhermes.pl>
  References: <200504071049.22677.marcin.giedz@eulerhermes.pl>

* 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