1. Copy /var/lib/postgresql/8.2/main/ to the destination
2. Change link of pg_data in /etc/postgresql/8.2/main
4. cd /etc/postgresql/8.2/main/
3. ln -s /source/ pg_data
5. create proper links for root.crt, server.crt, server.key in the new data directory
6. Be sure to have proper permissions. Files are owned by postgres (except for the files in item5 which are owned by root) and all members belonging the postgres group are allowed to modify and execute.
Printed copies available, email rbahaguejr [at] gmail [dot] com |
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment