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
Install virtualization software Before installing...
Element UI implements multiple tables scrolling a...
Recently, the project uses kubernetes (hereinafte...
Many friends have always wanted to know how to ru...
Table of contents 1. Install vue-video-player 2. ...
question: I have a form in Vue for uploading blog...
Project Purpose Migrate the data in MySQL 5.5.53 ...
Table of contents Code: Replenish: Summarize Requ...
Windows Server 2019 is the latest server operatin...
The SQL JOIN clause is used to join rows from two...
<br />Previous Web Design Tutorial: Web Desi...
First: Copy code The code is as follows: <input...
Mysql multiple unrelated tables query data and pa...
Table of contents 1. Introduction to docker-maven...
Table of contents Create a vue + ts project using...