File System based PostgreSQL Database server restore to a different mount point. - Mailing list pgsql-admin

From girish R G peetle
Subject File System based PostgreSQL Database server restore to a different mount point.
Date
Msg-id CAKKd064uEPq2NXhNaFopEttuhA6KM1vWhqx7c63Wn38CsTeZ6Q@mail.gmail.com
Whole thread Raw
Responses Re: File System based PostgreSQL Database server restore to a different mount point.  (Albe Laurenz <laurenz.albe@wien.gv.at>)
List pgsql-admin
Hi,
We have requirement to perform File system based restore of entire PostgreSQL database server to a different mount point. 

-> I know that if no user created tablespaces are involved, we have just need to restore the entire DATA directory to new mount point, modify configuration parameters if required and then start the server. 
-> If user created table-space directories are involved, then we will have to manually adjust the symbolic links (under pg_tblspc) to the new tablespace directory path and bring up the server.

Adjusting symbolic links is a workaround ( hook! ), is there a any official documentation on how 'PostgreSQL server restore to a different mount point' can be achieved ?

Thanks
Girish 


pgsql-admin by date:

Previous
From: Shreeyansh dba
Date:
Subject: Re: WARNING: psql version 8.4, server version 9.2.
Next
From: Albe Laurenz
Date:
Subject: Re: File System based PostgreSQL Database server restore to a different mount point.