The default configuration for Pootle uses SQLite which is not really suited for production use. If you started using SQLite and want to migrate to another database system such as MySQL or PostgreSQL without recreating existing data, you can perform a database migration using the steps described on this page.
Note
A database migration is possible since Pootle 2.1.1 (or 2.0.6). This migration will only work with Django 1.2 or later.
Two management commands are needed:
$ pootle dumpdata -n > data.json
This saves all the content of the database as a JSON file:
$ pootle loaddata ./data.json
This reads all the data in the JSON file and creates the corresponding database records.
The steps to migrate between databases are as follows:
Note
Pootle 2.1 and 2.5 database can be very large. Dumping and loading data will take long and will require lots of RAM. If you have a 2.0 install it is better to migrate the database first and then upgrade to 2.5, since the 2.0 database is relatively small.