[[PageOutline(2-5,Contents,pullout)]] = Migrate to new environment and another database = == Description == The plugin provides `migrate` command which migrates to new environment and another database for `trac-admin`. == Bugs/Feature Requests == Existing bugs and feature requests for TracMigratePlugin are [report:9?COMPONENT=TracMigratePlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracMigratePlugin&owner=jun66j5 new ticket]. == Download == Download the zipped source from [download:tracmigrateplugin here]. == Source == You can check out TracMigratePlugin from [http://trac-hacks.org/svn/tracmigrateplugin here] using Subversion, or [source:tracmigrateplugin browse the source] with Trac. == Install == 1. Install the plugin for Trac 0.12 or later. {{{ #!sh easy_install http://trac-hacks.org/svn/tracmigrateplugin/0.12 }}} 2. Enable the plugin in trac.ini {{{ #!ini [components] tracmigrate.* = enabled }}} == Example == {{{ #!sh $ trac-admin /var/trac/blah-sqlite migrate /var/trac/blah-psql postgres://tracuser:password@localhost/trac?schema=blah Copying tables: attachment table... 10 records. auth_cookie table... 9 records. cache table... 11 records. component table... 5 records. enum table... 13 records. milestone table... 7 records. node_change table... 37 records. permission table... 17 records. report table... 11 records. repository table... 5 records. revision table... 35 records. session table... 2 records. session_attribute table... 19 records. ticket table... 35 records. ticket_change table... 110 records. ticket_custom table... 375 records. version table... 2 records. wiki table... 93 records. Copying directories: attachments directory... done. htdocs directory... done. templates directory... done. plugins directory... done. }}} == Recent Changes == [[ChangeLog(tracmigrateplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:jun66j5] [[BR]] '''Maintainer:''' [wiki:jun66j5] [[BR]] '''Contributors:'''