pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michel Decima <michel.decima@rd.francetelecom.fr>
To: pgsql-admin@postgresql.org
To: CScheepers@mweb.com
Subject: Re: Automation/scheduling of Backup stratetgy
Date: Thu, 19 Oct 2000 15:04:20 +0200
Message-ID: <19340913063604.23462@p-grive.issy.cnet.fr> (raw)

>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: <19340913063604.23462@p-grive.issy.cnet.fr>
Permalink:  ../19340913063604.23462@p-grive.issy.cnet.fr/
Also on:    postgresql.org/message-id/19340913063604.23462@p-grive.issy.cnet.fr

 · 

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: michel.decima@rd.francetelecom.fr, CScheepers@mweb.com
  Subject: Re: Automation/scheduling of Backup stratetgy
  In-Reply-To: <19340913063604.23462@p-grive.issy.cnet.fr>
  References: <19340913063604.23462@p-grive.issy.cnet.fr>

* 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