Changes between Version 10 and Version 11 of TracMigratePlugin
- Timestamp:
- Mar 13, 2015, 9:08:59 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracMigratePlugin
v10 v11 1 1 [[PageOutline(2-2,Contents,pullout)]] 2 2 3 = Migrate to new environment with another database =3 = Migrate to new environment with another database 4 4 5 == Description ==5 == Description 6 6 7 The plugin provides `trac-migrate.py` script and `migrate` command of `trac-admin` which migrates to newenvironment with another database.7 The plugin provides `trac-migrate.py` script and `migrate` command of `trac-admin` which migrates to a new Trac environment with another database. 8 8 9 == Bugs/Feature Requests ==9 == Bugs/Feature Requests 10 10 11 11 Existing bugs and feature requests for TracMigratePlugin are … … 15 15 [http://trac-hacks.org/newticket?component=TracMigratePlugin&owner=jun66j5 new ticket]. 16 16 17 == Download == 17 [[TicketQuery(component=TracMigratePlugin&group=type,format=progress)]] 18 19 == Download 18 20 19 21 Download the zipped source from [download:tracmigrateplugin here]. 20 22 21 == Source ==23 == Source 22 24 23 25 You can check out TracMigratePlugin from [http://trac-hacks.org/svn/tracmigrateplugin here] using Subversion, or [source:tracmigrateplugin browse the source] with Trac. 24 26 25 == Usage without installation ==27 == Usage without installation 26 28 27 29 1. Checkout or export latest source. … … 32 34 3. Run `trac-migrate.py`. 33 35 {{{#!sh 34 $cd /path/to/tracmigrateplugin35 $./trac-migrate.py /path/to/source /path/to/destination mysql://tracuser:password@localhost/trac36 cd /path/to/tracmigrateplugin 37 ./trac-migrate.py /path/to/source /path/to/destination mysql://tracuser:password@localhost/trac 36 38 Copying tables: 37 39 attachment table... 10 records. … … 41 43 }}} 42 44 43 == Install ==45 == Installation 44 46 45 47 1. Install the plugin for Trac 0.12 or later. … … 53 55 }}} 54 56 55 == Example == 57 == Example 58 56 59 === Usage 60 57 61 {{{#!sh 58 62 $ ./trac-migrate.py … … 74 78 75 79 }}} 80 76 81 === Migration to a new environment 82 77 83 {{{#!sh 78 84 $ ./trac-migrate.py /path/to/source-tracenv /path/to/destination-tracenv postgres://tracuser:password@localhost/trac?schema=destination … … 102 108 plugins directory... done. 103 109 }}} 110 104 111 === Migration to a new database without creating a new environment 112 105 113 {{{#!sh 106 114 $ ./trac-migrate.py --in-place /path/to/tracenv postgres://trac:password@localhost/trac?schema=new_schema … … 130 138 }}} 131 139 132 == Tickets == 133 134 [[TicketQuery(component=TracMigratePlugin,format=progress)]] 135 136 == Recent Changes == 140 == Recent Changes 137 141 138 142 [[ChangeLog(tracmigrateplugin, 3)]] 139 143 140 == Author/Contributors ==144 == Author/Contributors 141 145 142 146 '''Author:''' [wiki:jun66j5] [[BR]] 143 '''Maintainer:''' [ wiki:jun66j5] [[BR]]147 '''Maintainer:''' [[Maintainer]] [[BR]] 144 148 '''Contributors:'''