Tools
Back up and restore the PostgreSQL database using the web console on Web Help Desk
This article describes how to back up and restore the Web Help Desk 12.x PostgreSQL embedded database using the Web Help Desk Admin Console.
First published date
Last published date
Overview
It may be necessary to create a backup and restore your Web Help Desk database. This is how to back up and restore the Web Help Desk 12.x PostgreSQL embedded database. The process involves creating a backup from the web interface and restore using the embedded pgAdmin application on the Web Help Desk.
Product section
Resolution
Back up the PostgreSQL database
- Log in to Web Help Desk as an administrator.
- Click Setup > General > Database.
- Click the Vendor drop-down menu and select PostgreSQL.
- (Optional) In the Backup Schedule row, select a weekly backup schedule.
- Verify that the Backup Folder path is correct.
- Click Backup Now to back up the database.
Restore the PostgreSQL database using pgAdmin3
This procedure requires you to replace the Web Help Desk database.
- Log in to Web Help Desk as an administrator.
- Stop and start Web Help Desk.
- If you are running Web Help Desk 12.7.6 and earlier, go to the <WHD_install_location>\WebHelpDesk\pgsql9\bin folder and double-click pgAdmin3.exe. If you are running Web Help Desk 12.7.7 and later, go to the <WHD_install_location>\WebHelpDesk\pgsql13\bin folder and double-click pgAdmin4.exe
- Start the pgAdmin application.
- Click the connector
icon.
- In the New Server Registration window, enter the following parameters in the Properties tab, leaving the other fields empty or with default data:
- Name:
- Host:
localhost - Port:
20293 - Username:
whd - Password:
whd whdis the default password
- In the pgAdmin Object Browser, expand Servers > WHDDB > Databases > whd.
- Right-click whd and select Delete/Drop.
- Right-click Databases and select New Database.
- Enter
whdas the new database name, whd as Owner in the drop-down menu. - Go to Definition tab and set Collation and Character type to English_United_States.1252 in the dropdown lists.
- Click OK.
- Right-click the new whd database and click Restore.
- Navigate to the database file or enter the filename.
- Select Custom in the Format.
- Leave Number of Jobs as blank.
- Select
whdas the Rolename. - Click Restore.
- Restart Web Help Desk.