0% found this document useful (0 votes)
29 views

Installation Instructions

This document provides instructions for connecting to a Postgres database hosted on Amazon Web Services (AWS) and restoring a database backup locally. It outlines downloading the backup file from the AWS server using pg_dump, installing Postgres locally including setting environment variables, and using pg_restore to restore the database backup locally. It also mentions installing Java and starting Tomcat.

Uploaded by

asmita dagade
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Installation Instructions

This document provides instructions for connecting to a Postgres database hosted on Amazon Web Services (AWS) and restoring a database backup locally. It outlines downloading the backup file from the AWS server using pg_dump, installing Postgres locally including setting environment variables, and using pg_restore to restore the database backup locally. It also mentions installing Java and starting Tomcat.

Uploaded by

asmita dagade
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Connect to Postgres

Installation
ec2-44-201-220-145.compute-1.amazonaws.com

ubuntu

No need of Password
Drag the files
sudo –s

pg_dump -U adminship datadb > /tmp/datadb1.sql


Get the DB backup file from AWS use pg_restore exe[Go to the postgres installation bin directory]
to restore the db back in local machine
Postgres unzip the installation to a Directory
Using commandline run the pg_env.bat
Using commandline run the postgres.exe
Using commandline run the postgres.exe
Install java 11/15
Set JAVA_HOME variable in the Environmental variable
Start the tomcat server using startup.bat

You might also like