Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.06 minutes in March 2021 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

PostgreSQL backup failed in Web help desk

by | Jun 7, 2021

Wondering how to resolve Postgresql backup failed in Web help desk? We can help you.

As a part of our Server Management Service, we help our customers to fix PostgreSQL related errors regularly.

Today, let us see how our Support Techs fix this error.

 

How to backup the PostgreSQL database?

 
Let us see the steps followed by our Support Techs to backup.
 

  1. Firstly, log in to Web Help Desk as an administrator.
  2. Click Setup > General > Database.
  3. Then, click the Vendor drop-down menu and select PostgreSQL.
  4. (Optional) In the Backup Schedule row, select a weekly backup schedule.
  5. Next, verify that the Backup Folder path is correct.
  6. Finally, click Backup Now to back up the database.

 

How to Restore the PostgreSQL database using pgAdmin3?

 

  1. Log in to Web Help Desk as an administrator.
  2. Stop and start Web Help Desk
  3. Go to <WHD install location>\WebHelpDesk\pgsql9\bin folder and click pgAdmin3.exe
  4. Start pgAdmin3.
  5. Click the connector icon.
  6. In the New Server Registration window, enter the following parameters in the Properties tab, leaving the other fields empty or with default data:
    Name: WHDDB
    Host: localhost
    Port: 20293
    Username: whd
    Password: whd
    whd is the default password
  7. In the pgAdmin3 Object Browser, expand Servers > WHDDB > Databases > whd.
  8. Right-click whd and select Delete/Drop.
  9. Right-click Databases and select New Database.
  10. Enter whd as the new database name, whd as Owner in the dropdown
  11. Go to Definition tab and set Collation and Character type to English_United_States.1252 in the dropdown lists
  12. Click OK.
  13. Right-click the new whd database and click Restore
  14. Navigate to the database file or enter the filename
  15. Select Custom in the Format
  16. Leave Number of Jobs as blank
  17. Select whd as the Rolename.
  18. Click Restore.
  19. Restart Web Help Desk (Stop and start Web Help Desk).

 

PostgreSQL backup failed in Web help desk

 
The following error displays on clicking Backup Now in Web Help Desk Backup:

Backup command returned exit code 1:

pg_dump: [archiver (db)] connection to database "whd" failed: could not connect to server: Connection refused (0x0000274D/10061)

Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

 

How to resolve PostgreSQL backup failed in Web help desk?

 
Let us see the steps followed by our Support Techs to resolve the error.

  1. Firstly, verify if the database is running on PostgreSQL Embedded.
  2. Then, check postgresql.conf if listen_addresses and port are commented (with #).
  3. If not, edit postgresql.conf and verify that it is commented by adding # before listen_addresses and port.
  4. Next, check the port assigned for whd.db.port in the .whd.properties file and verify that:
    If the database is external postgresql, the port is 5432.
    If the database is PostgreSQL Embedded, the port is 20293.
  5. Create a backup of .whd.properties.
  6. Stop the Web Help Desk service. Refer to Stop and start Web Help Desk.
  7. Edit .whd.properties as per step 4 and save.
  8. Then, start Web Help Desk.
  9. Finally, create a backup.

 

[Need help to fix PostgreSQL error? We are available 24*7]

 

Conclusion

In short, today we saw how to backup the PostgreSQL database and fix PostgreSQL error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

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

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF