Re: How do I set up automatic backups?

From: pglists <pglists(at)zeroaccess(dot)org>
To: "Rob Richardson" <Rob(dot)Richardson(at)rad-con(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How do I set up automatic backups?
Date: 2008-07-31 19:40:17
Message-ID: 20080731144017.849419rjrgdteuys@webmail.zeroaccess.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I created this script sometime ago and it works fine for me and
others.. Maybe it might work for you

http://www.zeroaccess.org/postgresql-backup

1.0RC1 is pretty stable I have ran it for 3 weeks without any problems

Quoting "Rob Richardson" <Rob(dot)Richardson(at)rad-con(dot)com>:

> Greetings again!
>
> A few days ago, I visited a customer's site to talk about administering
> our system, which is developed around a PostGres database. One of the
> topics was how to back up the database. I described the process of
> using PgAdmin to back up and restore a database, and I said a backup
> should be done every night. I was asked how to automate the procedure,
> and I couldn't answer. A database administrator said, "There's got to
> be a way. Otherwise, PostGres wouldn't have survived". I agree with
> him. The only answers I've found on the Internet involve creating a
> password-less account and using that to run pg_dump. What is the
> official best way to automatically back up a PostGres database?
>
> Thank you very much.
>
> RobR
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David R Robison 2008-07-31 19:43:58 Re: Doing an LDAP lookup from a SQL SELECT
Previous Message Alvaro Herrera 2008-07-31 19:38:08 Re: PL/pgSQL equivalent to PQtransactionStatus?