Re: How to implement backup protocol

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to implement backup protocol
Date: 2006-11-28 18:23:35
Message-ID: 20061128182335.GK6437@merkur.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Nov 28, 2006 at 07:23:44PM +0200, Andrus wrote:

> Pelase, can you recomment a solution which uses port 5432 owned by Postgres
If you think you know your usage pattern:

Have cron stop PostgreSQL at, say, 2am.

Have cron start ssh on port 5432 at 2:05am if PG is down.

Have cron shutdown ssh on port 5432 at 2:55am.

Have cron KILL ssh on port 5432 if need be.

Have cron start PostgreSQL at 3am if ssh is down.

> How to force postmaster to run the tool which system provides when it
> receives backup request instead of postgres child process ?
There is no (builtin/obvious/easy) way for good reason.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2006-11-28 18:33:01 Re: How to implement backup protocol
Previous Message Jeff Davis 2006-11-28 18:03:26 Re: How to implement backup protocol