Creating or restore a MySQL Database backup on a remote server
Creating or restore a MySQL Database backup on a remote server
When you use the Network version of Helium Music Manager, you can choose to have your database stored on a separate server to reduce the workload on your local machine.
Databases stored on external servers cannot be backed up with Helium Music Manager’s backup tool, mainly because of various permissions and related things.
To create a backup of your database stored on your server, you will need to use the functions in MySQL Administrator or the new tool MySQL Workbench.
Follow these steps to create a backup using MySQL Administrator:
- On your server machine, start MySQL Administrator
- Check that the Server Host is set to "localhost", the port number is correct (default is 3306) and that the Username and Password are entered.
- Click the OK button to connect to the MySQL Server.
- Select the Backup tab in the left sidebar.
- If this is the first time you have used MySQL Administrator to backup Helium Music Manager’s database, you will need to set-up a backup project as follows:
- Click New Project.
- Enter a Project Name e.g "HMM Backup"
- Select Helium Music Manager's database from the list of databases on the left and click the > arrow to move it to the Backup Content pane
- All tables should be selected (they are by default)
- Click Save Project to save the backup definition which is now listed on under Backup Projects on the left hand side.
- The Backup definition is now complete and is only required for the first time. You are now ready to do the actual backup.
- Select the Helium Music Manager backup project listed under Backup Projects on the left hand side
- Click Execute Backup Now.
- A Save As dialogue is shown. Select the location for the backup and alter the file name if required and click Save.
- The backup will now proceed and then display a completion message. Click OK.
- The backup is now complete.
Follow these steps to restore a database using MySQL Administrator:
- On your server machine, start MySQL Administrator
- Check that the Server Host is set to "localhost", the port number is correct (default is 3306) and that the Username and Password are entered.
- Click the OK button to connect to the MySQL Server.
- Select the Restore tab in the left sidebar.
- Click Open Backup File and select the backup file previously created. Then click Open.
- Click Another Schema radio button under Target Schema and either:
- Select the database you wish to restore or alternatively
- Enter a new database name and click Create database(s) if they don't exist.
- Click Start Restore and the database will be restored.
Follow these steps to create a backup using MySQL Workbench
- On your server machine, start MySQL Workbench
- In the rightmost column, Server administration, click Manage Import/Export
- In the dialog that’s shown, select your Local MySQL instance and click OK
- In the left-bar, click Data Export and Restore
- In the group-box, Select Database Objects to Export, select your database in the leftmost list and checkmark the export checkbox
- Ensure that all tables in the right list are selected (they should be by default)
- In the group-box, Options, select Export to Self-Contained File
- Click the Start Export button
Follow these steps to restore a database using MySQL Workbench
- On your server machine, start MySQL Workbench
- In the rightmost column, Server administration, click Manage Import/Export
- In the dialog that’s shown, select your Local MySQL instance and click OK
- In the left-bar, click Data Export and Restore
- Select the Import from Disk tab
- In the Options group-box, select Import from Self-Contained file
- Click the (...) button and browse to your dump file (created in the backup process)
- Click the Start Import button to start the restore process