On 02/10/2015 10:49 AM, Felipe Gasper wrote:
Hello,

     Is there a quick way to reset a PgSQL cluster to its pristine
state--i.e., to what initdb gives but preserving configuration
customizations?

Something like:

cp -r /pgdata to pgdata_bak/ at initial state.

When you want to reset cp -r pgdata_bak/ pgdata/


     Thank you!

-FG




--
Adrian Klaver
adrian.kla...@aklaver.com


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to