Tachiyomi/Mihon Migration Guide
Import your MangaDex library from Tachiyomi, Mihon, or Mihon forks directly into Komga.
| App |
Backup Format |
Extension |
| Tachiyomi (legacy) |
Protocol Buffer + gzip |
.proto.gz |
| Mihon |
TAR archive |
.tachibk |
| TachiyomiSY |
TAR archive |
.tachibk |
| TachiyomiJ2K |
TAR archive |
.tachibk |
| Yokai |
TAR archive |
.tachibk |
Creating a Backup
In Tachiyomi/Mihon
- Go to Settings > Data and storage
- Tap Create backup
- Save the backup file
- Transfer to your computer
Importing to Komga
Via Web UI
- Navigate to Settings > Tachiyomi Import
- Select your target library
- Upload your backup file
- Review extracted URLs
- Click Import
Via API
curl -X POST http://localhost:25600/api/v1/tachiyomi/import \
-F "file=@backup.tachibk" \
-F "libraryId=your-library-id"
Response:
{
"imported": 42,
"skipped": 5,
"errors": 0,
"urls": [
"https://mangadex.org/title/...",
"https://mangadex.org/title/..."
]
}
What Gets Imported
The importer extracts:
- MangaDex URLs from your library
- Filters for MangaDex source only (source ID:
2499283573021220255)
- Other sources are ignored
Import Process
- Parse backup - Decompress and read backup data
- Filter sources - Keep only MangaDex entries
- Extract URLs - Convert source IDs to MangaDex URLs
- Check duplicates - Skip URLs already in follow.txt
- Add to follow.txt - Append new URLs to library’s follow list
Post-Import
After importing:
- Check follow.txt - Verify URLs were added
- Trigger download check - Manually or wait for scheduler
- Monitor downloads - Watch progress in download queue
Duplicate Handling
The importer automatically:
- Checks existing follow.txt entries
- Checks chapter URL database
- Skips already-known URLs
- Reports skipped count in response
Limitations
- MangaDex only - Other sources (MangaPlus, etc.) are not imported
- No reading progress - Only manga URLs are imported, not chapter progress
- No categories - Tachiyomi categories are not preserved
Troubleshooting
- Verify file is a valid Tachiyomi/Mihon backup
- Check file extension matches format
- Try re-creating the backup
No URLs imported
- Verify you have MangaDex manga in your Tachiyomi library
- Check that MangaDex extension was installed in Tachiyomi
- Try a fresh backup
Some manga missing
- Manga from non-MangaDex sources are intentionally skipped
- Check if manga was added via a different source in Tachiyomi
Example Workflow
# 1. Import backup
curl -X POST http://localhost:25600/api/v1/tachiyomi/import \
-F "file=@mihon-backup.tachibk" \
-F "libraryId=abc123"
# 2. Check follow.txt was updated
cat /manga/follow.txt
# 3. Trigger immediate check
curl -X POST http://localhost:25600/api/v1/downloads/follow-check/abc123
# 4. Monitor downloads
curl http://localhost:25600/api/v1/downloads