This document is the day-2 operations runbook for WinBorg (install, backup/restore, troubleshooting).
WinBorg is an Electron desktop app. Most persistent state is stored under Electron userData.
- App runtime: Windows 10/11
- Backup engine runtime: Borg inside WSL2 Linux distro (Ubuntu/Debian)
WinBorg persists JSON files under Electron userData:
data.json(repos, jobs, settings, UI state)secrets.json(repo passphrases; stored separately)notifications.json(notification config)
The main process uses atomic writes and .bak fallbacks.
- Close WinBorg.
- Locate
userData(varies by install channel):- In general:
%APPDATA%/<ProductName>(Electron default)
- In general:
- Copy the entire folder to a safe location.
- Close WinBorg.
- Replace the current
userDatafolder with the previously backed up one. - Start WinBorg.
- Prefer upgrading via the normal installer flow.
- If an upgrade appears to “reset” data, verify the
userDatalocation and whether it was preserved.
Symptoms:
- Onboarding shows WSL missing.
Checks:
wsl --statuswsl --list
Common causes:
- Windows optional components disabled.
- Virtualization not enabled (BIOS/UEFI).
Symptoms:
- Onboarding reports WSL enabled but no Ubuntu/Debian.
Fix:
- Install Ubuntu via onboarding or
wsl --install -d Ubuntu.
Symptoms:
- Onboarding reports Borg missing.
Fix:
- Use onboarding “Install Borg (Auto)”.
Symptoms:
- Mount flow shows a WSL/FUSE configuration modal.
Fix:
- Follow the instructions in-app (WSL configuration / required packages) and re-try.
When reporting issues, collect:
- App version + Windows version
- WSL status (
wsl --status,wsl --list) - A redacted copy of
data.json(remove passwords/hosts if needed) - E2E report if relevant:
npx playwright show-report