Data Backup & Migration
All Shopman data is stored in a local SQLite file. Full backup, restore, and migration are supported.
Data Locations
| Type | Path |
|---|---|
| Database | %APPDATA%\com.moyancn.shopman\data\shopman.db |
| Downloaded files | %APPDATA%\com.moyancn.shopman\files\ |
| Window state | %APPDATA%\com.moyancn.shopman\windowState.json |
Backup
Via Shopman (Recommended)
Settings → Data Management → Backup Data → Choose save location → Exports as JSON.
Manual File Copy
Close Shopman first, then copy shopman.db to a safe location.
Restore from Backup
Settings → Data Management → Restore from Backup → Select JSON file
Irreversible
This clears all current data and restores from the file. Cannot be undone.
Migrate to a New Computer
- On old computer: export JSON backup
- Copy JSON to new computer (USB / cloud drive)
- Install Shopman on new computer
- Settings → Data Management → Restore from Backup
- All suppliers, SKU bindings, and order history restored
Files Not Included
The JSON backup contains file paths, not the PDFs themselves. Copy the files/ directory separately if needed.
Clear All Data
Settings → Data Management → Clear All Data → Confirm
Clears all user data (suppliers, SKUs, orders, assignments). Database structure is preserved.