skip to navigation
skip to content

redmine_migrator 0.3

Migrate Redmine data from SQLite to Postgres with consistent type conversion.

Migrate Redmine data from SQLite to Postgres with consistent type conversion.

Installation

$ pip install redmine_migrator

Development version

$ virtualenv ~/venv/migrator
$ source ~/venv/migrator/bin/activate
$ git clone https://github.com/avanov/redmine_migrator.git ~/projects/migrator
$ cd ~/projects/migrator
$ python setup.py develop

Tests

$ python setup.py nosetests

Usage

$ redmine_migrator -h
usage: redmine_migrator [-h] [-v] sqlite_url postgres_url

Migrate Redmine data from SQLite to Postgres

positional arguments:
  sqlite_url     SQLite source URL
  postgres_url   Postgres target URL

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  increase output verbosity

Example

$ redmine_migrator sqlite:////path/to/sqlite_redmine.db postgresql+psycopg2://user:password@:port/dbname?host=/var/run/postgresql
 
File Type Py Version Uploaded on Size
redmine_migrator-0.3-py2.7.egg (md5) Python Egg 2.7 2013-08-10 7KB
redmine_migrator-0.3-py3.2.egg (md5) Python Egg 3.2 2013-08-10 7KB
redmine_migrator-0.3.tar.gz (md5) Source 2013-08-10 4KB