Skip site navigation (1) Skip section navigation (2)

Re: pg_dump

From: <operationsengineer1(at)yahoo(dot)com>
To: "pgsql-php(at)postgresql(dot)org" <pgsql-php(at)postgresql(dot)org>
Subject: Re: pg_dump
Date: 2005-06-15 15:27:16
Message-ID: 20050615152716.84366.qmail@web33311.mail.mud.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-php
i read that you can copy the contents of pgsql's data
directory to create a backup, too.  in order to
restore the db, you clean out the data directory and
then copy the "backed up" files back in to the data
directory.

i have no experience using this method, but i thought
i'd mention it to see if anyone else has done this.

--- Christopher Kings-Lynne
<chriskl(at)familyhealth(dot)com(dot)au> wrote:

> pg_dumpall <dbname> > backup.sql
> 
> Chris
> 
> enzo venegas palacios wrote:
> > hi, i don't know use the pg_dump instruccion and i
> need create a backup,
> > please someone has an example.
> > thanks
> > enzo
> >
>
---------------------------------------------------------
> > 
> > Imagina tus vacaciones perfectas... y hazlas
> realidad. Juega en http://sorteos.ya.com
> > ADSL + Llamadas 24 horas: desde 28,95 €/mes + IVA.
> Navega y habla de forma ilimitada. Sin compromiso de
> permanencia. http://acceso.ya.com/ADSLllamadas/
> > 
> > 
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 9: the planner will ignore your desire to
> choose an index scan if your
> >       joining column's datatypes do not match
> 
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the
> unregister command
>     (send "unregister YourEmailAddressHere" to
> majordomo(at)postgresql(dot)org)
> 



		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

In response to

  • Re: pg_dump at 2005-06-15 01:24:03 from Christopher Kings-Lynne

Responses

  • Re: pg_dump at 2005-06-15 15:48:22 from Christopher Kings-Lynne

pgsql-php by date

Next:From: Christopher Kings-LynneDate: 2005-06-15 15:48:22
Subject: Re: pg_dump
Previous:From: Pawel BernatDate: 2005-06-15 13:00:22
Subject: Re: FW: How to store binaries and ASCII files in DB

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group