Re: backup postgres database
От
Marcelo Pereira
Тема
Re: backup postgres database
Дата
Msg-id
Pine.LNX.4.20.0203131531200.15499-100000@ni.hmmg.sp.gov.br
Ответ на
backup postgres database (arun kv)
Список
Дерево обсуждения
backup postgres database arun kv <arun@library.iisc.ernet.in>
Re: backup postgres database Jon Hassen <jhassen@azstarnet.com>
Re: backup postgres database Marcelo Pereira <gandalf@sum.desktop.com.br>
Re: backup postgres database "Josh Berkus" <josh@agliodbs.com>
Re: backup postgres database Frank Finner <postgresql@finner.de>
Re: backup postgres database Martín Marqués <martin@bugs.unl.edu.ar>
Re: backup postgres database Frank Finner <frank@finner.de>
Hello,
You could use:
# pg_dump database > backup_file
So, on the another system:
# psql -d database -f backup_file
I think it will solve your problem...
See ya,
Marcelo Pereira
-- Remember that only God and Esc+:w saves.
__
(_.\ Marcelo Pereira |
/ / ___ |
/ (_/ _ \__ Matematica/99 - IMECC |
_______\____/_\___)___Unicamp_______________/
--- arun kv, with his fast fingers, wrote:
:> hello sir,
:> i have a postgresql database in one system and want to transfer
:> the same to another system. i am not finding a way to transfer this
:> database from one system to another.if i transfer the file in
:> /var/lib/pgsql/libdatabase them it gives error.how shall i transfer
:> database.
:> another thing. how to take up backups of the database on the system.
:> pls help me as i am new to postgresql
:> thanking you
:> Arun
:>
:>
:> ---------------------------(end of broadcast)---------------------------
:> TIP 4: Don't 'kill -9' the postmaster
:>
В списке pgsql-php по дате отправления