Skip to content

Commit

Permalink
more formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jindongyang94 committed Jul 16, 2019
1 parent 16ceb63 commit be2f665
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ This script can also be done locally as well.

<p>
<b>Method 1: (integration.py) - Backup</b>
</p>
<p>
You can run more than just one database connection at once using the same sh file by iterating through the json file. However, this can only be used to dump .sql files for backup.
However, please do the following as well (especially if you are running this locally):
</p>
Expand All @@ -29,6 +31,8 @@ After that you can simply run the python file to run the shell script.

<p>
<b>Method 2: (integration2.py) - Export</b>
</p>
<p>
I have created another way using Boto3 and Psycopg2, which now does not require you to utilize a JSON file to maintain the host/ port/ user etc. However, you do have to perform the same configurations as stated above. This method also allows you to export the database to as a CSV file. You can change it however, if you want it to dump a .sql file as above as well. However, there are additional requirements due to the usage of python modules:
</p>

Expand Down

0 comments on commit be2f665

Please sign in to comment.