Solved

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

Posted on 2012-12-23
3
407 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP code to display images from MySQL db on a webpage 1 79
Parts and Products table schema in mysql 6 43
mysql joining from the same table 6 29
MySQL  on Tomcat 8 23
All XML, All the Time; More Fun MySQL Tidbits – Dynamically Generate XML via Stored Procedure in MySQL Extensible Markup Language (XML) and database systems, a marriage we are seeing more and more of.  So the topics of parsing and manipulating XM…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now