Back up and restore data
After this page you can:
Section titled “After this page you can:”Back up your local database, restore it and protect it before an update.
Prerequisites
Section titled “Prerequisites”- WBill is closed or all unsaved changes are saved.
Step by step
Section titled “Step by step”- Close WBill completely.
- Open the data folder: Windows %LOCALAPPDATA%\WBill, macOS ~/Library/Application Support/WBill, Linux ~/.config/wbill.
- Copy wbill.db to a safe location.
- Name the backup with the date, for example wbill-2026-10-28.db.
- Alternatively: Settings → Services → Create backup with a passphrase (at least 8 characters).
- To restore, close WBill and replace wbill.db with the backup, or use Restore backup and restart WBill.
- Before every automatic database migration WBill also writes
wbill.db.bakto the data folder. - If a migration fails, WBill starts in recovery mode with the restored old database. There you can back up the database, open the data folder or retry the migration.
Result
Section titled “Result”You have a restorable backup and can update without data loss.
Field reference
Section titled “Field reference”| Field / term | Meaning | Required | Default |
|---|---|---|---|
| wbill.db | Contains customers, invoices, offers and settings | Yes | in data folder |
| Data folder Windows | Location of the local database | – | %LOCALAPPDATA%\WBill |
| Data folder macOS | Location of the local database | – | ~/Library/Application Support/WBill |
| Data folder Linux | Location of the local database | – | ~/.config/wbill |
| Backup interval | Recommended cadence | – | before every update |
Troubleshooting
Section titled “Troubleshooting”| Problem | Solution |
|---|---|
| The file is locked. | Close WBill completely and try again. |
| Data is missing after restore. | Check that you copied the correct wbill.db. |
| WBill starts in recovery mode after an update. | Use Back up database, check the error message and retry the migration; the old database remains unchanged. |
| WBill reports a newer database. | Install the newer WBill version; migration with an older version is not possible. |
