Question
How do I reinstall PostgreSQL (a.k.a., Postgres or PG)
Answer
A clean reinstall of PostgreSQL requires a complete uninstall followed by a new install.
Uninstall Postgres
- Perform any necessary case backups.
- Uninstall AccessData PostgreSQL via Programs and Features (Vista/7/2008) or Add/Remove Programs (XP/2003).
- Delete the pgData folder (the folder name and location is chosen during installation, but is "C:\pgData" by default).
- Delete any remaining Postgres folders under the "Program Files" and "Program Files (x86)" directories.
Install Postgres
- Mount the FTK ISO
- Right click and open the mounted drive.
- Open to the following path ?:\FTK\FTK\x64\{C32BC7B7-3086-44FD-8A90-9EC47966B4B7}
v7.2 + :\Forensic_Tools\Tools\x64\{C32BC7B7-3086-44FD-8A90-9EC47966B4B7} - Right-click on PostgreSQLSetup_x64.exe > Run as Administrator.
- Create and record a database administrator password when prompted during the PostgreSQL install.
- Install PostgreSQL to an internal drive that has full security permissions set for the host PC.
- Remember that the PostgreSQL username is "postgres.
Overview
Reinstalling Postgres can be useful when starting over with a new install of FTK.