Manual backup
For example: back up the demo database to E:\test\demo.bak mysqldump -uroot -p123456 demo > E:\test\demo.bak #123456 is the database password If you want to back up the test1 table of the demo library mysqldump -uroot -p123456 demo test1 > E:\test\demo.test1.bak How to restore our data using the backup file mysql console?
3) Specific operation screenshots: Timer backup1) Write the command to back up the database into the bat file Create a mytask.txt file and insert the following content: F:\MySQL\bin\mysqldump -uroot -p123456 demo test1 > E:\test\demo.test.bak , then change the suffix to .bat Note: The content of mytask.bat is "F:MySQL\bin" (for your own MySQL bin directory) If your mysqldump.exe file path has spaces, be sure to use 2) Then use the task manager to call the bat file regularly, make mytask.bat a task, and call it regularly Steps: Control Panel>Task Schedule>Create Basic Task The above is the details of the manual and scheduled backup techniques of MySQL database. For more information about manual and scheduled backup of database, please pay attention to other related articles on 123WORDPRESS.COM! You may also be interested in:
|
<<: Pitfall notes of vuex and pinia in vue3
>>: CSS3 realizes the animation effect of lotus blooming
[mysql] replace usage (replace part of the conten...
Forgot your MySQL password twice? At first I did ...
Preface This article mainly introduces the releva...
Table of contents Let's talk about flattening...
MySQL binary installation method Download mysql h...
The code under the easyui framework is as follows...
1. Download the virtual machine Official download...
XML/HTML CodeCopy content to clipboard < input...
Table of contents MySQL federated query execution...
If the words in the sql statement conflict with t...
introduction I used postgresql database for some ...
1. Download, I take 8.0 as an example Download ad...
The 10-day tutorial uses the most understandable ...
1. Disconnection reason There are many reasons wh...
This article introduces how to install Chrome bro...