Skip to content

Commit 9bf9d1d

Browse files
DeepAnchorjameswpm
authored andcommitted
Fix section "MySQL Recovery" in section 12.4.md
1 parent d2d9458 commit 9bf9d1d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

en/12.4.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,14 @@ This sets up regular backups of your databases to the `/var/www/mysql` directory
163163

164164
## MySQL Recovery
165165

166-
Earlier MySQL backup into hot backup and cold backup, hot backup main purpose is to be able to recover in real time, such as an application server hard disk failure occurred, then we can modify the database configuration file read and write into slave so that you can minimize the time interrupt service.
166+
We've just described some commonly used backup techniques for MySQL, namely hot backups and cold backups. To recap, the main goal of a hot backup is to be able to recover data in real-time after an application has failed in some way, such as in the case of a server hard-disk malfunction. We learned that this type of scheme can be implemented by modifying database configuration files so that databases are replicated onto a slave, minimizing interruption to services.
167167

168168
But sometimes we need to perform a cold backup of the SQL data recovery, as with database backup, you can import through the command:
169+
Hot backups are, however, sometimes inadequate. There are certain situations where cold backups are required to perform data recovery, even if it's only a partial one. When you have a cold backup of your database, you can use the following `MySQL` command to import it:
169170

170171
mysql -u username -p databse < backup.sql
171172

172-
You can see, export and import database data is fairly simple, but if you also need to manage permissions, or some other character set, it may be a little more complicated, but these can all be done through a number of commands.
173+
As you can see, importing and exporting database is a fairly simple matter. If you need to manage administrative privileges or deal with different character sets, this process may become a little more complicated, though there are a number of commands which will help you to do this.
173174

174175
## Redis backup
175176

0 commit comments

Comments
 (0)