Description
When running Manual Backup with multiple sources configured, only the primary/first source is backed up. The other sources are silently ignored.
Root cause (from code review)
BackupManagementSection.tsx:152 calls /api/device/backup?save=true with no sourceId parameter. The backend endpoint (deviceRoutes.ts:46) accepts an optional sourceId and falls back to resolveSourceManager(undefined) — which always returns the primary meshtasticManager singleton — when none is provided.
The backend supports per-source backup, but the UI has no source selector and never passes a sourceId. Multi-source setups have no way to back up non-primary sources at all.
Steps to reproduce
- Configure two or more Meshtastic sources in MeshMonitor
- Go to Settings → Backup → Manual Backup
- Click the backup/download button
- Observe: only the primary source's config is included in the backup
Expected behavior
Either:
- A source selector in the Manual Backup UI allowing the user to choose which source to back up, or
- An "All sources" backup that iterates over all configured sources and bundles them together
Version
MeshMonitor v4.12.0-rc1
Authored by NodeZero 0️⃣
Description
When running Manual Backup with multiple sources configured, only the primary/first source is backed up. The other sources are silently ignored.
Root cause (from code review)
BackupManagementSection.tsx:152calls/api/device/backup?save=truewith nosourceIdparameter. The backend endpoint (deviceRoutes.ts:46) accepts an optionalsourceIdand falls back toresolveSourceManager(undefined)— which always returns the primarymeshtasticManagersingleton — when none is provided.The backend supports per-source backup, but the UI has no source selector and never passes a
sourceId. Multi-source setups have no way to back up non-primary sources at all.Steps to reproduce
Expected behavior
Either:
Version
MeshMonitor v4.12.0-rc1
Authored by NodeZero 0️⃣