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(dot)klaver(at)aklaver(dot)com