Re: Scheduled backup in postgresql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Sent: Monday, July 31, 2006 10:00 AM
Subject: Re: [ADMIN] Scheduled backup in postgresql

On 7/29/06, Mostafizur Rahaman Sohel <sohel@xxxxxxxxxxxxx> 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
==================================================================

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux