Shifting PostgreSQL data location on Windows Server

  1. Stop the PostgreSQL Service:
  2. Copy Data:
  3. Modify the Registry keys ()
  4. Modify postgresql.conf (optional):
  5. Restart the PostgreSQL Service:
    • Finally, restart the PostgreSQL service to apply the changes.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *