Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Export a database
This guide explains how to backup or export a MySQL/MariaDB database via the Infomaniak Manager or via SSH.
Export a database via the Manager
To export an Infomaniak database:
- Click here to access your site management on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site concerned:

- Click on the chevron to the right of Databases in the left sidebar menu.
- Click on Databases in the left sidebar menu.
- Click on the action menu ⋮ to the right of the object concerned in the table that appears.
- Click on Export (or on Download a backup):

- Click on the export method and choose the database to download from the dropdown menu.
- Click on the Next button:

- Click on any desired instructions:
- Compression
Gzip Drop TableCreate Table if not existsInsert ignore into
- Compression
- Click on the Export button.
Export a database via SSH
If you cannot export the database via the console or if the database is large:
- If necessary, create an FTP SSH account.
- Connect to the server via SSH (need help?).
Customize and run the following SSH command:
# Usage: mysqldump --host=[hostname] -u [username] --password=[password] [database_name] --no-tablespaces > [output_file.sql] mysqldump --host=db_host -u db_user --password=db_password db_name --no-tablespaces > backup.sql- Wait for the SSH command to run (the terminal may freeze for a few seconds).
- Connect to the server via an FTP software/client.
- Download the generated SQL file.
Additional help
Example of command to execute at step 3 of the second procedure:
# Example with standard credentials mysqldump --host=abcd.xyz.infomaniak.com -u abcd_test --password=your_secret_password abcd_test --no-tablespaces > backup.sql- Refer to this other guide if you are looking for information related to the MySQL server, database username and password.
Link to this FAQ:
Has this FAQ been helpful?