Configure MySQL Backup
Overview
Mysql server Backup is configured like any files and folders backup from the "Add Backup Schedule" page. All you have to do is to choose the databases under "mysql" entry in the tree and configure the backup.
This section explains how to configure the MySQL Backup from the "Add Backup Schedule" page(For Windows).
MySQL Backup [For Linux, FreeBSD]
To backup the MySQL databases, you need to install GigaVaultStorage with root privileges in your Linux, FreeBSD system and you should know the user name and password for MySQL. By default, GigaVaultStorage checks for 'mysql' under '/var/lib' folder in the system during the installation process.
Please note that you need to install GigaVaultStorage as root user (Option 1 during the installation) to list the mysql databases for backup in the 'Backup -> Add Backup Schedule' page.
If you have installed GigaVaultStorage with root user privilege [choosing Option 1 during the installation] and if you have installed MySQL in your machine, then 'mysql' and the databases will be listed in the tree in Step 2 in 'Backup -> Add Backup Schedule' page. Then, you can configure these folders for backing up the MySQL databases.
If the MySQL Server application is installed in a Linux, FreeBSD system, then GigaVaultStorage will automatically detect and list the 'mysql' folder in Step 2 in the 'Backups -> Add Backup Schedule' page (similar to 'System State', 'Registry'). You can select the mysql tree to backup the mysql databases to your Backup Server.
Please note that you have to provide mysql database username and password for the mysql backup to successfully dump the database data.
MySQL Backup [For Windows]
GigaVaultStorage can be configured to backup the MySQL Database(s) available in the local machine. GigaVaultStorage uses the internal MySQLDump utility (mysqldump.exe) to backup MySQL Database(s) and it uses the MySQL Exe (mysql.exe) to list the database names in the files/folders tree in the "Add Backup Schedule" page.
In Windows, before a MySQL backup can be configured in GigaVaultStorage, you should configure the MySQL settings through "Administration->Advanced Options" and click on the "MySQL Settings" icon in the left hand side. Without correct values for MySQL settings, GigaVaultStorage will not be able to list the databases to be configured for backups in "Add Backup Schedule" page.
If "mysql" entry is not shown in the "Add Backup Schedule" tree listing, read the MySQL Settings[For Windows] help for more details.
Troubleshooting Tips
Limitations
- Databases listed in the "Add Backup Schedule" page(For Windows) will be for the the last saved MySQL Server instance port in the MySQL Settings.
- MySQL Settings edited/modified will not affect the mysql database backup schedules configured previously and changes will take effect only for the new mysql database backup schedules created.
- Backup Report/View Backup/Edit Backup UI pages does not provide the details like MySQL Server name, port etc.
|