Skip to content

Data Backup & Migration

All core Shopman business data is stored in local SQLite. Shopman currently supports:

  • local .db backup
  • .db restore
  • clearing local data
  • cross-device cloud sync

Data Locations

TypePath
Database%APPDATA%\com.moyancn.shopman\data\shopman.db
Downloaded files%APPDATA%\com.moyancn.shopman\files\
Window state%APPDATA%\com.moyancn.shopman\windowState.json

Backup

Settings → Data Management → Backup Data → Choose save location → exports a .db snapshot.

Manual File Copy

Close Shopman first, then copy shopman.db to a safe location.

Restore from Backup

Settings → Data Management → Restore from Backup → select the exported .db file

Irreversible

This clears all current data and restores from the file. Cannot be undone.

Migrate to a New Computer

  1. On old computer: export the .db backup
  2. Copy the .db file to the new computer (USB / cloud drive)
  3. Install Shopman on new computer
  4. Settings → Data Management → Restore from Backup
  5. All suppliers, SKU bindings, and order history restored

Files Not Included

Downloaded PDFs are not included in the DB backup itself. Copy the files/ directory separately if needed.

Cloud Sync

If you need ongoing multi-device usage rather than one-time migration, use Sync Data.

Entry: Settings → Data Management → Sync Data

Upload to Cloud

  1. Enter a sync key
  2. Enter a device label
  3. Upload the current local snapshot
  4. Overwrite the cloud version

Download from Cloud

  1. Enter the same sync key
  2. Preview added / updated / skipped counts
  3. Confirm merge into the local database
  4. The app reloads automatically

Good use cases for cloud sync

  • keeping office and home devices aligned
  • switching between multiple working devices
  • reviewing differences before merging

Clear All Data

Settings → Data Management → Clear All Data → Confirm

This clears all user data such as suppliers, products, orders, and assignments while keeping the database structure intact.

专为 TikTok JIT 卖家设计