I just discovered that the website has not been backed up for a month. Although it is set to automatically push it to oss, I still need to manually back it up occasionally. After all, it is safest to have the data stored in my own computer, because I use Pagoda’s web Panel, the Pagoda Panel Tutorial column below will introduce to you how to manually back up the website in Pagoda.
The backup of the website is divided into two parts. One is the web page files including pictures, program codes, etc., and the other is the database file to store our article content, website information, etc. .
Because the database files are relatively small and the download time is fast, it is generally necessary to back up the database first and then back up the website files
Because Pagoda comes with phpmyadmin, enter the Pagoda management background and find the website that needs to be backed up , click the management button pointed by the arrow. If you use Alibaba Cloud or Tencent Cloud with security groups, remember to open port 888 first, otherwise phpmyadmin cannot open
and then You will enter the login interface of phpmyadmin, enter your database account and password to log in to the backend.
## This is very simple to import SQL files. Select fast export method. Select SQL in formats, execute, and then download a. SQL suffix file is very small.
After the database is exported successfully, continue to back up the website files, continue to enter the Pagoda backend, this time select the file tab, select and compress all the files in the website directory.
Wait for a while before the file is compressed and then download the file. After downloading, delete the compressed package. It is very important and must be deleted.
Finally, the website files and sql files are put together to prevent data confusion. At this point, the backup of the entire website is completed.
The above is the detailed content of Pagoda panel backup website method. For more information, please follow other related articles on the PHP Chinese website!