Re: how do you automate database backups?

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: fmiddleton(at)verizon(dot)net
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: how do you automate database backups?
Date: 2005-11-02 16:43:57
Message-ID: 1130949838.2399.273.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Robert Treat 2005-11-02 16:49:49 Re: Starten Server / SCO OpenServer6 / PostgreSQL 8.0.3
Previous Message Brad Nicholson 2005-11-02 16:35:21 Re: how do you automate database backups?