Building a high-security e-commerce website (automatic local/remote dual-backup of website files and databases) [connected E-commerce system architecture]Source:Http://jimmyli.blog.51cto.com/I'm standing on the shoulders of giants, Jimmy LiBy Jimmy LiKeywords: website, e-commerce, Shell, automatic
Preparatory work:
Need to advance in the VPS to install good lftp,lftp function more powerful, CentOS Direct execution: Yum install Lftp,debian execution: Apt-get install.
You need to create the/home/backup/directory on the VPS and create the backup directory on FTP.
If the VPS on the database is not much to use GoDaddy free space can (10GB space, 300GB traffic), as long as the registration of the domain
Generally, you can manually back up the websites in the VPS. Generally, the old man prefers to back up a website once a week. This frequency should be quite good. The "automatic and timed backup of database/website Files" method shared yesterday is more suitable for data, it cannot be maintained in front of the computer for a long time.
For example, some frien
secure and efficient way to back up data. Today, the concept of cloud computing is increasingly popular, cloud storage is becoming more and more popular, why not back up the site data in the "air" it? As long as there is a network to save and extract data at any time, multi-platform operation, backup data more flexible, while storage space is also scalable. Secure Dog Cloud Backup is a cloud platform focus
SendMail components
Because in this script, I will use mail and FTP to send together to ensure the security of data, so the way to use multiple-channel backup. Send mail here I'm using sendmail, so I need to install the components.Apt-get Install SendMail MuttRun the above script in Debian, if it is CentOS, apt-get replace it with Yum, and then enter Y-carriage in the prompt to install OK. It is best to restart the VPS to achieve effective results.
Document directory
Step 1: Create a blank website as the target website
Step 2: Restore the backup file to the target website
Back up, restore, or move a website
Your workgroup has just published their latest quarterly reports to multiple document libraries on the wo
/root/autobackuptoftp. sh # grant permissions to the execution File
Crontab-e # Prepare to add timing settings
00 00 ***/root/autobackuptoftp. sh # Run the I command and press enter to insert the preceding script, which means to back up data at midnight every day.
Finally, we can test the file sh autobackuptoftp. sh to perform backup.
Note: The above automatic backup tutorial will also send a database
Summary:This article provides a way to use ASP PHP script to realize the backup of the website files, and can make the day backup of the specified files.Personal sites are often on the virtual host, the control of the host is very small, so can not use such as task scheduling to achieve scheduled backups, we need to change a way of thinking to achieve similar aut
In this network unstable environment, system crashes, mainframe outages and other accidents are common. And now a lot of children's shoes think their blog is just built to ignore the security of the site. In fact, when you lose the data, you know that pain. So, let's do a backup first.Here we recommend two website backup assistant.The first one is dropmysite.Of c
://www.cnbanwagong.com/tools/backup-ftp.sh
Third, modify the configuration file
#!/bin/bash#你要修改的地方从这里开始Mysql_user=root #mysql用户名mysql_pass=123456 #mysql密码[Email protected] #数据库发送到的邮箱Ftp_user=cat #ftp用户名ftp_pass=123456 #ftp密码Ftp_ip=123.123.123.123 #ftp地址Ftp_backup=backup #ftp上存放备份文件的目录, this is going to have to be built on your own FTP.Web_data=/home/www/cnbanwagong.com #要备份的网站数据#你要修改的地方从这里结束
Powerful rsync website automatic backup tool
Rsync is a data image backup tool in unix-like systems-remote sync. A Fast Incremental Backup Tool, Remote Sync, supports local replication or synchronization with other SSH and rsync hosts. Compared with traditional cp, scp, and tar bac
The importance of Web site backup, believe that every webmaster is know, and now most stationmaster, have used the VPS host, in the Linux operating system, the VPS data backup main is, the website file, the database, the domain name configuration and so on, like the tribe is uses the military elder brother a health installs the package, the operation basically is
Website backup can be divided into two parts: site files and database backup. the database can use the MSSQL (for mssql2000) backup mechanism to regularly generate backup files, and then package the files, compress them, and submit them
ProgramAutomatically downloaded to th
the Content Management system (CMS) two times development.According to the above analysis of the same point, we do the site data backup work, should be based on the characteristics of PHP open source content management system, clear those are important data, need our priority backup, those belong to secondary data, can be backed up. Avoid the cram of the work, in the event of a disaster only to find that t
If you need to back up the website set in addition to the backup at the server farm or database level, select the tool you want to use based on the size and size of the website set.
Less than 15 GB: Use Windows powershell commandsBackup-spsite. For more information, see back up a website set (Sharepoint Server 2010
We do site optimization are aware of the stability of the server to optimize the site is very important, stable server is the strong protection of site optimization, is the basis for website optimization, but who can not guarantee the absolute stability of the server, the database information is not lost. Therefore completes the database backup, the program backup
This method is simple for virtual host, standalone server, VPS and so on.1. Use the imperial backup King to back up the Dede database.① first to download the Empire backup King② The Empire Backup king to the site directory.③ using the Imperial Backup King to package the data④, download all the Dede data.⑤ upload the do
Welcome to the Linux community forum and interact with 2 million technical staff to access how to back up MySQL using PHP and send the website to your mailbox. Code: 1 #! Usrlocalbinphp. cli2? Php3require_once.libswift_required.php; 4MySQL5 $ mysql_dbnamedb; 6 $ mysql_useruser; 7
Welcome to the Linux community forum, and interact with 2 million technical staff> go to the PHP backup MySQL and
This is a Web site directory backup of the PHP tutorial site Backup program, he can be the directory you can manipulate permissions to build RAR Compressed files Oh, I hope that the need to download a friend to see.
Website program Backup
http://www.bkjia.com/PHPjc/444765.html www.bkjia.com true http://
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.