> In Add Scheduled Task, select "Backup Website" for the task type, and it is recommended to select "Daily" for the execution cycle."/> > In Add Scheduled Task, select "Backup Website" for the task type, and it is recommended to select "Daily" for the execution cycle.">

Home  >  Article  >  Topics  >  How to set up a scheduled task to back up data and website files

How to set up a scheduled task to back up data and website files

藏色散人
藏色散人forward
2019-10-12 11:39:512535browse

The following section of the Pagoda Panel uses the tutorial column to introduce how to create scheduled tasks for backing up data and website files. I hope it will be helpful to friends in need!

How to set up a scheduled task to back up data and website files

Create scheduled tasks for backing up data and website files

Log in to the Pagoda Web Panel>> Click on the left menu bar " "Scheduled Task">> When adding a scheduled task, select "Backup Website" for the task type, "Daily" for the execution cycle, and "Everyday" for the execution period. It is recommended that the time be set after 2 a.m. to back up to "Server Disk" at less frequent times. Just keep the latest 3 copies by default, and then click the [Add] button. See the figure below for details:

How to set up a scheduled task to back up data and website files

#After successfully adding the scheduled task, you can see the backup website plan we just added in the "Task List" below. In the same way, select "Backup Database" in the task type. The execution cycle time should not be the same. It is better to separate the two scheduled tasks by 30 minutes.

How to set up a scheduled task to back up data and website files

According to the prompts on the Pagoda panel: Insufficient disk capacity, incorrect database password, unstable network and other reasons may lead to incomplete data backup. Therefore, in order to ensure nothing goes wrong, when the backup is added The task should be run manually once and check whether the backup package is complete. However, [Pagoda Panel] In actual operation, when we successfully create a scheduled task, it will be automatically backed up once (PS: If there is no backup, you can click the "Execute" button on the right side of the corresponding task to back up).

The above is the detailed content of How to set up a scheduled task to back up data and website files. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:boke112.com. If there is any infringement, please contact admin@php.cn delete