Received: from jobs1.unisoftbg.com (unknown [194.12.229.208]) by postgresql.org (Postfix) with SMTP id B57A5475873 for ; Sat, 20 Jul 2002 02:50:16 -0400 (EDT) Received: (qmail 23289 invoked from network); 20 Jul 2002 13:22:55 -0000 Received: from unisoft.unisoftbg.com (HELO t1.unisoftbg.com) (194.12.229.193) by 0 with SMTP; 20 Jul 2002 13:22:55 -0000 Message-ID: <3D38FC1A.DAF3FA59@t1.unisoftbg.com> Date: Sat, 20 Jul 2002 07:58:50 +0200 From: pginfo X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: "'pgsql-admin@postgresql.org'" Subject: Automatic backup with Linux. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200207/292 X-Sequence-Number: 4976 Hi all, sorry for the question, but I am new to postgres and Linux. I will to write a litle script for data base backup that starts automaticaly. I have the script and can start it manualy and it use pg_dump. The script is working well. My question: 1. Ho to execute this script as user postgres under Linux. I will to use crontab, but do not know how to execute pg_dump as another user. 2. Is it possible to execute the backup script on working data base. I haved problems with data integrity on oracle in this case and needet to stop the oracle and then make backup. Many thanks in advance.