How 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
For example, my username here is set to zhujibiji, after confirmation click Password to set an ftp for zhujibiji Password
#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)
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
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.
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Title: How does the Pagoda panel deploy Go language projects? In today's Internet era, Go language is favored by more and more developers as an efficient, concise and powerful programming language with strong concurrency performance. As a powerful server management tool, Pagoda Panel provides convenient interface operations and various automated deployment functions. So, can the Pagoda panel deploy Go language projects? The answer is yes. Next, we will explain in detail how to deploy Go language projects on the Pagoda panel and provide specific code examples. At first, we

With the rapid development of the Internet, website performance has an increasing impact on user experience and SEO rankings. In order to improve the performance of our website, we need to perform performance stress testing and tuning to locate problems and optimize them. As a popular service management panel, Pagoda Panel provides convenient and simple performance stress testing and tuning tools. The following will introduce how to perform website performance stress testing and tuning through the Pagoda Panel. 1. Performance stress testing Performance stress testing is to test the load capacity and response speed of the website by simulating user access. In the Pagoda panel, we can

Pagoda PHP version switching: Interpretation of detailed operation steps, specific code examples are required. With the continuous development of Internet technology, website development often involves the use of different versions of PHP. Pagoda Panel is a simple and easy-to-use server management software that can help users quickly build and manage server environments. In the process of website development, sometimes it is necessary to switch the PHP version to adapt to different needs. This article will explain in detail how to switch the PHP version in the Pagoda panel, and give specific operating steps and code examples. Step 1: Log in to Pagoda Noodles

Pagoda Linux must-read: PHP5.2.0 version installation tips In the process of using the Pagoda Linux panel to build a website, some old versions of the PHP environment may be required, such as PHP5.2.0 version. This article will introduce how to install PHP5.2.0 version on the Pagoda Linux panel, and provide specific code examples to help readers quickly complete the installation process. 1. Install PHP5.2.0 version Step 1: Enter the Pagoda Linux panel. First, enter your server IP address in the browser.

The method for installing PHP in Pagoda and switching between versions is: 1. Click "My Website" on the home page of Pagoda Panel; 2. Find the corresponding website and click the "Settings" button on the right; 3. Click "Apache/Nginx" on the left "tab, you can see the PHP version currently in use; 4. Click the "Switch" button behind the PHP version and select the version you want to switch; 5. Restart the relevant services.

In this article, I will introduce in detail the steps on how to install PHP5.2.0 version on the Pagoda panel, including specific code examples. Although PHP5.2.0 is relatively old, there are still some projects with special needs that need to use this version. Hope this tutorial is helpful to everyone. In the process of using the Pagoda Linux panel, sometimes we encounter situations where we need to install PHP5.2.0. In this tutorial, I will introduce you in detail how to install PHP5 on the Pagoda panel.

Title: One click to get it done! Guide to installing PHP5.2.0 on Pagoda Linux In the current Internet era, website development is inseparable from PHP. The PHP5.2.0 version is outdated compared to the current version, but sometimes we still need to install the PHP5.2.0 version on the Pagoda panel, perhaps for compatibility with some old projects or requirements. In this article, we will introduce how to install PHP5.2.0 on Pagoda Linux with one click. We hope it will be helpful to you. step one

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