pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: fmiddleton@verizon.net
Cc: pgsql-admin@postgresql.org
Subject: Re: how do you automate database backups?
Date: 02 Nov 2005 11:43:57 -0500
Message-ID: <1130949838.2399.273.camel@camel> (raw)
In-Reply-To: <43680C9E.1080002@verizon.net>
References: <43680C9E.1080002@verizon.net>

On Tue, 2005-11-01 at 19:47, Ferindo Middleton Jr wrote:
> Are there tools available to automate backing up databases? I would like 
> to setup my PostgreSQL install to automatically backup databases and 
> save the file to specific location at specific times of the day with 
> little to no user intervention... I'd like to know how to do this in 
> both Windows and Linux. I imagine I could write some kind of script or 
> something on my Linux server but I have absolutely no idea how to 
> implement this on a computer running Windows.
> 
> I would imagine this could be implemented through the OS but are there 
> built-in features of the database itself that can implement automated 
> backups?
> 

It's not built into the database, you need some function of the os to
run a script that makes use of pg_dump. In 'nix you can use cron, in
winders I believe you can use 'task scheduler'. 


Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL




view thread (4+ messages)  latest in thread

Message-ID: <1130949838.2399.273.camel@camel>
Permalink:  ../1130949838.2399.273.camel@camel/
Also on:    postgresql.org/message-id/1130949838.2399.273.camel@camel

 · 

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: xzilla@users.sourceforge.net, fmiddleton@verizon.net
  Subject: Re: how do you automate database backups?
  In-Reply-To: <1130949838.2399.273.camel@camel>
  References: <43680C9E.1080002@verizon.net> <1130949838.2399.273.camel@camel>

* 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