When the website cannot be opened normally due to an accidentHow to quickly restore backup in pagoda panelFile, make the website normal?Today, Lao Wei encountered such a case.A netizen planned to upgrade the WordPress version from the current 5.2 version to the latest 5.4.1 version. After the upgrade, he found that the foreground page could not be opened normally. At this time, in order not to affect the normal access of the website, he gave up the upgrade and quickly restored it with backup files.This document documents the entire recovery process.
Because the WordPress 5.2 version currently used by netizens does not affect the normal operation of the website, and the upgrade fails, the reason for the white screen in the foreground may be the compatibility of the theme or plug-in, or which symbol in the function is missing.In short, it may take too much time to find out the cause of the problem, affecting the normal access of the website.So it was decided to resume the normal opening of the website in the shortest possible time.
solve the problem
After taking over, Lao Wei immediately entered the file management of the pagoda panel and found/www/backup. Fortunately, this friend manually backed up the website files and databases before the trouble.
Website backup location:/www/backup/site/
Database backup location:/www/backup/database/
Because he only manually overwrites the wp content folder under the website directory and the wp-config.php in the root directory, he only needs to use the above backup file to overwrite all files in the current website directory.
Lao Wei created a new linshi folder in the same level folder in the root directory of the website, copied the website backup package in the above figure, and unzipped it.Then copy all the files+directories and paste them into the root directory of the current website. The system prompts you to confirm once. Finally, the pasting and overwriting are completed.
Try to open the domain name again. At this time, the website can be opened normally. The test home page, article page, search results page and background are all opened normally.If memcached or cdn acceleration is used, it may take several minutes to see the effect.
After confirming that there is no problem, delete the linshi directory in the above figure, so that the cleaning work is completed.
The key point of this operation is to be fast and stable. Later, when you have time, you will slowly find out the reason for the failure of WordPress program upgrade to minimize the impact on the website.
1. Thanks to the pagoda panel and the visual operation interface, the backup recovery is so fast.Click me to get itThe pagoda official will present a coupon gift package of 3188 yuan.New users can enjoy a professional version of 0.99 yuan experience for one month.
2. If you use the pagoda professional version of the pagoda reinforcement plug-in and website anti tamper plug-in, or security software such as security dog and hanging mirror, you must first close them before proceeding with this operation;
3. Linshi directory can be placed anywhere. Lao Wei chooses to place it at the same level as the website root directory for easy viewing and operation;
4. No matter what you want to do to the website, you must back up in advance, backup, backup, and say important things three times!!!
Article name: How to Quickly Restore Pagoda Panel Website Backup Article link:https://www.vpsss.net/20857.html Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself. The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.