Tool: Seven Cow Cloud Backup VPS Server file

Source: Internet
Author: User
Tags vps server

Every day, a series of data files are generated on the server, some of which are of great importance, but if we simply move the files, it will not be very good backup, here, we use Python to implement the cloud backup of the file.
This program I use Python to write, borrowed the Sevencow library file, the use of the program is very simple.

First we can download this code file from GitHub, and we can take advantage of the git clone command.
https://github.com/icorer/vpssync.git Source Download
Then we need to configure the necessary parameter information in the Backup.config file, the parameter list is as follows:

        AK                      Seven bull supplied AK key        SK                      Seven kn supplied sk key        Cloud Bucket            backup directory name        Source floder           Server directory path

Finally, we use the Python command to execute the script, and if the server data file is large, it is recommended to use the Screen-s command to open a background window for backup operations.

If you need to complete the email alert feature, modify the last comment section of the Python code to modify the appropriate parameters for SMTP.

Tool: Seven Cow Cloud Backup VPS Server file

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.