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.klaver@xxxxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general