Quantcast
Channel: Automated Transfer Utility: Backup Box» database
Viewing all articles
Browse latest Browse all 2

How to backup a MySQL database with Plesk Panel and Backup Box

$
0
0

Many of our users back up MySQL databases, and many of those databases are managed in a shared hosting account using the Parallels Plesk Panel admin interface. This is a quick tutorial on how to backup a MySQL database from a Plesk Panel interface to any service that Backup Box supports. In general, Backup Box allows anyone to quickly and easily transfer files between online services, such as Dropbox, Box, Google Drive, SugarSync, FTP, SFTP, and Amazon S3. To date, Backup Box has moved over 100 million files for users across the globe!

Step 1a: Log into your Plesk Panel

Step 1b: Select Websites & Domains from the top menu

Step 1b: Select Server

Step 1b: Select Server

Step 1c: Select Database Servers

Step 1c: Select database server

Step 1c: Select database server

Step 1d: Select the target database server from the list

Step 1d: Click the target db server

Step 1d: Click the target db server

Step 1e: Select the Databases Tab, and then click Webadmin

Step 1e: Click Databases and webadmin

Step 1e: Click Databases and webadmin

Step 2a: Once phpMyadmin has opened, select the target database from the left hand column.

Step 2a: Click the database name

Step 2a: Click the database name

Step 2b: Select Privileges from the top menu then click add new user.

Step 2b: Click the Privileges tabStep 2b: Click the Privileges tab

Step 2b: Click the Privileges tabStep 2b: Click the Privileges tab

Step 2c:  Create an user for Backup Box and a secure password. For extra security, select None under Database for user.

Step 2c: Create a user for Backupbox to use

Step 2c: Create a user for Backupbox to use

Step 2d: Finally set the following permissions for the user.

Step 2d: Set permissions for the user

Step 2d: Set permissions for the user

Step 3: Find your host IP address on the Plesk Panel home screen, it should be listed under System Overview. Note down the IP address as we will need it later.

Step 3: Note down the IP address

Step 3: Note down the IP address

Step 4a: Log in or create a Backup Box account at https://mybackupbox.com. There is a completely free option that should be suitable for most websites. Backup Box charges for fancy features like automatic schedules, but you can do manual backups for free.

Step 4b: Once you have logged in you will need to add a new MySQL connector. Click the Click to Connect button to add a new one and then click the MySQL option. You will be presented with a form asking for the access details for your database.

  • Display Name: Pick something useful.
  • Server: Use the IP address from Step 3
  • Port: The default 3306 should be fine unless you know it should be changed
  • Username: The database user name that you created
  • Password: The password for that database user
  • Database Name: Optional, but you may specify the database you are connecting to
Step 4b: Use your host log in information

Step 4b: Use your host log in information

Step 4c: Your database should have loaded into the Backup Box interface. This will display all the tables you have access to. You can select a specific table or just leave it and we will backup everything.

Step 4c: Select a database, if any

Step 4c: Select a database, if any

Step 5a: You will need to select a destination for this backup. Dropbox is a great choice since they have free accounts and are industry leaders in the cloud storage space. Adding Dropbox is very simple, just select it as a destination connector and you will be prompted to enter a Display Namefor it.

The process for adding Dropbox, Google Drive, SugarSync, Box, or pretty much any other cloud storage provider is practically the same.

Step 5a: Add a Dropbox (or other) connector

Step 5a: Add a Dropbox (or other) connector

Step 5b: A new window will open asking you to authorize your Dropbox (or other) account. Confirm your authorization and the window will close and then Backup Box will show you your Dropbox folders.

Step 5b: Authorize Dropbox

Step 5b: Authorize Dropbox

Step 6: You should now see something like this, the Backup Box interface with your MySQL database on the left-hand (source) side and your Dropbox (or other) account on the right-hand (destination) side.

Step 6: Backup Box is ready to go!

Step 6: Backup Box is ready to go!

Step 7a: Time to make a transfer! You have some options:

  • Archive and timestamp is an option that will put all your files into a ZIP file and put the current data and time on it before transferring. This applies to all transfers.
  • Transfer Now, which will perform an immediate transfer of your database to Dropbox.
  • Schedule for later, which lets you set specific times in the future to repeat this transfer, such as each night, or once a month. At the time of this writing, schedules are a paid feature.
Step 7a: Set your transfer options

Step 7a: Set your transfer options

 

Step 7b: If you are doing an immediate transfer then simply click on Transfer Now and it will bring up a confirmation dialogue box. If you are creating a schedule it will automatically save it and open up a list of all your scheduled transfers.

Step 7b: Transfer confirmation dialogue box

Step 7b: Transfer confirmation dialogue box

Success and confirmations: For the sake of this tutorial I ran an immediate transfer. My transfer log showed that my transfer was ongoing:

Step 7c: A running transfer

Step 7c: A running transfer

And then I received an email saying it worked! YAAAAAY!

An example Backup Box email notification

An example Backup Box email notification

For MySQL transfers we create a .dump file. This can be used to restore your database in the future if you ever have problems.

We made it this far, thanks for your patience. I should mention that Backup Box offers much more than MySQL to Dropbox. Any of our connectors can transfer to any other connector, the combinations are almost endless.

Visit Backup Box right now to get started.

We also offer paid accounts that help support our infrastructure and pay us to keep working on and improving this service. Some benefits of a paid account include the ability to schedule transfers, only transfer changed files, and a lot more bandwidth!

Please like us Facebook, say hi to us on Twitter, and add us on Google+!


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images