Important: First you need to create a PostgreSQL database following this tutorial: <https://help.scriptcase.net/portal/pt/kb/articles/banco-de-dados-postgresql>

1 - In cPanel, access “**phpPgAdmin**”;

\
![](https://support2.scriptcase.net/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdjVRIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--af5ef569c1f6dd9c599ad3e9e34eab88110c2e5e/image%20(87).png)

**To import:**

2 - In the left panel of the screen, click on PostgreSQL and then on the name of the destination database for the imported data;

\
![](https://support2.scriptcase.net/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdjlRIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--16294fd8fc9d3b8514105ecb105a047d1a14123e/image%20(88).png)

3 - When clicking on the desired bank, click on the "**SQL**" button;

\
![](https://support2.scriptcase.net/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBZ0JSIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--872d320067a51cc2e3f89d67258f15b463d874eb/image%20(89).png)

4 - Click the "**Choose file**" button, select the ".sql" file from your device and then click the "**Run**" button;

\
![](https://support2.scriptcase.net/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBZ0pSIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--4d649efee5fa46a1de02020c6a07ca11b0b2f6fd/image%20(90).png)

**To export:**

1 - Expand (click on the +) the PostgreSQL option in the list on the left;

\
![](https://support2.scriptcase.net/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBZ05SIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--3fd9b84fa83cf350ac801a74feeedcfc1b9a876d/image%20(91).png)

2 - Choose the database you want to export.

\
![](https://support2.scriptcase.net/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBZ1JSIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--93abb68836c2a46e8223adac1d698c94b6256d26/image%20(92).png)

3 - Click on the "**Export**" option;

4 - Select the "**Structure and data**" option;

5 - Change the format to "**SQL**";

6 - Select the "**Download**" option and click "**Export**". The system will ask you where you want to save the bank on your device.

\
![](https://support2.scriptcase.net/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBZ1ZSIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--09b1b999becbac83177d64e65b22b27ffb62c019/image%20(93).png)