Search Postgresql Archives

Re: Backup / export DB

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

 



Title: Nachricht
Simply dump the database with pg_dump, copy the dump to the other machine and restore the dump there.
See the man pages of pg_dump how to use the tool. If you're database contains foreign keys or similar, make sure to include OIDs into the database dump.
 
-- Matthias
-----Original Message-----
From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of Alain Roger
Sent: Friday, September 22, 2006 7:59 AM
To: pgsql-general@xxxxxxxxxxxxxx
Subject: [GENERAL] Backup / export DB

Hi,

I have a database (table, stored procedures, accounts,..) on 1 computer.
for some reason i need to move this database to another computer but not in the same folder name or on the same HDD.

how can i export (and after import) all relative structure and data ?
or maybe a backup of DB is enough ?

thanks a lot,

Alain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux