Data migration between different databases
| Chapter 8. Data management |

## Data migration between different databases

By backing up the database, QuickBuild actually saves contents of the database into a portable XML file, which can be restored to a different database. In this way you are able to migrate data between different databases. For instance, if you want to migrate data from HSQLDB (the default database used by QuickBuild) to MySQL, the following steps can be performed:

1. Bring up QuickBuild and backup database to an XML file, say `data.xml`.

2. Shutdown QuickBuild, and edit `<QuickBuild installation directory>/config.properties` to connect to MySQL.

3. Bring up QuickBuild again, and restore database from `data.xml`.

Chapter 8. Data management |  | Migrate data from QuickBuild PREVIEW2 and PREVIEW3