How to export seed from Emdash instance deployed on Cloudflare? #1725
Answered
by
marcusbellamyshaw-cell
segmentationfaulter
asked this question in
Q&A
|
Is it possible to export seed file from instance of Emdash deployed at Cloudflare using D1 as database? If yes, how? |
Answered by
marcusbellamyshaw-cell
Jul 6, 2026
Replies: 1 comment 2 replies
|
Two workarounds:
Might be worth filing a feature request for direct D1 support in |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@segmentationfaulter that error is a known upstream Cloudflare limitation, not an emdash bug: cloudflare/workers-sdk#6305 and #9519 (both still open).
wrangler d1 export --remoterefuses to export the whole database if it contains any fts5 virtual table. Root cause: SQLite's native.dumpof an fts5 table needsPRAGMA writable_schema=ONto write the shadow-table rows directly intosqlite_schema, and D1 doesn't support that pragma — so it bails on the entire export rather than skipping just the fts5 table. The--tablefilter doesn't help either; that check runs server-side against the whole DB before any table filtering is applied.Good news: emdash's fts5 tables are fully derived and safe …