Magnetico database migrator
Go to file
Alexey Skobkin c0329f8727
Updating magneticod-postgresql fork.
2019-10-20 16:17:47 +03:00
old Fixing stupid memory leak caused by excessive pointer dereference. 2019-10-19 04:07:24 +03:00
.gitignore Unfinished migrator draft. 2019-10-03 01:06:41 +03:00
.gitlab-ci.yml Building slim binaries. Removing arch from binary name (amd64 only). Adding automatic release draft. 2019-10-09 02:13:55 +03:00
Dockerfile Adding Dockerfile. 2019-10-20 02:08:38 +03:00
LICENSE Add LICENSE 2019-10-02 23:02:09 +00:00
README.md Small fix in README.md. 2019-10-19 00:15:49 +03:00
go.mod Updating magneticod-postgresql fork. 2019-10-20 16:17:47 +03:00
go.sum Updating magneticod-postgresql fork. 2019-10-20 16:17:47 +03:00
magnetico-migrator.go Crashing on chunk retrieval fail. 2019-10-19 04:17:01 +03:00

README.md

Magnetico database migrator

pipeline status

This simple utility will help you to migrate your data from legacy Python version of magneticod to the new Go version which uses new persistence layer.

Installation

TBW

Usage

Important notes:

  • --py-database syntax is similar but not the same. But if you'll use just sqlite3:// schema and path to the database you'll be ok.
  • --go-database you can use the same syntax as used in magneticod CLI interface.

Merging with magneticod-go's PostgreSQL

./magnetico-go-migrator --py-database=sqlite3:///path/to/old/database.sqlite3 --go-database=postgres://username:password@hostname/db_name?port=5432&sslmode=disable

Merging into magneticod-go's Beanstalk

./magnetico-go-migrator --py-database=sqlite3:///path/to/old/database.sqlite3 --go-database=beanstalk://127.0.0.1:11300/magneticod_tube