Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Exporting a database
This guide explains how to back up or export a MySQL/MariaDB database via the Infomaniak Manager or through SSH.
Exporting a Database via the Manager
To export an Infomaniak database:
- Log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Firefox
- Click on the icon at the top right of the interface (or navigate through the left side menu, for example)
- Choose Hosting (universe Web & Domain)
- Click directly on the name of the relevant object in the displayed table
- Click on Databases in the left side menu
- Click on the action menu â‹® on the right of the relevant object in the displayed table
- Click on Export (the default options are suitable for most situations)
Exporting a Database via SSH
If you are unable to export the database via the console or if the database is large:
- If necessary, create an SSH FTP account (learn more)
- Connect to the hosting server via SSH (learn more)
- Adapt and execute the following SSH command: mysqldump --host=your_mysql_server -u your_mysql_user --password=your_mysql_user_password database_name --no-tablespaces > backup.sql
- Wait for the SSH command to execute (the terminal may freeze for a few seconds)
- Connect to the server via FTP software (learn more)
- Download the generated SQL file
Additional Help
- Example command to be executed in step 3 of the second procedure: mysqldump --host=fhzc.myd.infomaniak.com -u lfcz_test --password=mypassword lfcz_test --no-tablespaces > backup.sql
- Get information related to the MySQL server, username, and database password
Link to this FAQ: