Skip to content

Migration and Backup Import

Jimmy Pautz edited this page Nov 20, 2026 · 1 revision

Migration & backup.koplugin Import

Already have books on your e-reader, in Calibre, or cloud credentials saved in backup.koplugin? Nimbus is designed to adopt existing setups without re-uploading duplicates or re-authenticating from scratch.


1-Tap backup.koplugin Credential Import (KOReader)

If you previously used backup.koplugin in KOReader, Nimbus automatically checks for its saved configuration files on startup:

  • settings/backup.lua
  • settings/backup_cloud_creds.lua
  • settings/backup_cloud_tokens.lua / settings/backup_cloud_oauth.lua

What Gets Imported

  • OAuth Tokens: Google Drive, OneDrive, and Dropbox tokens are copied into settings/nimbus/oauth.lua.
  • WebDAV Credentials: WebDAV URL, username, and password are copied into settings/nimbus/creds.lua.
  • Active Provider: If you haven't manually chosen a provider in Nimbus yet, Nimbus automatically selects your backup.koplugin active provider.

Note

Importing from backup.koplugin is non-destructive — your existing backup.koplugin settings and backups remain untouched.


Migrating an Existing Book Library

Because Nimbus identifies books by partial_md5 (matching KOReader's util.partialMD5 bit-for-bit) and sha256, you can onboard devices in any order without creating duplicate cloud entries:

Scenario A: Starting from Calibre

  1. Connect Calibre to your cloud provider (see Calibre Plugin).
  2. Select your books and run Push to Nimbus Cloud.
  3. On KOReader, connect to the same cloud provider and remote root (/Nimbus).
  4. If you already have those exact ebook files on your KOReader device (in your books directory or custom_books_dirs), Nimbus automatically links them via partial_md5 — no re-download required.

Scenario B: Starting from KOReader

  1. Connect KOReader to your cloud provider.
  2. Open the Nimbus Library → On Device tab.
  3. Upload the books you want synced to /Nimbus/Books/.
  4. Later, when you push the same files from Calibre or open the Web App, Nimbus matches them to the existing book_id via partial_md5.

Importing Historical Reading Statistics

If you have an existing KOReader statistics.sqlite3 database:

  1. Ensure sync_stats is enabled in Nimbus Settings (enabled by default).
  2. Run a manual Sync in Nimbus — your historical sessions are exported into monthly shards (_sync/devices/<device_slug>/sessions/YYYY-MM.json).
  3. They will immediately appear in the Web App (PWA) Stats dashboard and can be imported onto other KOReader devices that enable import_remote_stats.

Clone this wiki locally