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
1 Download MySQL Download address: http://downloa...
Table of contents Preface Stored Procedure: 1. Cr...
<br />This tag is used to create a multi-lin...
Prometheus (also called Prometheus) official webs...
Table of contents Class component event binding F...
1. Check the currently installed PHP packages yum...
Table of contents 1. Subquery definition 2. Subqu...
This article introduces the method of using CSS3 ...
Purpose: Under Linux, the server program may be d...
Copy code The code is as follows: <style> ....
After creating a container locally, you can creat...
1. Disk partition: 2. fdisk partition If the disk...
MySQL 5.7 MySQL command line client using command...
I always thought that Docker had no IP address. I...
Table of contents 1. Customize the search bar con...