pg_dump
am 15.06.2005 00:34:44 von enzo venegas palacios
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://sort=
eos.ya.com
ADSL + Llamadas 24 horas: desde 28,95 =80/mes + IVA. Navega y habla de form=
a ilimitada. Sin compromiso de permanencia. http://acceso.ya.com/ADSLllamad=
as/
---------------------------(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
Re: pg_dump
am 15.06.2005 03:24:03 von Christopher Kings-Lynne
pg_dumpall > 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
> ---------------------------------------------------------
>=20
> Imagina tus vacaciones perfectas... y hazlas realidad. Juega en http://=
sorteos.ya.com
> ADSL + Llamadas 24 horas: desde 28,95 =80/mes + IVA. Navega y habla de =
forma ilimitada. Sin compromiso de permanencia. http://acceso.ya.com/ADSL=
llamadas/
>=20
>=20
> ---------------------------(end of broadcast)--------------------------=
-
> TIP 9: the planner will ignore your desire to choose an index scan if y=
our
> 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@postgresql.org)
Re: pg_dump
am 15.06.2005 17:27:16 von operationsengineer1
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
wrote:
> pg_dumpall > backup.sql
>=20
> Chris
>=20
> 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
> >
>
---------------------------------------------------------
> >=20
> > Imagina tus vacaciones perfectas... y hazlas
> realidad. Juega en http://sorteos.ya.com
> > ADSL + Llamadas 24 horas: desde 28,95 =80/mes + IVA.
> Navega y habla de forma ilimitada. Sin compromiso de
> permanencia. http://acceso.ya.com/ADSLllamadas/
> >=20
> >=20
> > ---------------------------(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
>=20
>=20
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the
> unregister command
> (send "unregister YourEmailAddressHere" to
> majordomo@postgresql.org)
>=20
=09
__________________________________=20
Yahoo! Mail Mobile=20
Take Yahoo! Mail with you! Check email on your mobile phone.=20
http://mobile.yahoo.com/learn/mail=20
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
Re: pg_dump
am 15.06.2005 17:48:22 von Christopher Kings-Lynne
Only problem is you need to stop PostgreSQL from running to do it...
operationsengineer1@yahoo.com wrote:
> 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.
>=20
> i have no experience using this method, but i thought
> i'd mention it to see if anyone else has done this.
>=20
> --- Christopher Kings-Lynne
> wrote:
>=20
>=20
>>pg_dumpall > 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
>>>
>>
> ---------------------------------------------------------
>=20
>>>Imagina tus vacaciones perfectas... y hazlas
>>
>>realidad. Juega en http://sorteos.ya.com
>>
>>>ADSL + Llamadas 24 horas: desde 28,95 =80/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@postgresql.org)
>>
>=20
>=20
>=20
>=20
> =09
> __________________________________=20
> Yahoo! Mail Mobile=20
> Take Yahoo! Mail with you! Check email on your mobile phone.=20
> http://mobile.yahoo.com/learn/mail=20
>=20
> ---------------------------(end of broadcast)--------------------------=
-
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org=
)
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if you=
r
joining column's datatypes do not match
Re: pg_dump
am 15.06.2005 18:06:51 von Weber Matthias
don't think so. here an extract from man pages
To dump a database:
$ pg_dump mydb > db.out
To reload this database:
$ psql -d database -f db.out
bye
matthias
-----Original Message-----
From: Christopher Kings-Lynne [mailto:chriskl@familyhealth.com.au]
Sent: Wed 6/15/2005 5:48 PM
To: operationsengineer1@yahoo.com
Cc: pgsql-php@postgresql.org
Subject: Re: [PHP] pg_dump
Only problem is you need to stop PostgreSQL from running to do it...
operationsengineer1@yahoo.com wrote:
> 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.
>=20
> i have no experience using this method, but i thought
> i'd mention it to see if anyone else has done this.
>=20
> --- Christopher Kings-Lynne
> wrote:
>=20
>=20
>>pg_dumpall > 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
>>>
>>
> ---------------------------------------------------------
>=20
>>>Imagina tus vacaciones perfectas... y hazlas
>>
>>realidad. Juega en http://sorteos.ya.com
>>
>>>ADSL + Llamadas 24 horas: desde 28,95 =80/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@postgresql.org)
>>
>=20
>=20
>=20
>=20
> =09
> __________________________________=20
> Yahoo! Mail Mobile=20
> Take Yahoo! Mail with you! Check email on your mobile phone.=20
> http://mobile.yahoo.com/learn/mail=20
>=20
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
---------------------------(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 4: Don't 'kill -9' the postmaster