Re: how do you automate database backups? - Mailing list pgsql-admin

From Robert Treat
Subject Re: how do you automate database backups?
Date
Msg-id 1130949838.2399.273.camel@camel
Whole thread Raw
In response to how do you automate database backups?  (Ferindo Middleton Jr <fmiddleton@verizon.net>)
List pgsql-admin
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


pgsql-admin by date:

Previous
From: Brad Nicholson
Date:
Subject: Re: how do you automate database backups?
Next
From: Robert Treat
Date:
Subject: Re: Starten Server / SCO OpenServer6 / PostgreSQL 8.0.3