Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Project description

https://travis-ci.org/avanov/redmine_migrator.png

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

Project details


Release history Release notifications

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
redmine_migrator-0.3-py2.7.egg (7.4 kB) Copy SHA256 hash SHA256 Egg 2.7 Aug 10, 2013
redmine_migrator-0.3-py3.2.egg (7.5 kB) Copy SHA256 hash SHA256 Egg 3.2 Aug 10, 2013
redmine_migrator-0.3.tar.gz (5.0 kB) Copy SHA256 hash SHA256 Source None Aug 10, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page