Installing SQL Server 2022 and Restoring a Webgility Desktop Database Backup
This article helps Webgility Desktop user by providing step-by-step instructions for restoring a Webgility Desktop database from backup and manually installing SQL Server 2022. These procedures are essential for system migration, recovery after failures, and troubleshooting database-related issues.
This article covers two important processes for maintaining Webgility Desktop:
- Restoring a database from backup
- Manually installing SQL Server 2022 for Webgility Desktop
Use these guides when migrating systems, recovering from failures, or troubleshooting database issues.
Part 1: How to Restore a Webgility Database Backup
When Should You Restore?
- Moving to a new machine
- Recovering from system failure
- Reverting to a previous configuration
Note: You must install Webgility Desktop and SQL Server before restoring the backup.
Steps to Restore the Database:
- Launch Webgility Desktop
- Navigate to: System > Database > Restore
(Image placeholder) - A warning popup will appear:
- Click Yes to proceed—this will overwrite existing data
- Click Yes to proceed—this will overwrite existing data
- Browse to locate your .bak file (e.g., UnifyDB.bak)
- Select the file and click Open
- Wait for the success message, then close Webgility
- Relaunch the application to see your restored data
Identify the Workstation with SQL Server
The .bak file is created on the machine where the SQL database is hosted.
To identify the SQL host:
- Go to: C:\Webgility\UnifyEnterprise\XML
- Open the apiconfig file using Notepad
- Look for the value next to Instance Name — this is your SQL host machine
Using RightNetworks (Now RightWorks)?
If you're hosted by RightNetworks, contact them to request a backup or perform a DB upgrade:
- Backup Request:
support2@rightnetworks.com
t2vendor@rightnetworks.com - DB Upgrade:
support2@rightnetworks.com
provisioning@rightnetworks.com
Part 2: How to Manually Install SQL Server 2022 for Webgility Desktop
Why Install SQL Manually?
Automatic SQL installation may fail due to:
- System permission restrictions
- Firewall or antivirus blocking
- Pre-existing SQL conflicts
This guide walks you through a manual SQL Server 2022 Express Edition installation for Webgility Desktop.
Prerequisites:
- Confirm your system meets SQL Server 2022 system requirements.
Step-by-Step Installation:
- Download SQL Server 2022 Express
Get it directly from Microsoft:
Download SQL Server Express - Run the Installer
- Choose Custom installation
- Click Install
- Choose Custom installation
- SQL Server Installation Center Launches
- Select: New SQL Server stand-alone installation
- Accept license terms, then click Next
- Skip Microsoft Updates, then proceed
- Select: New SQL Server stand-alone installation
- Handle Firewall Warning (if shown)
- Open Control Panel > System and Security > Windows Defender Firewall
- Temporarily disable it under Private and Public settings
- Open Control Panel > System and Security > Windows Defender Firewall
- Feature Selection
- Select only:
- Database Engine Services
- SQL Server Replication
- Local DB
- Database Engine Services
- Click Next
- Select only:
- Instance Configuration
- Change Named Instance to: UNIFY
(Use UNIFYNEW if upgrading an existing install) - Click Next
- Change Named Instance to: UNIFY
- Server Configuration
- Set Startup Type to Automatic for:
- SQL Server Database Engine
- SQL Server Browser
- SQL Server Database Engine
- Set Startup Type to Automatic for:
- Authentication Mode
- Choose: Mixed Mode
- Enter:
- Username: sa
- Password: Webgility2011 (W must be capitalized)
- Username: sa
- Click Next
- Choose: Mixed Mode
- Finish Installation
- Once the process completes, click OK on the success prompt
- Close the setup wizard
- Once the process completes, click OK on the success prompt
Final Steps:
- Open Webgility Desktop and proceed with setup
- If restoring a backup, follow the steps from Part 1