In this tutorial, we will show you how to install and configuration of phpMyBackupPro on your CentOS 7 server. For those of you who didn’t know, phpMyBackupPro is a great and helpful web-based application for backing up MySQL databases. With this free and PHP-based application, you can create a backup of your database with just a few clicks. You can also schedule your backups, manage, download, restore the backups, and a lot of more. It supports three compression levels of backups (No compression, zip or gzip compression). It also supports two alternative security login methods, HTTP or HTML authentication.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation phpMyBackupPro on a CentOS 7 server.
Install phpMyBackupPro on CentOS 7
Step 1. First, let’s start by ensuring your system is up-to-date.
yum -y update
Step 2. Install LAMP server.
A CentOS 7 LAMP server is required. If you do not have LAMP installed, you can follow our guide here.
Step 3. Installing phpMyBackupPro.
The first thing to do is to go to phpMyBackupPro’s download page and download the latest stable version of phpMyBackupPro, At the moment of writing this article it is version 2.5:
wget http://nchc.dl.sourceforge.net/project/phpmybackup/phpMyBackupPro/phpMyBackupPro 2.5/phpMyBackupPro-2.5.zip
Unpack the phpMyBackupPro archive to the document root directory on your server:
unzip phpMyBackupPro-2.5.zip* -d /var/www/html/
Rename “phpMyBackupPro-2.5” to more usable name:
mv -f /var/www/html/phpMyBackupPro-2.5/ /var/www/html/phpmybackuppro/
We will need to change some folders permissions:
chown -R apache /var/www/html/phpmybackuppro/
Finally, restart the apache service for the changes to take effects:
systemctl restart httpd.service
Step 4. Accessing phpMyBackupPro.
Now you will be able to access phpMyBackupPro from your browser with URL http://ip-address/phpmybackuppro or http://domain-name/phpmybackuppro. Enter your MySQL details, such as MySQL username and password, FTP username and password, etc. and save the changes. After you save the changes, log out from phpMyBackupPro and log in back again using your MySQL username and password.
Congratulations! You have successfully installed phpMyBackupPro. Thanks for using this tutorial for installing phpMyBackupPro on CentOS 7 system. For additional help or useful information, we recommend you to check the official phpMyBackupPro website.