0

I have a working database - and I want to copy all its data (or even just 1 table from it) and create a backup on disk and also create a "backup" database on another location (not the same computer). The other computer is not connected to the internet

How can I do this?

1 Answer 1

0

Use mysqldump to create dump of you Database. Which will be in <name>.sql format.

Then restore it in another system.

Reference: https://www.thegeekstuff.com/2008/09/backup-and-restore-mysql-database-using-mysqldump

Sign up to request clarification or add additional context in comments.

5 Comments

sorry , but I guess I'm missing something ..... how do I do this using MySQL WorkBench? Thanks,
There are only 4 commands. You can easily do this using command line. In MySql workbench there is option of import and export. Try that. Reference: dev.mysql.com/doc/workbench/en/…
Thanks , I did a simple export\import for tha table I wanted.... BTW can I do the same thing to a whole DB? All Table? and not jsut 1 table inside?
Yes of course. There should be select all option which will take dump of whole database.
Ok , I will try - Thank you

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.