Since the last time most of the articles on the blog could not be restored due to unsuccessful backup, the author has been more careful about backing up the blog, and has also tried a variety of backup methods. The following are three methods of directly backing up a WordPress blog.
The so-called direct backup refers to backing up directly through the WordPress backend or cPanel without resorting to WordPress plug-ins, third-party services or program codes. This backup method is the safest, but it requires manual work.
Method 1: Back up blog database through WordPress backend
Enter the WordPress backend, click "Export" under the "Tools" option, and then click "Download Export File" on the page that appears. If your blog has multiple authors, you can also choose to export the files related to a certain author. The exported file includes all articles, pages, comments, custom fields, categories, and tags of the corresponding author, but does not include settings for WordPress plug-ins and gadgets. If you want to back up the settings of plugins and widgets, you can back up the WordPress blog database through the cPanel control panel of the virtual hosting space:
Method 2: Back up blog database through cPanel
After entering cPanel, click "Backup" in the "File" category. Under "Partial Backup" on the page that appears, select the MySQL database corresponding to the blog that needs to be backed up and download it.
In addition to cPanel's file backup function, you can also use phpMyAdmin's export function to back up the database of your WordPress blog:
Method three: Back up the blog database through phpMyAdmin
Click "phpMyAdmin" under the cPanel "Database" category, click the database corresponding to the blog on the page that appears, then click "Export" on the toolbar, and select "gzip compression" under the "Save as file" column on the next page , and then click "Execute" to download the database to your computer's hard drive.
Normally, I would choose the second method to back up the WordPress blog database, because the data backed up is more comprehensive than the first method, and the speed is faster than the third method. However, if you just want to transfer articles from one WordPress blog to another WordPress blog, then use the first method.
-