Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely available here: Database transfer.

Database transfer: Difference between revisions

From MoodleDocs
(i've removed the new feature in 2.3 flag, because its been there since 2.0, in various states.)
(added some additional basic details)
Line 2: Line 2:
The database transfer tool in Moodle 2.3.2 onwards enables an administrator to migrate their Moodle site from one database to another, for example from MySQL to Postgres.  
The database transfer tool in Moodle 2.3.2 onwards enables an administrator to migrate their Moodle site from one database to another, for example from MySQL to Postgres.  


The tool is currently classed as an experimental feature and may be found in ''Settings > Site administration > Development > Experimental > Database migration''.
The tool is currently classed as an experimental feature and may be found in ''Settings > Site administration > Development > Experimental > Database migration''. There is also a command line script in 'admin/tool/dbtransfer/cli/migrate.php'.
 
The dbtransfer tool uses the XMLDB schema definitions  from Moodle and installed plugins to retrieve the data from one database and transfer it another.
 


==See also==
==See also==
Line 11: Line 14:
* [http://moodle.org/mod/forum/discuss.php?d=207413 Moving Moodle from Oracle to PostgreSQL (dbtransfer tool)]
* [http://moodle.org/mod/forum/discuss.php?d=207413 Moving Moodle from Oracle to PostgreSQL (dbtransfer tool)]
* [http://moodle.org/mod/forum/discuss.php?d=206759 Where did dbtransfer.php go?]
* [http://moodle.org/mod/forum/discuss.php?d=206759 Where did dbtransfer.php go?]
* [http://moodle.org/mod/forum/discuss.php?d=207413 Moving Moodle from Oracle to PostgreSQL (dbtransfer tool)]


{{stub}}
{{stub}}

Revision as of 07:25, 31 July 2012

The database transfer tool in Moodle 2.3.2 onwards enables an administrator to migrate their Moodle site from one database to another, for example from MySQL to Postgres.

The tool is currently classed as an experimental feature and may be found in Settings > Site administration > Development > Experimental > Database migration. There is also a command line script in 'admin/tool/dbtransfer/cli/migrate.php'.

The dbtransfer tool uses the XMLDB schema definitions from Moodle and installed plugins to retrieve the data from one database and transfer it another.


See also

  • MDL-34441 finish dbtransfer tool implementation

Using Moodle forum discussions: