{"id":13416,"date":"2019-04-02T02:13:28","date_gmt":"2019-04-02T02:13:28","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13416"},"modified":"2019-04-02T02:13:28","modified_gmt":"2019-04-02T02:13:28","slug":"phpmybackuppro-a-web-based-mysql-backup-tool-for-linux","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/02\/phpmybackuppro-a-web-based-mysql-backup-tool-for-linux\/","title":{"rendered":"phpMyBackupPro \u2013 A Web Based MySQL Backup Tool for Linux"},"content":{"rendered":"<p><strong>phpMyBackupPro<\/strong>\u00a0is an open source very easy to use web based\u00a0<strong>MySQL<\/strong>\u00a0backup application, written in\u00a0<strong>PHP<\/strong>language released under the\u00a0<strong>GNU GPL<\/strong>. It allows you to create\u00a0<strong>schedule backups<\/strong>,\u00a0<strong>restore<\/strong>\u00a0and\u00a0<strong>manage<\/strong>\u00a0them,\u00a0<strong>download<\/strong>,\u00a0<strong>email<\/strong>, or upload backups to any\u00a0<strong>FTP<\/strong>\u00a0server and lot more. It also takes\u00a0<strong>File directories<\/strong>\u00a0backup and upload them on a\u00a0<strong>FTP Server<\/strong>.<\/p>\n<p>It supports three compression levels of backups (<strong>No compression<\/strong>,\u00a0<strong>zip<\/strong>\u00a0or\u00a0<strong>gzip<\/strong>\u00a0compression). It also supports two alternative security login methods,\u00a0<strong>HTTP<\/strong>\u00a0or\u00a0<strong>HTML<\/strong>\u00a0authentication.<\/p>\n<h3>Features<\/h3>\n<p>Following are some major key features of \u201c<strong>phpMyBackupPro<\/strong>\u201c.<\/p>\n<ol>\n<li>Single or Multiple database backup support with or without\u00a0<strong>data<\/strong>,<strong>\u00a0table structure<\/strong>.<\/li>\n<li>Three level of compression supported are\u00a0<strong>no compression<\/strong>,\u00a0<strong>gzip<\/strong>\u00a0or\u00a0<strong>zip compression<\/strong>.<\/li>\n<li>Create scheduled backups without\u00a0<strong>cron jobs<\/strong>\u00a0using small\u00a0<strong>PHP<\/strong>\u00a0script.<\/li>\n<li>Upload backups directly onto\u00a0<strong>FTP<\/strong>\u00a0server and posting of backups by\u00a0<strong>email<\/strong>.<\/li>\n<li>Only\u00a0<strong>Apache<\/strong>\u00a0and\u00a0<strong>PHP<\/strong>\u00a0needed to run on\u00a0 platforms like\u00a0<strong>Linux<\/strong>,\u00a0<strong>Mac<\/strong>\u00a0or\u00a0<strong>Windows<\/strong>.<\/li>\n<li><strong>Shell<\/strong>\u00a0interface to take backups manually or by using cron script.<\/li>\n<li>Whole\u00a0<strong>File directory backup<\/strong>\u00a0and move them to any\u00a0<strong>FTP<\/strong>\u00a0server.<\/li>\n<li>Take databases backup from different\u00a0<strong>accounts<\/strong>\u00a0on several\u00a0<strong>MySQL<\/strong>\u00a0servers.<\/li>\n<li>Two\u00a0<strong>security authentication<\/strong>\u00a0methods supported\u00a0<strong>HTTP<\/strong>\u00a0or\u00a0<strong>HTML<\/strong>\u00a0login authentication.<\/li>\n<li>Friendly interface and very easy to install and setup.<\/li>\n<li>Multiple\u00a0<strong>language<\/strong>\u00a0supported.<\/li>\n<\/ol>\n<p>Taking\u00a0<a href=\"https:\/\/www.tecmint.com\/mysql-backup-and-restore-commands-for-database-administration\/\" target=\"_blank\" rel=\"noopener\">MySQL backups and restoring<\/a>\u00a0them from command line is always a good practice, but if what when you don\u2019t have physical access to server. In that, situation\u00a0<strong>phpMyBackupPro<\/strong>\u00a0tool comes in handy.<\/p>\n<h3>How to Install phpMyBackupPro in RHEL\/CentOS\/Fedora and Debian\/Ubuntu<\/h3>\n<p>For installing\u00a0<strong>phpMyBackupPro<\/strong>\u00a0application, you must have running\u00a0<strong>Apache<\/strong>\u00a0web server and\u00a0<strong>PHP<\/strong>\u00a0installed on the server. Let\u2019s install these required packages on the server.<\/p>\n<h5>Install Apache and PHP<\/h5>\n<p>Install on\u00a0<strong>Red Hat<\/strong>\u00a0based systems using\u00a0<strong>yum<\/strong>\u00a0command.<\/p>\n<pre># yum install httpd \r\n# yum install php php-mysql\r\n# service httpd start<\/pre>\n<p>Install on\u00a0<strong>Debian<\/strong>\u00a0based systems using\u00a0<strong>apt-get<\/strong>\u00a0command.<\/p>\n<pre># apt-get install apache2 \r\n# apt-get install php5 libapache2-mod-auth-mysql php5-mysql\r\n# service apache2 start<\/pre>\n<p>The newest\u00a0<strong>phpMyBackupPro<\/strong>\u00a0version can be downloaded from\u00a0<a href=\"http:\/\/www.phpmybackuppro.net\/\" target=\"_blank\" rel=\"nofollow noopener\">phpMyBackupPro website<\/a>\u00a0or you may use following \u201c<strong>wget<\/strong>\u201d command to download.<\/p>\n<pre># cd \/usr\/share\r\n# wget http:\/\/kaz.dl.sourceforge.net\/project\/phpmybackup\/phpMyBackupPro\/phpmyBackupPro%202.4\/phpMyBackupPro-2.4.zip<\/pre>\n<p>Unzip the\u00a0<strong>phpMyBackupPro<\/strong>\u00a0zip file under\u00a0<strong>\/usr\/share\/<\/strong>\u00a0directory.<\/p>\n<pre># unzip phpMyBackupPro-2.4.zip<\/pre>\n<p>For security reasons, it\u2019s better to place the content of the folder under\u00a0<strong>\/usr\/share\/phpmybackup<\/strong>\u00a0directory.<\/p>\n<pre># cd phpMyBackupPro-2.4\r\n# mv phpMyBackupPro\/ \/usr\/share\/phpmybackup\r\n# mv documentation\/ \/usr\/share\/phpmybackup\/<\/pre>\n<p>Next go to Apache \u201c<strong>conf.d<\/strong>\u201d directory and create a file named \u201c<strong>phpmybackup.conf<\/strong>\u201d under it. For\u00a0<strong>Red Hat<\/strong>\u00a0based systems path should be (<strong>\/etc\/httpd\/conf.d\/<\/strong>) and for\u00a0<strong>Debain<\/strong>\u00a0(<strong>\/etc\/apache2\/conf.d<\/strong>).<\/p>\n<pre># vi phpmybackup.conf<\/pre>\n<p>Append the following lines to it. Save and close. The below rules by default enable access to all, if you want to restrict the access to specific\u00a0<strong>IP<\/strong>. Replace \u201c<strong>all<\/strong>\u201d with your\u00a0<strong>IP<\/strong>\u00a0address\u201d. For example, the line should be \u201c<strong>allow from 172.16.25.125<\/strong>\u201c.<\/p>\n<pre>Alias \/phpmybackup \/usr\/share\/phpmybackup\r\n&lt;Directory \/usr\/share\/phpmybackup&gt;\r\n   Options None\r\n   Order allow,deny\r\n   <strong>allow from all<\/strong>\r\n&lt;\/Directory&gt;<\/pre>\n<p>Restart\u00a0<strong>Apache<\/strong>\u00a0service.<\/p>\n<pre># \/etc\/init.d\/httpd restart (On <strong>Red Hat<\/strong> systems)\r\n\r\n# \/etc\/init.d\/apache2 restart (On <strong>Debian<\/strong> systems)<\/pre>\n<p>On some systems, certain files must have write permissions for the file \u201c<strong>global_conf.php<\/strong>\u201d and for the \u201c<strong>export<\/strong>\u201d directory.<\/p>\n<pre># cd \/usr\/share\/\r\n\r\n# chown -R root:apache phpmybackup (On Red Hat systems)\r\n\r\n# chown -R root:www-data phpmybackup (On Debian systems)\r\n\r\n# cd \/usr\/share\/phpmybackup\/\r\n# chmod 0777 global_conf.php\r\n# chmod 0777 export<\/pre>\n<p>Now you are almost ready to start\u00a0<strong>phpMyBackupPro<\/strong>. Navigate to the browser and load the\u00a0<strong>config.php<\/strong>\u00a0file like this.<\/p>\n<pre>http:\/\/localhost\/phpmybackup\/config.php\r\nOR\r\nhttp:\/\/ip-address\/phpmybackup\/config.php<\/pre>\n<p>In the configuration tab insert your\u00a0<strong>MySQL<\/strong>\u00a0details, like\u00a0<strong>hostname<\/strong>,\u00a0<strong>username<\/strong>,\u00a0<strong>password<\/strong>\u00a0and\u00a0<strong>database name<\/strong>. If you would like to setup\u00a0<strong>FTP<\/strong>\u00a0to save\u00a0<strong>backup<\/strong>s, enter\u00a0<strong>FTP login<\/strong>\u00a0details as shown below.<\/p>\n<div id=\"attachment_4011\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/phpmybackuppro-a-web-based-mysql-backup-tool-for-linux\/phpmybackuppro-1\/\" rel=\"attachment wp-att-4011\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4011\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-1-620x334.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-1-620x334.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-1.png 1000w\" alt=\"phpMyBackupPro Configuration\" width=\"620\" height=\"334\" aria-describedby=\"caption-attachment-4011\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-4011\" class=\"wp-caption-text\">Configuration Panel<\/p>\n<\/div>\n<p>Next, click on \u201c<strong>backup<\/strong>\u201d tab to see list of your\u00a0<strong>MySQL<\/strong>\u00a0database and select the database name that you wish to take backup.<\/p>\n<div id=\"attachment_4012\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/phpmybackuppro-a-web-based-mysql-backup-tool-for-linux\/phpmybackuppro-2\/\" rel=\"attachment wp-att-4012\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4012\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-2-620x335.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-2-620x335.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-2.png 996w\" alt=\"phpMyBackupPro Backup\" width=\"620\" height=\"335\" aria-describedby=\"caption-attachment-4012\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-4012\" class=\"wp-caption-text\">Backup Panel<\/p>\n<\/div>\n<p>Schedule backup has two popular ways to schedule backups:<\/p>\n<ol>\n<li>By including the\u00a0<strong>schedule script<\/strong>\u00a0into existing application.<\/li>\n<li>By using a\u00a0<strong>hidden frame<\/strong>\u00a0in a HTML frameset.<\/li>\n<\/ol>\n<p>To schedule a backup, you must first create a schedule script. Go to \u201c<strong>schedule backup<\/strong>\u201d tab.<\/p>\n<div id=\"attachment_4013\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/phpmybackuppro-a-web-based-mysql-backup-tool-for-linux\/phpmybackuppro-3\/\" rel=\"attachment wp-att-4013\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4013\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-3-620x328.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-3-620x328.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-3.png 1016w\" alt=\"phpMyBackupPro Schedule Backup\" width=\"620\" height=\"328\" aria-describedby=\"caption-attachment-4013\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-4013\" class=\"wp-caption-text\">Schedule Backup<\/p>\n<\/div>\n<p>Select how often you want a backup to be generated. Then you have to choose the directory of that\u00a0<strong>PHP<\/strong>\u00a0script which will include the schedule script later. After that select the\u00a0<strong>name of the database<\/strong>\u00a0to backup,<strong>\u00a0enter a comment<\/strong>, select\u00a0<strong>compression<\/strong>\u00a0type and finally click on \u201c<strong>Show script\u201d<\/strong>\u00a0button. On the next page you will see the newly created schedule script.<\/p>\n<p>Instead of copying generated code to new file, you can save the code by giving a filename like \u201c<strong>schedule_backup.php<\/strong>\u201d in the text box and click on \u201c<strong>Save data<\/strong>\u201d to save. For more information read \u201c<strong>SCHEDULED_BACKUPS.txt<\/strong>\u201d file under documentation directory.<\/p>\n<div id=\"attachment_4014\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/phpmybackuppro-a-web-based-mysql-backup-tool-for-linux\/phpmybackuppro-4\/\" rel=\"attachment wp-att-4014\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4014\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-4-620x337.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-4-620x337.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-4.png 997w\" alt=\"phpMyBackupPro Backup Script\" width=\"620\" height=\"337\" aria-describedby=\"caption-attachment-4014\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-4014\" class=\"wp-caption-text\">Backup Script<\/p>\n<\/div>\n<p>The \u201c<strong>sql queries<\/strong>\u201d tab build to run simple\u00a0<strong>sql queries<\/strong>\u00a0to the databases or import databases from the local computer.<\/p>\n<div id=\"attachment_4015\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/phpmybackuppro-a-web-based-mysql-backup-tool-for-linux\/phpmybackuppro-5\/\" rel=\"attachment wp-att-4015\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4015\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-5-620x333.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-5-620x333.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-5.png 996w\" alt=\"phpMyBackupPro SQL Query\" width=\"620\" height=\"333\" aria-describedby=\"caption-attachment-4015\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-4015\" class=\"wp-caption-text\">SQL Query Shell<\/p>\n<\/div>\n<p>The \u201c<strong>start<\/strong>\u201d tab display your current\u00a0<strong>Apache<\/strong>,\u00a0<strong>PHP<\/strong>\u00a0and\u00a0<strong>MySQL<\/strong>\u00a0version information.<\/p>\n<div id=\"attachment_4016\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/phpmybackuppro-a-web-based-mysql-backup-tool-for-linux\/phpmybackuppro-6\/\" rel=\"attachment wp-att-4016\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-4016\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-6-620x337.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-6-620x337.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/08\/phpMyBackupPro-6.png 992w\" alt=\"phpMyBackupPro System Information\" width=\"620\" height=\"337\" aria-describedby=\"caption-attachment-4016\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-4016\" class=\"wp-caption-text\">Version Information<\/p>\n<\/div>\n<p><strong>phpMyBackupPro<\/strong>\u00a0is by far the easiest backup solution for\u00a0<strong>MySQL<\/strong>. If you are handling\u00a0<strong>MySQL<\/strong>\u00a0server, then\u00a0<strong>pMB<\/strong>P is a must needed application that can help you to save your precious data with minimum effort.<\/p>\n<h3>Reference Links<\/h3>\n<p><a href=\"http:\/\/www.phpmybackuppro.net\/\" target=\"_blank\" rel=\"nofollow noopener\">phpMyBackupPro Homepage<\/a><\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/phpmybackuppro-a-web-based-mysql-backup-tool-for-linux\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>phpMyBackupPro\u00a0is an open source very easy to use web based\u00a0MySQL\u00a0backup application, written in\u00a0PHPlanguage released under the\u00a0GNU GPL. It allows you to create\u00a0schedule backups,\u00a0restore\u00a0and\u00a0manage\u00a0them,\u00a0download,\u00a0email, or upload backups to any\u00a0FTP\u00a0server and lot more. It also takes\u00a0File directories\u00a0backup and upload them on a\u00a0FTP Server. It supports three compression levels of backups (No compression,\u00a0zip\u00a0or\u00a0gzip\u00a0compression). It also supports two alternative &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/02\/phpmybackuppro-a-web-based-mysql-backup-tool-for-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;phpMyBackupPro \u2013 A Web Based MySQL Backup Tool for Linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13416","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13416","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13416"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13416\/revisions"}],"predecessor-version":[{"id":13417,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13416\/revisions\/13417"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13416"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13416"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13416"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}