Remember to use PgAdmin to backup PostgreSql database in Windows 10

1. Database installation file download

1. Download address

https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

2. Select this file to download (depending on the major version of the target environment database)

3. The downloaded file

postgresql-11.8-1-windows-x64.exe

2. Database and PgAdmin installation

1. Double-click the installation file postgresql-11.8-1-windows-x64.exe

2. Choose the installation address

3. Select the function to be installed (here I chose full installation)

4. Set the data storage path

5. Set the database password

6, set the database port

7. Advanced options (I chose the default here)

8. Summary before installation

9. Perform installation

Installation process

The installation is complete

Three, PgAdmin backup database

1. Open PgAdmin

starting

2. Enter the local database password set in the previous article

3. Right-click Server and choose to create a new service

4. Fill in the name of the defined target database

5. Fill in the target database IP address, port, user, password

6. Display the existing database information in the target database

7. Right-click the target database and select Backup... (Backup...)

8. Select the storage path of the backup file and name the backup file

The backup file name needs to be filled in manually

9. Perform a backup

 

10. View the backup result in the storage path of the backup file

 

At this point, Windows 10 uses PgAdmin to back up the PostgreSql database operation is complete!

Basic operations related to PostgreSQL database

https://blog.csdn.net/llwy1428/article/details/106553865

Guess you like

Origin blog.csdn.net/llwy1428/article/details/107031697