For freedom and solidarity online

How to restore a MySQL database

There are two ways to do the restoration of a MySQL database for the self-managed hosting account.

If the backup is stored in the HAG account

  1. Take note of the path of the backup file, eg. /backups/database.sql.gz
  2. Click on "Databases" in the "MySQL" section of the left-hand menu
  3. Click the "Restore" button for the database which you would like to restore
  4. In the screen that follows, enter the path of the backup file noted earlier and lick on "Restore my database"
  5. Once finished, the screen will show you a message that is it done

Note: It is possible to click "Restore" next to ".sql" and ".sql.gz" files in the File Browser and choose the database from a quick dropdown as a shortcode.

If the backup is stored on your computer

  1. Click on "PHPMyAdmin" in the "MySQL" section of the left-hand menu
  2. Click on the "Import" tab in the new window/tab which opened
  3. Choose the sql file to import by clicking on the button next to "Browse your computer"
  4. Click on "Go" to launch the importation

Note: There's maximum size for the files which may be uploaded. If your backup is larger than that, it is possible to upload to your account via FTP and then follow the first import procedure.

Call us

☏ +1 514 907 9494
Lun: 10h à 12h et 13h à 16h
Mar: 10h à 12h
Mer: 10h à 12h et 13h à 16h
Jeu: 10h à 12h
Mon: 10am to 12pm and 1pm to 4pm
Tue: 10am to 12pm
Wed: 10am to 12pm and 1pm to 4pm
Thu: 10am to 12pm

Come and See Us!

1883, rue Atateken,
Montréal (Québec) H2L 3L7, Canada
Veuillez noter que nos bureaux n'ont pas de stationnement attitré.
1883 Atateken Street,
Montreal, Quebec, H2L 3L7, Canada
Please note that you'll need to find on-street parking.

Write to Us

Informations générales

Support technique

Pour une demande de devis, voir le formulaire à la page contact.

Nos clefs PGP

Politique de confidentialité

General inquiries

Technical support

For a free estimate, see the form on our contact page.

Our PGP keys

Privacy Policy

Follow Us