pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dilipkumar <dilipkumar_parikh@sifycorp.com>
To: Aaron Bono <postgresql@aranya.com>
To: Mostafizur Rahaman Sohel <sohel@dreamapps.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Scheduled backup in postgresql
Date: Mon, 31 Jul 2006 10:11:23 +0530
Message-ID: <053c01c6b45b$933dead0$4d7ad2d2@sifydba> (raw)
References: <20060729094501.62681.qmail@web502.biz.mail.mud.yahoo.com>
	<bf05e51c0607302130v1f15efb9r3bbe7f3e2f410f2a@mail.gmail.com>

Hi,

BKPDIR=/var/postgres/dumps

/usr/local/pgsql/bin/pg_dump -d genx | gzip > ${BKPFILE}.txt.gz 2>${BKPDIR}/bkp.err

Thanks & Regards
Dilipkumar
  ----- Original Message ----- 
  From: Aaron Bono 
  To: Mostafizur Rahaman Sohel 
  Cc: pgsql-admin@postgresql.org 
  Sent: Monday, July 31, 2006 10:00 AM
  Subject: Re: [ADMIN] Scheduled backup in postgresql


  On 7/29/06, Mostafizur Rahaman Sohel <sohel@dreamapps.com> wrote:
    Hi,
    Actually I was trying to create backup schedule using postgresql enterprise manager. But failed to do it. Please let me know how I can create backup schedule in postgresql? 
    Regards,

    Sohel



  Set up a cron job to run pg_dump.  See:

  http://www.postgresql.org/docs/8.1/interactive/backup.html 

  ==================================================================
     Aaron Bono
     Aranya Software Technologies, Inc.
     http://www.aranya.com
  ================================================================== 
********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail & notify us 
immediately at admin@sifycorp.com


Watch the latest updates on Mumbai, with video coverage of news, events,
Bollywood, live darshan from Siddhivinayak temple and more, only on
www.mumbailive.in

Watch the hottest videos from Bollywood, Fashion, News and more only on
www.sifymax.com

view thread (3+ messages)

Message-ID: <053c01c6b45b$933dead0$4d7ad2d2@sifydba>
Permalink:  ../053c01c6b45b$933dead0$4d7ad2d2@sifydba/
Also on:    postgresql.org/message-id/053c01c6b45b$933dead0$4d7ad2d2@sifydba

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: dilipkumar_parikh@sifycorp.com, postgresql@aranya.com, sohel@dreamapps.com
  Subject: Re: Scheduled backup in postgresql
  In-Reply-To: <053c01c6b45b$933dead0$4d7ad2d2@sifydba>
  References: <20060729094501.62681.qmail@web502.biz.mail.mud.yahoo.com> <bf05e51c0607302130v1f15efb9r3bbe7f3e2f410f2a@mail.gmail.com> <053c01c6b45b$933dead0$4d7ad2d2@sifydba>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox