Re: Copy database

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

 





2006/1/30, Uwe C. Schroeder <uwe@xxxxxxxxx>:



On Monday 23 January 2006 00:49, Krzysztof Szadkowski wrote:
> Hi all,
>
> I am looking for a way to copy whole database to another existing
> database.
> Any suggestions ?
 
Sometimes you want to copy the whole DBMS to another machine where the same postgres version is running. You can just copy the ./data directory, check the permissions (chown -R postgres ./data) and run postmaster with this data directory (postmaster ... -d ./data).
 
Note: Like that, you can't copy a certain database. You have to use the same postgres version for that...
 
Chris


 

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux