Skip to main content

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


Download files

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

Source Distribution

redmine_migrator-0.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distributions

redmine_migrator-0.3-py3.2.egg (7.5 kB view details)

Uploaded Source

redmine_migrator-0.3-py2.7.egg (7.4 kB view details)

Uploaded Source

File details

Details for the file redmine_migrator-0.3.tar.gz.

File metadata

File hashes

Hashes for redmine_migrator-0.3.tar.gz
Algorithm Hash digest
SHA256 32d1bfb3331728c33bd532df3f224e072c118c4769d43f73964c7a677c3755a3
MD5 f70a641d6548dc10eff564a147deea47
BLAKE2b-256 7c910c347c3d0a994162b759e61aeedb225f0f685b26575dc369b3a54c2279c2

See more details on using hashes here.

File details

Details for the file redmine_migrator-0.3-py3.2.egg.

File metadata

File hashes

Hashes for redmine_migrator-0.3-py3.2.egg
Algorithm Hash digest
SHA256 5fded547f94e13468924c58b811bb3ef5131339dbe281ce76a764f9d7fcf00e9
MD5 a5b6f1f18415d240be672f0955058690
BLAKE2b-256 69d0e44dcb44693c1356a25596411680eea2d920e3d1f33471cd0da76d9059d2

See more details on using hashes here.

File details

Details for the file redmine_migrator-0.3-py2.7.egg.

File metadata

File hashes

Hashes for redmine_migrator-0.3-py2.7.egg
Algorithm Hash digest
SHA256 081cbf27f8ff46b49c5f3cc30cd519b3ddf094e313de5c855083bf0dade18925
MD5 6b9b191362c15e27efe63587aa4e39f6
BLAKE2b-256 e016748f0f8653fb29877ffc221feb4e17239ead9d1ae11ce02569ea891402b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page