Linux VPS Backup Tutorial Manual backup site data _linux

Source: Internet
Author: User
Tags ftp commands vps
In general we use the manual backup VPS site on it. Generally old left like 1 weeks to back up the site, such frequency should still be good, for yesterday to share the "database/website files Automatic Timing Backup" method is more important for data, and can not be maintained in front of the computer for a long time.

For example, some friends often travel, back to open the Web site found that the data is not the case, such friends still need to automatically back up. Small blogs or small web sites can be used below the old left to share the manual backup site method. Since I recommend using a VPS when not to use the panel, so the operation backup can only be done in SSH.

First of all, about the database backup, if your database is relatively small, you can log in to our phpMyAdmin and then export, if the database is large, you can use the backup function to the directory or use the more popular imperial backup King to back up the database to the site file directory.

Second, compressed web site files, you can use the tar or zip compression commands. I have previously introduced the use of the ZIP compression command used, as well as the use of tar methods.



Finally, after the backup has been compressed package, we download it through FTP can be completed. If we are afraid of downloading trouble, can also be transmitted remotely through the FTP command to another FTP space. About the use of FTP commands and actual combat, the old left in the later article in detail about. Feel this method is also good, do not need to download to the local can also be backed up.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.