Use the AMH panel to automatically back up VPS host data to your mailbox on a scheduled basis

888u

Last update at :2024-06-14,Edit by888u

As VPS host performance becomes higher and higher, configurations become higher and prices decrease, many of our webmasters are gradually transitioning from virtual hosts to VPS. Whether we are using a product that is a few dollars cheaper per year or a product like Linode that costs 20 dollars a month, we cannot rely on the stability of the merchant's product, especially VPS. We must back up the data ourselves, even if the merchant has problems or we ourselves We can also recover data if the operation is wrong.

In the near future, Snail will organize the general usage tutorials of the AMH panel, and then organize a series to assist novice webmasters in using it. In the previous article, I shared that after setting up the DISCUZ program to build the website, and the previous WORDPRESS website building, the basic CMS construction is very simple. Just add the site-upload the file-add the database-install the program-set pseudo-static and it can be used normally (I Think simple).

The most important thing in managing VPS hosts is data backup, whether you directly use SSH operation commands to automatically back up to a network disk or automatically upload to your own virtual host FTP (Snails prefer to buy GODADDY economic hosts as storage). Because when we perform manual backup, the cycle may not be fixed, it may be a week or a month, and even the VPS is relatively stable and does not back up for several months. If we use the AMH panel, we can use the AMBmail component module that comes with the panel for backup.

Article Directory Hide

Step one, download and install AMBmail

Step 2: Set up backup email

The third step is to set the timer

Step one, download and install AMBmail

Step 2: Set up backup email

Click on the \\"Management Module\\" of the installed AMBMAIL component and then we can open and set up the backup mailbox.

The email here must be regular. For example, I use the domain name post office bound to Tencent Enterprise Post Office, or you can use QQ email directly.

The third step, set the timer

Add the time for automatic scheduled backup in "Task Schedule" in the navigation. For example, as a test, I set up automatic backup to be sent to the email address I set up before at 18:25 every Thursday. Just run the command "amh backup y y\\".

Finally, after we backup and send it to the mailbox, it will be a compressed file similar to y-20140515-182501.tar.gz.amh, with the AMH suffix. If we download it locally, we can remove the .AMH suffix. Then unzip it.

After decompression, we see that the WWWROOT and MYSQL folders are more important. The website files and databases are in them. The corresponding file names are the corresponding websites.

Isn’t such automatic backup very simple?

Recommended site search: foreign vps server rental, foreign virtual host, local ip query, .Chinese domain name, vip domain name, Ministry of Industry and Information Technology icp registration query, ip view, domain name registration Query, Korean high-defense server, foreign server,

Use the AMH panel to automatically back up VPS host data to your mailbox on a scheduled basis

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