• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl

AnonyViet by AnonyViet
January 25, 2023
in Network
0

MySQL is one of the most popular databases in the world. This database can be installed on Microsoft Windows or Linux platforms. Why is this database so popular? Because it has powerful features and is free. As a database administrator, Backup – database backup is really important to protect the system. It will minimize the risk if something happens to the database.

Join the channel Telegram of the AnonyViet 👉 Link 👈

MySQLDumper: PHP and Perl Based MySQL Database Backup Tool

Since MySQL is a popular database, there are many software that we can use to backup Mysql automatically. From console software to web-based software. But in this article, I will guide you to use MySQLDumper to backup/restore MySQL automatically.

What is MySQLDumper?

MySQLDumper is an open source web-based tool for backing up MySQL databases. It is built from PHP and Perl and can easily dump and restore MySQL data. It is especially suitable for shared hosts, where we do not have access to the Linux shell.

Features of MySQLDumper

There are a lot of features of MySQLDumper, but here are a few that might interest you.

  • Easy to install; just make sure you have a working web server and point your browser to the MySQLDumper installation file.
  • All parameters are displayed before starting backup; so you are sure what you are doing.
  • Database-Overview; Allows viewing of running processes.
  • SQL-Browser: Access your MySQL-Tables, delete tables, edit or insert data.
  • Two ways of backing up, using PHP or Perl.
  • Complete log files.
  • Automatically delete files of your old backups.
  • Create protected folder.

Install MySQLDumper in Linux

Installing MySQLDumper is very easy. First we need to download MySQLDumper here.

At the time of this writing, the latest version is 1.24. So download the latest version in your working web server directory (i.e. /var/www or /var/www/html). After downloading, you can extract MySQLDumper1.24.4.zip with the following command.

unzip MySQLDumper1.24.4.zip

Then you will find ‘msd1.24.4’ folder. This directory contains all the MySQLDumper files. As a next step, you just need to point your browser to the MySQLDumper installation file ‘msd1.24.4/install.php’.

1. Select the installation language.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 33

2. Fill in some login information like MySQL server name, user and password.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 34

3. You can test the connection to the database by clicking the button Connect to MySQL. If it succeeds, then we will see a message saying “Database connection was established“.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 35

4. When you get the notification, click the ‘Save‘ and continue with the installation. You will be taken to the main screen.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 36

How to use MySQLDumper

The main function of MySQLDumper is to backup your MySQL database. With this application, backing up (and restoring) MySQL databases is very easy.

Backup Process – Backup MySQL with PHP

The function menu is located on the left navigation panel. First, we need to select the database that we want to back up. You can see the options on the left menu.

MySQLDumper: Automated MySQL Backup Tool Based on PHP and Perl 37

In the screenshot above, I chose to backup the database named ‘employees‘.

Then select the ‘Backup’ menu on the left. Then select ‘Backup PHP’. We will have a screen like this.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 38

Then click ‘Start New Backup‘. The progress of the backup will be shown to you.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 39

After the backup is complete, we will see a message.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 40

Backup procedure using Perl

Another backup method supported by MySQLDumper is ‘Backup Perl’. In this way, we will use Perl as a fallback tool.

Note: your web server must support ‘perl/CGI’ scripting before using this method. Otherwise you will get an error like this when you click the Test Perl button.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 41

Similar to the PHP backup method, we need to select the database we want to backup. Then select the Backup menu from the left navigation panel. Then click the Backup Perl button.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 42

MySQLDumper will show you some active parameters at the bottom. Then we can click the ‘Run the Perl Cron‘. Using this way we will not see any progress bar appear. The duration of this backup will depend on the database. If there are no errors, then we will see a message like this.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 43

Process of Restore – Restore

Restoring backups is also very easy using MySQLDumper. You can click on the menu ‘Restore‘ from the navigation panel on the left. All backups are available at the bottom of the restore page.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 44

You can choose 1 backup from there. Above is the selected backup ready to restore. If you want to do a full restore, click the ‘Restore’ above. If you only want to restore some tables, click “Choose tables“.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 45

Once done, click ‘Restore‘. Just wait a moment for the restore to complete.

MySQLDumper: Automated MySQL Backup Tool Based on PHP and Perl 46

Create Directory Protection

By default, MySQLDumper’s homepage can be accessed by anyone who knows its URL. Using Directory Protection, we can create a layer of password protection. This Directory Protection uses the ‘.htaccess’ function on the Apache web server.

To create it, just click the button Create directory protection on the main screen.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 47

You will then ask for some credentials.

MySQLDumper: Automated MySQL Backup Tool Based on PHP and Perl 48

When you’re done with that, click the button Create directory protection. Then you need to confirm again.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 49

If there are no errors, a success message will be displayed.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 50

Next time you visit the site, MySQLDumper will ask you for the password first.

MySQLDumper: Automated MySQL Backup Tool Based on PHP and Perl 51

Manage Backups

This menu is used to maintain all available backups and restores.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 52

Here are some activities that can be done in this page.

  • Delete the backup; use the Delete buttons at the top.
  • Download backups; Click on the backup name.
  • Select backup; Click on the Database name in All Backups.
  • Upload a large backup to restore.
  • Convert the database to MySQLDumper (MSD) format.

Note: When we convert database without using any compression technique, we will see MySQLDumper create database with name ‘part_1.sql’. The size is smaller than the original.

SQL-Browser

If you want to run a specific SQL command, you can do it in this SQL-Browser page. But it’s best to know what you’re doing.

MySQLDumper: Automated MySQL Backup Tool Based on PHP and Perl 53

Configuration

All of the above functions can be configured from the Configuration menu. Here are some sections that we can configure.

GeneralMySQLDumper: Automated MySQL Backup Tool Based on PHP and Perl 54

Interface

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 55

Autodelete

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 56

Email

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 57

FTP

MySQLDumper: Automated MySQL Backup Tool Based on PHP and Perl 58

CronscriptMySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 59

Log Management

MySQLDumper also provides basic logs for you. So you can know when a backup-restore operation occurs. To access the log page, simply click on the ‘Log’ menu from the left navigation panel.

There are three types of logs: PHP-Log, Perl-Log and Perl-Complete Log.

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 60

MySQLDumper: Automated MySQL Backup Tool Based on PHP and Perl 61

MySQLDumper: Automatic MySQL Backup Tool Based on PHP and Perl 62

Conclusion

MySQLDumper may not be the best backup tool for MySQL. But with the ease of use of this app, everyone can start using it. However, I found that MySQLDumper is not equipped with offline documents. But it’s still a great tool for backing up MySQL databases.

In addition, you can also backup and restore MySQL with the command here.

The article achieved: 5/5 – (100 votes)

Tags: AutomaticBackupBasedMySQLMySQLDumperPerlPHPtool
Previous Post

Lesson 141: Calculating days in the year Excel

Next Post

Create a simple RESTful API in 5 minutes

AnonyViet

AnonyViet

Related Posts

Guide to self -creation socket5 on Ubuntu
Network

Guide to self -creation socket5 on Ubuntu

May 28, 2025
How to create a separate mtproto proxy to use Telegram when blocked
Network

How to create a separate mtproto proxy to use Telegram when blocked

May 25, 2025
Script backup database and website on telegram
Network

Script backup database and website on telegram

May 2, 2025
Create 64GB RAM 16 core for free on Google IDX
Network

Create 64GB RAM 16 core for free on Google IDX

April 13, 2025
What is VPS running Vietnamese software? What is the reason for installing Vietnamese software on VPS?
Network

What is VPS running Vietnamese software? What is the reason for installing Vietnamese software on VPS?

February 17, 2025
Create Ronin wallet to play pixels on VPS Windows
Network

Create Ronin wallet to play pixels on VPS Windows

February 17, 2025
Next Post
Create a simple RESTful API in 5 minutes

Create a simple RESTful API in 5 minutes

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
Wowhay.com – The door opens the world of modern knowledge and network culture

Wowhay.com – The door opens the world of modern knowledge and network culture

August 13, 2025
Instructions on how to fix Screen Time Limited Reached on RoBlox

Instructions on how to fix Screen Time Limited Reached on RoBlox

August 13, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
Wowhay.com – The door opens the world of modern knowledge and network culture

Wowhay.com – The door opens the world of modern knowledge and network culture

August 13, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply