Changes between Version 13 and Version 14 of TracMigratePlugin
- Timestamp:
- Nov 11, 2015, 12:09:00 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracMigratePlugin
v13 v14 13 13 14 14 If you have any issues, create a 15 [ http://trac-hacks.org/newticket?component=TracMigratePlugin&owner=jun66j5new ticket].15 [/newticket?component=TracMigratePlugin new ticket]. 16 16 17 17 [[TicketQuery(component=TracMigratePlugin&group=type,format=progress)]] … … 19 19 == Download 20 20 21 Download the zipped source from [ download:tracmigrateplugin here].21 Download the zipped source from [export:tracmigrateplugin here]. 22 22 23 23 == Source 24 24 25 You can check out TracMigratePlugin from [ http://trac-hacks.org/svn/tracmigrateplugin here] using Subversion, or [source:tracmigrateplugin browse the source] with Trac.25 You can check out TracMigratePlugin from [/svn/tracmigrateplugin here] using Subversion, or [source:tracmigrateplugin browse the source] with Trac. 26 26 27 27 == Usage without installation 28 28 29 29 1. Checkout or export latest source: 30 {{{#!sh30 {{{#!sh 31 31 svn co http://trac-hacks.org/svn/tracmigrateplugin/0.12 /path/to/tracmigrateplugin 32 32 }}} 33 2. If the new environment uses PostgreSQL or MySQL, create database for this new environment. See:[t:DatabaseBackend#BackendSpecificInstallationInstructions].33 2. If the new environment uses PostgreSQL or MySQL, create a database for this new environment. See [t:DatabaseBackend#BackendSpecificInstallationInstructions]. 34 34 3. Run `trac-migrate.py`: 35 {{{#!sh35 {{{#!sh 36 36 cd /path/to/tracmigrateplugin 37 37 ./trac-migrate.py /path/to/source /path/to/destination mysql://tracuser:password@localhost/trac 38 38 }}} 39 39 This would result in: 40 {{{#!sh40 {{{#!sh 41 41 Copying tables: 42 42 attachment table... 10 records. … … 49 49 50 50 1. Install the plugin for Trac 0.12 or later: 51 {{{#!sh51 {{{#!sh 52 52 easy_install http://trac-hacks.org/svn/tracmigrateplugin/0.12 53 53 }}} 54 2. Enable the plugin in `trac.ini`of your source environment:55 {{{#!ini54 2. Enable the plugin in the `trac.ini` file of your source environment: 55 {{{#!ini 56 56 [components] 57 57 tracmigrate.* = enabled … … 84 84 === Migration to a new environment 85 85 86 The syntax for migrating to a new environment would beas follows:86 The syntax for migrating to a new environment is as follows: 87 87 88 88 {{{#!sh … … 117 117 === Migration to a new database without creating a new environment 118 118 119 The syntax for migrating to a new database without creating a new environment would beas follows:119 The syntax for migrating to a new database without creating a new environment is as follows: 120 120 121 121 {{{#!sh