> 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.">
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!
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:
#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.
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!