How to protect data during server use

When renting a server to build a website, in addition to ensuring the normal operation of the website, the protection of website data security cannot be ignored. So how to defend yourself when renting a server, and how to ensure database security when renting a server to build a website
. what about work?
Database backup work
is mainly divided into the following types :
Full backup
As a mainstream backup method, a full backup database includes all data objects in the storage process of user tables, indexes, system tables, and views. Due to the amount of backed up data
, It is relatively large, especially for security reasons, the data index needs to be loaded during the backup process, so the backup time is relatively long, so it is recommended that the backup frequency does not need to be too high, just once a week
.

Log backup
Since the time log is just a single file that records changes in database data, the backup time is relatively short. In addition, the event log is important for tracing the source of errors and
comparing changes in some records. Therefore, Yijibi Xiaoxin recommends the frequency of backups. Higher, preferably once a day for automatic backups

Incremental backup
Incremental backup mainly backs up the data changed since the last backup, rather than repeatedly backing up the entire database data, so the speed is still guaranteed, and as the backup frequency increases, the amount of a single backup is also relatively
small Small, faster and more secure

File backup
Since the database itself is also a file, if the database file itself is relatively large, the file needs to be backed up in blocks. Simply put, it is like moving an ant, backing up part by part. This method is generally used for websites to change servers
.

おすすめ

転載: blog.csdn.net/2301_78491269/article/details/132428744