Bit Byter wrote:
I just did a file based database backup (stopped postmaster and
zipped/copied all files under /usr/local/pgsql/data/* to a differnt
location)
How can I 'restore' the database and start using it?
Assuming you are using linux/unix you can use pg_ctl (read the docs) to
start the new database using the copy structure.
There are a couple of assumptions that I am making for you:
1. You actually copied/archived the files correctly.
2. You have insured that the permissions are correct for the user that
will be calling pg_ctl.
3. You didn't make the backups while the database was running.
Lastly... don't do this. Use pg_dump/pg_restore.
Sincerely,
Joshua D. Drake
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq