Backups and troubleshooting
Back up and restore your notes, reconnect your phone or retry a post.
Back up the collection
To transfer just the posts, notes and evidence between installations, use collection export and import.
The collection volume holds your SQLite database and pairing information. Amarre also keeps provider keys and ChatGPT credentials there in separate private files. Downloaded model files live in the models volume.
These commands back up the database while Amarre is running and copy it to the host. Run them from the directory containing compose.yaml. The backup contains your private notes and device credentials. Store it somewhere you control.
docker compose exec -T amarre node --input-type=module -e "import { DatabaseSync, backup } from 'node:sqlite'; const db = new DatabaseSync('/data/collection.sqlite3', { readOnly: true }); await backup(db, '/tmp/amarre-backup.sqlite3'); db.close();"
docker compose cp amarre:/tmp/amarre-backup.sqlite3 ./amarre-backup.sqlite3 To restore on a new installation, stop the service and place the backup in the fresh collection volume as /data/collection.sqlite3. The container user (UID 10001) must own the database and have write access to the directory. Start the service again. Amarre recreates the pairing file from the restored database. If you restored only the database, reconnect any AI or transcription accounts you use in Summary settings.
Revoke a lost device
In a browser paired with the host code, open Field guide menu → Paired devices. Choose Revoke next to a lost browser or vault. Other devices keep their access. Vaults paired before individual device credentials share one entry. Pair the vaults you still use again before revoking that entry.
If the private inbox address was shared, choose Replace inbox address and update the shortcut on each phone. To replace the code for future pairings, choose Replace pairing code and read the new code from pairing_code on the host.
The phone cannot connect
Check that the phone is on your LAN or private VPN. In your browser, use the server’s LAN address and published port. On a phone, 127.0.0.1 points to the phone itself. If the server address or port changed, update the inbox address in your phone shortcut and the server address in Obsidian.
A post is still processing
If the post shows Needs attention, open it to see the reason. Choose Retry or add source text to try again or paste text Amarre couldn’t read. Check the media limits.
If you’re waiting for Qwen or Whisper, open Summary settings to check the download or start it. For a post that’s still in the queue, check the service log with docker compose logs -f amarre. If the server stops during processing, it picks up the post again on startup.
If Amarre says the collection is busy during a backup, retry after the backup releases its database lock. Amarre waits up to eight seconds for a locked database operation before returning HTTP 503 with a Retry-After header. The inbox worker keeps retrying pending writes.
For an unexpected failure, the service log records the affected operation and an error category. For example, Request /inbox/* (SQLite error 13) means the capture failed because SQLite ran out of disk space. The log omits the private inbox address and post content.