search
HomeTopicsPagoda PanelHow to automatically back up the website to FTP in Pagoda Panel

This article is provided by the tutorial column of Pagoda Panel to introduce to you how to automatically back up the website to FTP space in Pagoda Panel. I hope it will be helpful to you if you need it!

Last time I shared that Pagoda automatically backed up the website to Alibaba Cloud OSS, but Alibaba Cloud's OSS requires storage fees, and what I am very concerned about is that this will store Alibaba Cloud's API password in plain text. In the background of the panel, I feel that this is not good, so I have been thinking about other automatic backup solutions. I just bought a server from Tencent Cloud Event a few days ago that is several years old, and I plan to build an FTP to store the backup files of the website. Today I will introduce Pagoda Automatic The method of backing up to FTP space includes setting up FTP and setting up the pagoda backend. For this backup plan, I will set up file control permissions to make the backup more secure.

Build an FTP server

Because I want to use a windows system to build it, the FTP server uses free FileZilla, which can be downloaded from the official website. This software server only supports windows servers

After installation, enter the software directly, add a user first, Edit – Users

How to automatically back up the website to FTP in Pagoda Panel

For example, my username here is set to zhujibiji, after confirmation click Password to set an ftp for zhujibiji Password

How to automatically back up the website to FTP in Pagoda Panel

#After the user is added, he needs to be assigned an ftp directory, which is where our backup website is stored.

Click Shared folders, Add to select a folder (it is best to get a data disk here, even if you reinstall the system, the data will not be lost, Tencent Cloud adds a hard disk)

How to automatically back up the website to FTP in Pagoda Panel

You need to pay attention to the permissions I set above. The main purpose of this setting is that FTP only allows uploading files, and does not allow downloading, modification and deletion. This can prevent the FTP password from being leaked and someone deleting the data

If you If you want to delete or download

The Directories below are directory settings. Because I need to create a directory, I checked Create. If you don’t need it, you can remove this option

After the setting is completed, click OK to take effect. , you can use ftp software to connect to the server to test whether the permissions are set correctly.

Pagoda automatically backs up to the server

After the FTP setup is completed, you can go to the Pagoda background to set it up. Install it first Use the Pagoda FTP storage space tool, and then fill in the FTP information you just set

How to automatically back up the website to FTP in Pagoda Panel

You can change this later, and you can choose the folder you want to set in the storage location

Then select scheduled tasks – add 2 tasks, one is to back up the website, and the other is to back up the database. Select the FTP storage space as the location, so that it will be automatically backed up to the FTP storage space we built every week.

How to automatically back up the website to FTP in Pagoda Panel

Compared with backing up to Alibaba Cloud oss, backing up to FTP storage is easier to set up and more secure, but the more troublesome thing is that downloading these websites later will be slower due to bandwidth. It is relatively small. It would be good if it could be connected to oss for transmission.

The above is the detailed content of How to automatically back up the website to FTP in Pagoda Panel. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:aliyun. If there is any infringement, please contact admin@php.cn delete
宝塔面板能否部署Go语言项目?宝塔面板能否部署Go语言项目?Mar 23, 2024 pm 06:54 PM

标题:宝塔面板如何部署Go语言项目?在当今的互联网时代,Go语言作为一种高效、简洁、并发性能强大的编程语言,受到了越来越多开发者的青睐。而宝塔面板作为一款功能强大的服务器管理工具,提供了便捷的界面操作和各种自动化部署功能。那么,宝塔面板是否能够部署Go语言项目呢?答案是肯定的,接下来将详细讲解如何在宝塔面板上部署Go语言项目,并提供具体的代码示例。首先,我们

如何通过宝塔面板进行网站性能压测和调优如何通过宝塔面板进行网站性能压测和调优Jun 21, 2023 pm 01:31 PM

随着互联网的快速发展,网站性能对于用户体验和SEO排名的影响越来越大。为了提高自己的网站性能,我们需要进行性能压测和调优来定位问题并进行优化。而宝塔面板作为一个广受欢迎的服务管理面板,提供了方便简单的性能压测和调优工具。下面将介绍如何通过宝塔面板进行网站性能压测和调优。一、性能压测性能压测是通过模拟用户访问来测试网站的负载能力和响应速度。在宝塔面板中,我们可

宝塔PHP版本切换:详细操作步骤解读宝塔PHP版本切换:详细操作步骤解读Mar 04, 2024 pm 05:48 PM

宝塔PHP版本切换:详细操作步骤解读,需要具体代码示例随着互联网技术的不断发展,网站开发中常常会涉及到使用不同版本的PHP。宝塔面板是一款简单易用的服务器管理软件,可以帮助用户快速搭建和管理服务器环境。在网站开发过程中,有时需要切换PHP版本以适应不同的需求,本文将详细解读如何在宝塔面板中进行PHP版本切换,并给出具体的操作步骤和代码示例。步骤一:登录宝塔面

宝塔Linux必读:PHP5.2.0版本安装技巧宝塔Linux必读:PHP5.2.0版本安装技巧Mar 07, 2024 pm 12:33 PM

宝塔Linux必读:PHP5.2.0版本安装技巧在使用宝塔Linux面板搭建网站的过程中,一些旧版本的PHP环境可能会被需求所需,比如PHP5.2.0版本。本文将介绍如何在宝塔Linux面板上安装PHP5.2.0版本,并提供具体的代码示例,帮助读者快速完成安装过程。一、安装PHP5.2.0版本步骤一:进入宝塔Linux面板首先,在浏览器中输入你的服务器IP地

宝塔安装php怎么切换使用各版本宝塔安装php怎么切换使用各版本Jun 19, 2023 am 11:18 AM

宝塔安装php切换使用各版本的方法是:1、在宝塔面板首页点击“我的网站”;2、找到对应的网站,点击右侧的“设置”按钮;3、点击左侧的“Apache/Nginx”选项卡,可以看到当前使用的PHP版本;4、点击PHP版本后面的“切换”按钮,选择需要切换的版本;5、重新启动相关服务即可。

宝塔Linux教程:安装PHP5.2.0详细步骤宝塔Linux教程:安装PHP5.2.0详细步骤Mar 06, 2024 pm 02:27 PM

在这篇文章中,我会为大家详细介绍如何在宝塔面板上安装PHP5.2.0版本的步骤,包括具体的代码示例。PHP5.2.0虽然已经比较老旧,但仍然有一些特殊需求的项目会需要使用这个版本。希望这篇教程对大家有所帮助。在使用宝塔Linux面板的过程中,有时候我们会遇到需要安装PHP5.2.0的情况。在这篇教程中,我将为大家详细介绍如何在宝塔面板上安装PHP5.

一键搞定!宝塔Linux上安装PHP5.2.0指南一键搞定!宝塔Linux上安装PHP5.2.0指南Mar 06, 2024 pm 04:33 PM

标题:一键搞定!宝塔Linux上安装PHP5.2.0指南在当前互联网时代,网站开发离不开PHP。PHP5.2.0版本相比较于现在的版本已经过时了,但有时候我们仍然需要在宝塔面板上安装PHP5.2.0版本,可能是为了兼容一些旧的项目或者需求。在这篇文章中,我们将介绍如何在宝塔Linux上一键搞定安装PHP5.2.0的过程,希望能对你有所帮助。步骤一

宝塔一键安装PHP,轻松切换各版本宝塔一键安装PHP,轻松切换各版本Mar 04, 2024 pm 03:12 PM

宝塔一键安装PHP,轻松切换各版本宝塔是一款网络服务器管理软件,提供了一键安装和管理各种服务器环境的功能,包括PHP、MySQL、Nginx等。本文将介绍如何通过宝塔一键安装PHP,并且演示如何轻松切换各个PHP版本。一、安装宝塔面板首先,我们需要在服务器上安装宝塔面板。可以通过以下命令进行安装:wget-Oinstall.shhttp://downl

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)