Skip to content

Add MySQL to PostgreSQL migration guide - #1024

Merged
bcmmbaga merged 9 commits into
mainfrom
mysql-to-postgresql-migration
Oct 15, 2026
Merged

bcmmbaga merged 9 commits into
mainfrom
mysql-to-postgresql-migration

Conversation

@bcmmbaga

@bcmmbaga bcmmbaga commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Oct 15, 2026 11:50am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d5f1ec57-b019-4064-9ffe-a304a2cc963d
📥 Commits

Reviewing files that changed from the base of the PR and between 084ff24 and f7392c8.

📒 Files selected for processing: 6
  • next.config.mjs
  • src/components/NavigationDocs.jsx
  • src/pages/selfhosted/environment-variables.mdx
  • src/pages/selfhosted/maintenance/activity-mysql-store.mdx
  • src/pages/selfhosted/maintenance/configuration-files.mdx
  • src/pages/selfhosted/migration/mysql-to-postgresql.mdx
+--------------------------------------------------------------------------------------------------------------------------------+
| Some things are better done than described. Don't fall into the specification spiral - at some point you need to start coding. |
+--------------------------------------------------------------------------------------------------------------------------------+
  \
   \     /)/)
        ( '')
        /  |
      o(___)
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Entries keyed on the exact errors from netbird-mysql-migrate and the
combined server in v0.81.0-rc.2. 'target already holds data' and the
sslmode=require TLS refusal were reproduced end to end in a lab; the
other three are taken from tools/mysql-migrate and combined/cmd.
- target already holds data: the check is per store, which can have its
  own DSN, so name the store from the error instead of --postgres-dsn
- source lacks columns: match the tool's 'this release' and repeat the
  backup step, since restarting the server makes the backed-up
  events.db and idp.db stale
- TLS refusal: cover verify-full and split the hard-to-read sentence
- grammar and log location fixes
@bcmmbaga
bcmmbaga marked this pull request as ready for review October 15, 2026 14:27
@bcmmbaga
bcmmbaga merged commit 3dcebe7 into main Oct 15, 2026
5 of 6 checks passed
@bcmmbaga
bcmmbaga deleted the mysql-to-postgresql-migration branch October 15, 2026 14:27

This branch was successfully deployed

1 active deployment
Preview — f7392c8a Deployed Oct 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants