Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
1. Download the files from http://edelivery.oracle.com. You need to have an account to download one.
2. Transfer it to the server using SCP or WinSCP if you are using windows or any other type of file transfer client.
3. SSH to your server and login as root.
4. Unzip the file to your preferred location. I recommend to use the default location the MEB is using at /opt/mysql/ directory.
5. Edit ~/.bashrc and add below lines
export PATH=/opt/mysql/meb-3.7:$PATH
And your done with the installation. Next is to create a backup user to your MySQL database and grants the required permissions.
Login to your mysql database and execute below. You can also save this to a .sql file and source it from your mysql.
GRANT RELOAD ON *.* TO dba@localhost;
GRANT CREATE, INSERT, DROP ON mysql.ibbackup_binlog_marker TO dba@localhost;
GRANT CREATE, INSERT, DROP ON mysql.backup_progress TO dba@localhost;
GRANT CREATE, INSERT, DROP ON mysql.backup_history TO dba@localhost;
GRANT REPLICATION CLIENT ON *.* TO dba@localhost;
GRANT SUPER ON *.* TO dba@localhost;
GRANT CREATE TEMPORARY TABLES ON mysql.* TO dba@localhost;
FLUSH PRIVILEGES;
Now, try to execute mysqlbackup from the shell to see if mysqlbackup command is already in effect.
To effectively use this command, you will need to create scripts and add to your cron jobs and schedule your backup to your desired date and time.
Image may be NSFW.
Clik here to view.
Image may be NSFW.Clik here to view.

Clik here to view.

PlanetMySQL Voting: Vote UP / Vote DOWN