Re: Backups - Mailing list pgsql-novice

From Frank Bax
Subject Re: Backups
Date
Msg-id 5.2.1.1.0.20040922120503.027d5b10@pop6.sympatico.ca
Whole thread Raw
In response to Backups  (Eduardo Vázquez Rodríguez<evazquez@insys-corp.com.mx>)
List pgsql-novice
At 02:41 PM 9/20/04, Eduardo Vázquez Rodríguez wrote:
>How do I make a backup of a database in a different partition?, for
>instance /home/postgres


This works for me (replace [database] with name of your database):

pg_dump -o -c [database] | gzip > /home/postgres/[database].`date
+\%Y\%m\%d`.gz

Frank


pgsql-novice by date:

Previous
From: brew@theMode.com
Date:
Subject: Re: Multi Database queries
Next
From: malini bu
Date:
Subject: ...