In this article, you will learn how to manually back up your site and how to set up automatic backups for your site at regular intervals.

Pagoda panel manual backup WordPress method

Under normal circumstances, we recommend regular manual backup, although more troublesome, but all their own operation, backup at the same time can quickly check the various parts of the website, even if there are errors in the backup process, can also be timely solved.

Database Backup

Backup database first, database backup is generally faster, so do this step first

Click Database – Select the site you want to back up – Administration

Log in to phpMyAdmin with the password given in the pagoda panel above

Then choose their own site database, generally not changed for the site domain name

Here you’ll see the WordPress database table structure, so let’s go straight to the export option

Click Execute, and you’ll download a.SQL file, which is the site’s database

Now our database is backed up and ready for the next step

Backing up website files

Click on the File menu to access the built-in file management system in the pagoda panel

To find your web root directory, the pagoda the default path for the/www/wwwroot/domain.com website, different domain names have different directories, such as WP themes directory is/www/wwwroot/themeforwp.net

Because we are going to back up the whole site, check the all button, select all files and folders under the site directory

After all files are selected, some options will be added to the right. Click the Compress button

So we get the zip package of the website, and then click download, remember to delete the zip package from the website directory after downloading

Note: Check the file size after downloading. If the file size is different, the download may be incomplete. If the file size is large, you are advised to use FTP to transfer the file

In this way, plus the previous database, the whole website backup is completed, pay attention to the two compressed packages separately saved in a folder, do not mix with other versions, restore the need for these two files

WordPress automatic backup method

Automatic backup means that you can set the server to automatically backup the site regularly, because there is no manual operation, only need to set up a continuous automatic backup, suitable for frequent updates of the site, used to prevent accidents

Pagoda panel automatic backup has many choices, such as Ali OSS, seven cattle object storage, FTP space, etc., this tutorial will use Tencent Cloud COS configuration automatic backup

Install the object storage plug-in

Install the baota Tencent CLOUD COS plug-in, choose software management – system tools – Tencent cloud COS – install

Application for COS space

Because we need to use COS of Tencent Cloud, we need to set it on the official website of Tencent Cloud

Log in to the Tencent Cloud Management console and select object storage

Because this is the first time to use, first create a Bucket.

When creating a bucket, there are two places to pay attention to, one is the region, it is best to be as close as possible to the site’s server, such as your server has been put on record in China, choose the domestic region, the server in foreign countries, choose the nearest country, there is to choose private read and write

Then because we have to communicate with the pagoda and need to apply for a key, click on key Management and it will take you to the cloud key Settings

Create a new key and get the secret_id and secret_key

Configure COS plug-in information

Then go to the pagoda panel and fill in the id and key. Rergion and bucket can be viewed in the Basic configuration of Tencent cloud storage buckets. Region is a region

This will take you to an empty folder, which is the bucket we just created. You can test the connection by creating a test folder

Our files here will be synchronized with Tencent storage, including the operation of creating and deleting files

Add a scheduled task backup website

Once the plug-in and bucket are configured, we can start adding backup jobs

Start by adding automatic database backups

Select scheduled task – Backup database

Automatic backup of website files

Schedule tasks – Back up web sites

When adjusting your options, take care to select the site domain and backup location, as well as version limits

Once this is done, the site will automatically back up once a week, keeping the latest three versions each time

In the online environment, it is recommended that you use manual backup combined with automatic backup method, manual backup to local, automatic backup to cloud storage, so that there is double protection.


Ali cloud server as low as ¥102 yuan/year, safe, stable, efficient, exclusive enjoy 10% off, limited time to grab all kinds of vouchers — snap up immediately


The latest Aliyun Tencent cloud offers limited time kill: leffz.com