Skip to content

Migrates the database from w0bm v1 (mariadb) to v2 (postgres)

Notifications You must be signed in to change notification settings

w0bm/mariadb-postgres-migration

Repository files navigation

mariadb-postgres-migration

Migrates the database from w0bm v1 (mariadb) to v2 (postgres)

Dependencies

Usage

  1. git clone --recurse-submodules git://github.com/w0bm/mariadb-postgres-migration.git
  2. In config.json
    • Enter the database credentials of both databases
    • As passwords can't be decrypted, set a placeholder that will be inserted into the new password column
    • Set a tag separator for the tag select query, must be something unique that isn't present in any other tag
  3. npm i && npm start

Possible Errors

  • stdout maxBuffer exceeded: increase tag_normalize_buffer in config.json (currently 1200KiB)

About

Migrates the database from w0bm v1 (mariadb) to v2 (postgres)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published