Changes between Version 10 and Version 11 of TracMigratePlugin


Ignore:
Timestamp:
Mar 13, 2015, 9:08:59 AM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • TracMigratePlugin

    v10 v11  
    11[[PageOutline(2-2,Contents,pullout)]]
    22
    3 = Migrate to new environment with another database =
     3= Migrate to new environment with another database
    44
    5 == Description ==
     5== Description
    66
    7 The plugin provides `trac-migrate.py` script and `migrate` command of `trac-admin` which migrates to new environment with another database.
     7The plugin provides `trac-migrate.py` script and `migrate` command of `trac-admin` which migrates to a new Trac environment with another database.
    88
    9 == Bugs/Feature Requests ==
     9== Bugs/Feature Requests
    1010
    1111Existing bugs and feature requests for TracMigratePlugin are
     
    1515[http://trac-hacks.org/newticket?component=TracMigratePlugin&owner=jun66j5 new ticket].
    1616
    17 == Download ==
     17[[TicketQuery(component=TracMigratePlugin&group=type,format=progress)]]
     18
     19== Download
    1820
    1921Download the zipped source from [download:tracmigrateplugin here].
    2022
    21 == Source ==
     23== Source
    2224
    2325You can check out TracMigratePlugin from [http://trac-hacks.org/svn/tracmigrateplugin here] using Subversion, or [source:tracmigrateplugin browse the source] with Trac.
    2426
    25 == Usage without installation ==
     27== Usage without installation
    2628
    2729 1. Checkout or export latest source.
     
    3234 3. Run `trac-migrate.py`.
    3335{{{#!sh
    34 $ cd /path/to/tracmigrateplugin
    35 $ ./trac-migrate.py /path/to/source /path/to/destination mysql://tracuser:password@localhost/trac
     36cd /path/to/tracmigrateplugin
     37./trac-migrate.py /path/to/source /path/to/destination mysql://tracuser:password@localhost/trac
    3638Copying tables:
    3739  attachment table... 10 records.
     
    4143}}}
    4244
    43 == Install ==
     45== Installation
    4446
    4547 1. Install the plugin for Trac 0.12 or later.
     
    5355}}}
    5456
    55 == Example ==
     57== Example
     58
    5659=== Usage
     60
    5761{{{#!sh
    5862$ ./trac-migrate.py
     
    7478
    7579}}}
     80
    7681=== Migration to a new environment
     82
    7783{{{#!sh
    7884$ ./trac-migrate.py /path/to/source-tracenv /path/to/destination-tracenv postgres://tracuser:password@localhost/trac?schema=destination
     
    102108  plugins directory... done.
    103109}}}
     110
    104111=== Migration to a new database without creating a new environment
     112
    105113{{{#!sh
    106114$ ./trac-migrate.py --in-place /path/to/tracenv postgres://trac:password@localhost/trac?schema=new_schema
     
    130138}}}
    131139
    132 == Tickets ==
    133 
    134 [[TicketQuery(component=TracMigratePlugin,format=progress)]]
    135 
    136 == Recent Changes ==
     140== Recent Changes
    137141
    138142[[ChangeLog(tracmigrateplugin, 3)]]
    139143
    140 == Author/Contributors ==
     144== Author/Contributors
    141145
    142146'''Author:''' [wiki:jun66j5] [[BR]]
    143 '''Maintainer:''' [wiki:jun66j5] [[BR]]
     147'''Maintainer:''' [[Maintainer]] [[BR]]
    144148'''Contributors:'''