Solved

Using MySQL workbench, how do you backup/restore the all your database's info?

Posted on 2012-12-23
3
411 Views
Last Modified: 2013-01-18
Im using MySQL 5.5 and workbench 5.2 I would like to backup all my databases and all the complete data from my server then restore it on my local server. What is the best way to do this?
0
Comment
Question by:overcolor
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
wadehults earned 500 total points
ID: 38717262
In Workbench, from the main screen, you:

1. Select Manage Import/Export

under Server Administration.

2. Select the server instance you desire

3. Select Export

In the left-side task bar, select export.

4. Select database schema

In the main task area, select the database schema you wish to export.

5. Select export type

Select "Export to self-contained file"

6. Name the file

Define the export file name

7. Select data dump options

Select what types of data to export (optional) using the checkboxes provided below the file name block.

8. Create file

Click "Start Export"

9. Upload newly created SQL file

The upload uses the "Data Import/Restore" option instead of the "Select Export" in step 3.

10. Select Input source

Select "Import from self-contained file" in the task window.

11. Find your created SQL file

Use the browse function to find your generated SQL file.

12. Import

Click "Start Import"
0
 

Author Comment

by:overcolor
ID: 38717693
Do I have to do each Database Schema one-byone?
0
 
LVL 3

Expert Comment

by:wadehults
ID: 38717804
If you are retaining the structure of all databases as an exact mirror, you can simply select all of the database schemas and compact them into a single file. The only reason you should need to do individual schema exports would be in a situation where you have different domains served from different servers.

The self-contained sql file will contain all of the databases selected, all tables, and all records. This includes all views and queries that are contained within the database schema, unless you select the option to exclude data and only keep the structure.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Creating and Managing Databases with phpMyAdmin in cPanel.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question