X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DC41E5E4713 for ; Wed, 1 Sep 2004 10:21:02 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 59328-10 for ; Wed, 1 Sep 2004 13:20:54 +0000 (GMT) Received: from web61008.mail.yahoo.com (web61008.mail.yahoo.com [216.155.196.97]) by svr1.postgresql.org (Postfix) with SMTP id 5D9075E3632 for ; Wed, 1 Sep 2004 10:20:51 -0300 (ADT) Message-ID: <20040901132055.17178.qmail@web61008.mail.yahoo.com> Received: from [219.92.18.15] by web61008.mail.yahoo.com via HTTP; Wed, 01 Sep 2004 14:20:55 BST Date: Wed, 1 Sep 2004 14:20:55 +0100 (BST) From: =?iso-8859-1?q?Lawrence=20C?= Subject: Create Linux Script for PostgreSQL database backup To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200409/6 X-Sequence-Number: 14709 Hi All, Anyone good in writing Linux scripting for backup PostgreSQL. I just required a simple scripts only. Normally we do the manual ways as following: In root root# su – postgres bash# pgdumpall > backup.sql bash# exit root# I’m planning to write script.sh for cronjob but not too sure about it. Can anyone contribute the scripts for me? Thanks in advance ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html