# Migrate current database

### Select Migrate current database in the Activate package section

From the Web portal, select "**Packages and Licenses**" under the **Maintenance** section.

![](/files/HdWFCkuLcUj9q2Yv7rQr)<br>

### Select Migrate current database in the Activate package section

<figure><img src="https://docs.telcobridges.com/w/images/e/eb/Migrate_current_database.png" alt=""><figcaption></figcaption></figure>

<br>

### Migrate current database clarification

* When upgrading to the next major software version, and this next major software version had not been upgraded before (for example, 2.7.148 -> 2.8.132, and 2.8.132 had not been upgraded for this system before), it does not matter to check on this Migrate current database checkbox or not. It it recommended to check and enable it for simplicity.
* If from above example, 2.8.132 had been upgraded before for this system, and some reason user had downgraded again to current lower major software 2.7.148, then user will have the choice when doing a major upgrade again whether to discard or keep the change made in 2.7.148 (while in 2.7.148 after downgraded from 2.8.132), and say, to 2.8.132 (as example from above, can be other higher versions) with previous database of 2.7.148 that containing the previous configuration after completing upgrade to 2.8.132. Since discarding any change while in one software version is uncommon, it is recommended to check on this Migrate current database checkbox to migrate/clone the current database to next major softwar version keeping the change made in current software version. If Migrate current database is not checked, then a fresh database in 2.8.132 will be built.
* For downgrade, same concept as upgrade above that database will be cloned back to lower version database. But since, higher database structure may be different from lower version database structure perhaps with more fields, then when checked and downgrade, some data may be lost. So, when doing downgrade, it is recommended not to check this Migrate current database.
* Note that when doing a major upgrade, the current database of current software version will be backup/untouched, in case when there is a need to fall back to this current version at original stage.

<br>

### Migrate current database diagrams illustration

#### No change at A at original software version 2.8, Migrate current database is not relevant (check for simplicity)

<figure><img src="https://docs.telcobridges.com/w/images/thumb/f/f9/Mirgate_current_database_-_no_change_at_A.png/400px-Mirgate_current_database_-_no_change_at_A.png" alt=""><figcaption></figcaption></figure>

<br>

#### A changed to B at original software version 2.8, different Migrate current database scenarios

<figure><img src="https://docs.telcobridges.com/w/images/thumb/d/d2/Mirgate_current_database_-_A_changed_to_B.png/900px-Mirgate_current_database_-_A_changed_to_B.png" alt=""><figcaption></figcaption></figure>

<br>

#### Changed to B at upgraded software version 2.9, no Migrate current database checked

<figure><img src="https://docs.telcobridges.com/w/images/thumb/f/f6/Mirgate_current_database_-_change_to_B_at_upgrade.png/700px-Mirgate_current_database_-_change_to_B_at_upgrade.png" alt=""><figcaption></figcaption></figure>

<br>

### Useful Links

[Database backup](https://docs.prosbc.com/configuration-details/configuration-by-web-portal-category/system-settings/database-backup)<br>


---

# 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://prosbcdocs.telcobridges.com/maintenance-and-troubleshooting/system-upgrade/activating-a-software-release/migrate-current-database.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.
