Magnetico database migrator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Alexey Skobkin c0329f8727
Updating magneticod-postgresql fork.
3 years ago
old Fixing stupid memory leak caused by excessive pointer dereference. 3 years ago
.gitignore Unfinished migrator draft. 3 years ago
.gitlab-ci.yml Building slim binaries. Removing arch from binary name (amd64 only). Adding automatic release draft. 3 years ago
Dockerfile Adding Dockerfile. 3 years ago
LICENSE Add LICENSE 3 years ago
README.md Small fix in README.md. 3 years ago
go.mod Updating magneticod-postgresql fork. 3 years ago
go.sum Updating magneticod-postgresql fork. 3 years ago
magnetico-migrator.go Crashing on chunk retrieval fail. 3 years ago

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