Thread: Auto Back up in postgresql

Auto Back up in postgresql

From
yogesh@banasdairy.coop
Date:
hi friends

i want to setup new postgresl server.But Problem is that

if i delete any database of table data it automatically stored in backup
so i rollback it whenever i require for full server(including all database
and table)

can any guys help me to solve this problem..



Yogesh M Chaudahri
BanasDairy(Amul)


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Re: Auto Back up in postgresql

From
"Phillip Smith"
Date:
As a very simple solution, add this to your crontab for an appropriate time
schedule (daily? hourly?)
    pg_dumpall > ~/postgres_backup.sql

The documentation is a good place for information! You might like to look at
this chapter specifically:
http://www.postgresql.org/docs/current/static/backup.html

-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of
yogesh@banasdairy.coop
Sent: Monday, 14 May 2007 14:26
To: pgsql-admin@postgresql.org
Subject: [ADMIN] Auto Back up in postgresql

hi friends

if i delete any database of table data it automatically stored in backup
so i rollback it whenever i require for full server(including all database
and table)


*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to
the addressee.  If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments