Backup and Restore
Mindwtr stores your working data locally and lets you export JSON backups for portability, repair, and migration.
Restore is designed as a local data replacement flow:
- You choose a backup JSON file
- Mindwtr validates it before changing anything
- Mindwtr creates a recovery snapshot first when possible
- The selected backup replaces the current local dataset
This keeps restore simple and predictable. It is not a merge operation.
Export Backup
Desktop
- Open Settings → Data
- In Data Transfer, choose Export Backup
- Save the JSON file where you want
Mobile
- Open Settings → Data
- Tap Export Backup
- Save or share the JSON file
The backup format is compatible with Mindwtr’s internal data.json structure.
Restore from Backup
Desktop
- Open Settings → Data
- In Data Transfer, choose Restore Backup
- Select a Mindwtr backup JSON file
- Review the summary and confirm restore
Before restore, desktop creates a data snapshot in the local snapshot directory when the Tauri runtime is available.
Mobile
- Open Settings → Data
- Tap Restore Backup
- Select a Mindwtr backup JSON file
- Review the summary and confirm restore
Before restore, mobile saves a local recovery snapshot in app storage.
Recovery Snapshots
Mindwtr creates recovery snapshots automatically before restore and import operations.
- Desktop: snapshots appear in Settings → Sync → Recovery Snapshots
- Mobile: snapshots appear in Settings → Sync → Recovery Snapshots
Use these when you restored the wrong file or want to roll back a local import/restore operation.
Validation Rules
Mindwtr validates the selected JSON file before restore:
- the file must be valid JSON
- it must match Mindwtr’s data shape
- item counts and backup metadata are shown when available
- version mismatches produce warnings instead of silent failure
If validation fails, restore is blocked and your current data stays unchanged.
What Restore Does Not Do
- It does not merge the backup with your current local data
- It does not restore only one task or one project
- It does not overwrite remote sync services by itself until your next sync cycle
If you use sync, think of restore as replacing the current local state first. Sync behavior after that depends on your backend and which device syncs next.
Tips
- Keep periodic manual exports in addition to sync
- Restore only from backups you trust
- If you are using file sync, wait for the correct
data.jsonto finish replicating before syncing another device
See also Data and Sync.