magnetico-go-migrator

command module
v0.0.0-...-c0329f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2019 License: MIT Imports: 9 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL