# Change DB Type

{% hint style="danger" %}
This is only available if you're running version 1.7.6 or newer.
{% endhint %}

To transfer data between different database types, you'll need to use `database-actions` addon, the same one that is used for 1.7.6 database format migration.

There are specific database pairs for moving data:

* SQLite > MySQL/MongoDB
* MySQL/MongoDB > SQLite&#x20;

To transfer data from one database type to other, you need to:

1. [Download addon from this page](/ticketsbot/installation-and-setup/database.md) and move folder from the zip into the `addons` folder (skip this if you already have addon installed)
2. Open `config.yml` from that addon folder and put your ID into the `transfer_access` field and make sure that `startup_migrate` is set to `false`
3. Open your bot's console so you can see if any error occur during the transfer
4. Run the `/transfer [Database From] [Database To]` command.\
   1\. Make sure that your `database.type` config field is set to the same database type as the one you're moving data from, if 'Database From' is MongoDB then `database.type` should be `mongo` etc.
5. After transfer is done, stop the bot and remove the addon


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nidzo-docs.gitbook.io/ticketsbot/installation-and-setup/database/change-db-type.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
