> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/other-pages/operations/manual-database-backup.md).

# Manual Database Backup

To backup the MySQL database, use the following commands (example is for major version 3.1):

```
mysqldump -u tbdb -ptbdbpw --opt toolpack_3_1 > toolpack_3_1_bk.sql
```

Then, you need to save the "toolpack\_3\_1\_bk.sql" file in a safe place.

You can recover the database this way:

```
mysql -u tbdb -ptbdbpw toolpack_3_1 < toolpack_3_1_bk.sql
```

This procedure can also be used to make copies of similar configurations from one Toolpack system to another. The Serial Number of the Tmedia used must be updated after the new database is in place using the Migration tab. If the tab is not present, you can do it manually (contact support)

For scheduled backups, see [Scheduled Database Backup](/tmedia-documentation/other-pages/operations/scheduled-database-backup.md)

Here are other useful mysql commands:

```
mysql –u tbdb –p tbdbpw
use toolpack_3_1;
show tables;
SELECT * from system_infos;
SELECT * from mysql.user;
```

To work with the MySQL service on CentOS 5:

```
service mysqld stop
service mysqld start
ps -ef | grep mysqld
```

To work with the MySQL service on CentOS 7 or Telcobridges linux:

Enable and start MariaDB systemctl enable mariadb systemctl start mariadb


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/other-pages/operations/manual-database-backup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
