pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew H. North <ctsmhn@cts.com>
To: pgsql-admin@postgresql.org
Subject: Automation/scheduling of Backup stratetgy
Date: Thu, 19 Oct 2000 08:40:40 -0700
Message-ID: <GAEEKJDCHLDJJALCNALCCEOCCDAA.ctsmhn@cts.com> (raw)


Any word on when (if?) live/hot backup will be available?

Matthew H. North
Software Engineer
CTSnet Internet Services
t (858) 637-3600
f (858) 637-3630
mailto:ctsmhn@cts.com

-----Original Message-----
From: pgsql-admin-owner@hub.org [mailto:pgsql-admin-owner@hub.org]On
Behalf Of Michel Decima
Sent: Thursday, October 19, 2000 6:04 AM
To: pgsql-admin@postgresql.org; CScheepers@mweb.com
Subject: Re: [ADMIN] Automation/scheduling of Backup stratetgy


>Is it posible to schedule / automate a backup task and functions to execute
>at a pre-defined time at a pre-defined recurrence rate?

yes, using the cron daemon and the commands pg_dump or pg_dumpall.

The following entry in the postgres user crontab will backup the
database every day at 03:01 AM in /dev/null (very usefull)

1 3 * * * /usr/local/pgsql/bin/pg_dumpall > /dev/null

just look at
man cron
man crontab
man pg_dumpall

MD.





view thread (6+ messages)  latest in thread

Message-ID: <GAEEKJDCHLDJJALCNALCCEOCCDAA.ctsmhn@cts.com>
Permalink:  ../GAEEKJDCHLDJJALCNALCCEOCCDAA.ctsmhn@cts.com/
Also on:    postgresql.org/message-id/GAEEKJDCHLDJJALCNALCCEOCCDAA.ctsmhn@cts.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: ctsmhn@cts.com
  Subject: Re: Automation/scheduling of Backup stratetgy
  In-Reply-To: <GAEEKJDCHLDJJALCNALCCEOCCDAA.ctsmhn@cts.com>
  References: <GAEEKJDCHLDJJALCNALCCEOCCDAA.ctsmhn@cts.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