Search Postgresql Archives

Need to Reload a Dump File - Need to Delete the PGDATA directory Again?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I'm in the processing of migrating to Postgres 8.3.8.
I did  :
(1) initdb
(2) psql -e template1 -f 21.bak &>/tmp/out21.bak

Now, I've  decided that I want to reload the same file again, do I just delete the PGDATA directory and then
perform the same steps again?
(1) initdb
(2) psql -e template1 -f 21.bak &>/tmp/out21.bak

What I'm asking is that do I always need to delete the PGDATA directory and then initdb to ensure that it will be a clean load?

Thanks
Mary




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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux