Recently, there are several situations that make me feel really necessary to do a good job of website backup in advance. First, the database is deleted by hackers and bitcoin is blackmailed. Then Alibaba cloud server frequently prompts for website vulnerabilities, and yundun frequently reports network attack alerts. Then, I found that the website has
Recently, there are several situations that make me feel really necessary to do a good job of website backup in advance.
First, the database was deleted by hackers, bitcoin was blackmailed, Alibaba cloud server frequently prompted website vulnerabilities, and yundun frequently reported network attack alerts.
As a new Internet Security rookie, I couldn't stop hackers' attacks, so I had to put my eggs in different baskets.
Operation steps
Before you operate, you need to create seven bull cloud object storage. For the tutorial, please refer to my another blog: teach you to apply for and configure seven bull cloud free OSS object storage from scratch (no more details)
Step 1: install qiniu cloud storage
Log in to pagoda panel, software store, find qiniu cloud storage and install.
Step 2: set the API
After installation, click the settings on the right side of the software, click "API settings" in the pop-up window, fill in the following information, and then click save.
Step 3: set up scheduled tasks
Task type: Backup web site
Task name: generated automatically or set by yourself
Execution cycle: set according to your own needs. What I set is to execute once a day
Backup website: select "7niu cloud storage" in the "backup to" column
Keep the latest: 3 copies, that is, keep the latest backup file. The previous backup will be deleted. Adjust the number of backups as needed
Click "add task" and you will see an additional record in the following list. Click "execute" and a task will be executed immediately. Do not view the log immediately after execution, but wait for a while to see it. Similarly, you can set up a scheduled backup database.
Wait for about 5 minutes, log in to qiniu cloud platform to see if the upload is successful.