Countermeasures after the Banwagonhost website is attacked: Use the Banwagonhost snapshot function to quickly restore the website and go online

888u

Last update at :2024-03-10,Edit by888u

There are certainly not a few friends who have purchased Brickworker VPS cloud hosts for building websites. In the "VPS Host Recommendations for Website Building", Lao Wang introduced Brickworker CN2 GIA and Brickworker Hong Kong. These two solutions are suitable for building websites. Very suitable, no need to register, fast access to mainland China. However, the Bricklayer VPS does not have DDoS defense, and it will be suspended directly when the traffic is used up. This article will share a countermeasure after the Bricklayer website is attacked, and use the Bricklayer snapshot function to quickly restore the website and go online.

1. Real-time backup of Brickworker website

No matter what VPS host is used to build the website, we all need to back up the website data in real time. After all, the website data is the first priority, otherwise the efforts of months and years may be wasted. Previously, Lao Wang also shared a method of using rsync to back up VPS data in real time, which is also currently used by Lao Wang himself. If you are interested, you can read: "Use rsync to achieve remote synchronization of data between VPS and back up VPS data"

No matter what backup method you choose, as long as the website data and database data are backed up, even if you encounter special circumstances, the website is hit, the host is down, etc., we can quickly restore the website access.

2. Backup and restore website data using snapshot function

If you have not backed up your website data and the VPS cannot be connected for some reason, you can use the Snapshots function of the Bricklayer to quickly restore the website and go online. I will share a detailed tutorial below.

For example, one of Lao Wang’s Bricklayer VPS was recently maliciously brushed by a villain. All 1,000GB of traffic was completely used up by him. The service naturally entered a suspended state (suspended). Of course, there are other reasons why the Bricklayer was suspended. There are many, such as DDoS attacks, spam, etc. The reason I have here is Data transfer limit exceeded: This server has exceeded the amount of monthly data transfer limit, that is, the traffic has exceeded, and it needs to wait until next month to automatically reset: < /p>

If you encounter the situation of data transfer limit exceeded, you should either wait for the traffic to be reset, or upgrade the package. If you have insufficient traffic due to the increase in website visits, then directly upgrade to a higher configuration: "Moving What should I do if my CPU and memory resources are insufficient? How to upgrade to a high configuration plan? 》, if you are maliciously attacked like me, then you can use the bricklayer snapshot function to quickly create a new host.

1. Create a new snapshot

The first step is to create a new snapshot of the suspended VPS, open the KiwiVM console, select the Snapshots function on the left, and click "Create new snapshot" to create a new snapshot:

After the bricklayer snapshot is created, there will be a list of bricklayer snapshots, including all snapshot data, which will be saved for free for 30 days:

2. Export snapshot

In the snapshot list, we click "export" to export the snapshot and get the VEID and TOKEN of the snapshot:

3. Purchase VPS and import snapshots

Here we need a new Bricklayer VPS, and the configuration cannot be lower than the original Bricklayer VPS. For the purchase tutorial, please refer to the "2020 Bricklayer Registration and Purchase Tutorial, Alipay is supported, and the recurring discount code is 6.38%"

After the newly purchased Bricklayer VPS is created, also in the Bricklayer KiwiVM console, select the Snapshots function on the left and select "import a snapshot" to import the snapshot:

Enter the VEID and TOKEN of the snapshot we just got here to start importing the snapshot:

After the snapshot is imported, we can see this new snapshot backup under the snapshot list of the current Bricklayer VPS. Click reset to import all the data on the original VPS to the new Bricklayer VPS:< /p>

4. Modify domain name resolution

If you are using the data migration of the Bricklayer snapshot function, then all the data on the original VPS will be imported to the new Bricklayer VPS. All you have to do is resolve the domain name to the IP of the new Bricklayer VPS. , this completes the rapid launch of the website.

The above is the tutorial that Lao Wang introduced to you on how to use the Bricklayer Snapshot function to quickly restore the website and go online. If your website is attacked and the VPS cannot be connected, and the website goes online is also a relatively urgent task, then this method It's a good choice. The only drawback is that you have to buy another Bricklayer VPS with the same configuration to migrate data. However, in the face of website data, this little money is nothing.

Recommended site searches: mainland China dynamic IP proxy, free personal cloud server outside mainland China, Hong Kong high-defense server rental, registered domain name query, website virtual host, vps host, Ministry of Industry and Information Technology website registration system, US host Ranking, rapid domain name registration, foreign PHP hosting,

Countermeasures after the Banwagonhost website is attacked: Use the Banwagonhost snapshot function to quickly restore the website and go online

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码