https://github.com/avanov/redmine_migrator
Migrate Redmine data from SQLite to Postgres with consistent type conversion.
https://github.com/avanov/redmine_migrator
Last synced: 4 months ago
JSON representation
Migrate Redmine data from SQLite to Postgres with consistent type conversion.
- Host: GitHub
- URL: https://github.com/avanov/redmine_migrator
- Owner: avanov
- License: other
- Created: 2013-05-14T06:10:20.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-10T10:23:54.000Z (almost 13 years ago)
- Last Synced: 2025-09-08T18:52:47.492Z (9 months ago)
- Language: Python
- Homepage: https://redmine-migrator.readthedocs.org/en/latest/
- Size: 156 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
redmine_migrator
================
.. image:: https://travis-ci.org/avanov/redmine_migrator.png
Migrate Redmine data from SQLite to Postgres with consistent type conversion.
Installation
------------
.. code-block:: bash
$ pip install redmine_migrator
Development version
-------------------
.. code-block:: bash
$ 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
--------------
.. code-block:: bash
$ python setup.py nosetests
Usage
--------------
.. code-block:: bash
$ 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
.. code-block:: bash
$ redmine_migrator sqlite:////path/to/sqlite_redmine.db postgresql+psycopg2://user:password@:port/dbname?host=/var/run/postgresql