Database backup and management of Web site

Source: Internet
Author: User
Keywords FTP can select server

1. Unattended automatic backup http://www.aliyun.com/zixun/aggregation/8613.html "> website data

Personal site is always very easy to have many accidents, such as server parts damaged, disconnected or hacked, any situation will cause the site can not function properly. After the site has a problem, to restore it to normal in the shortest possible time, the best way is to use backup data recovery. But most webmaster often can not every day of the site data backup, once there is serious loss can not be undone. Especially for frequently updated web sites, regular backups are more important. In fact, even unattended, can also automatically back up the site through FTP data, so that the site truly "preparedness."

(1) New FTP backup task

Here we need to use a "green Ring FTP Data Backup", which is dedicated to the FTP data backup green software, and is a free version, decompression without installation can be used.

Open the Software EXE main program, click the "FTP Backup" button, select "New FTP Backup Task", will pop up the parameters set menu, according to the interface prompts to enter the "task name" and so on, and then set the Web server FTP username and password. If it is a virtual host user, you need to fill out the FTP account password provided by the space provider; users who have their own servers need to create a new FTP user using the Serv program.

Figure FTP parameter settings

In the domain name or IP address option, you can either fill in the domain name of the IP address you have already bound or set the IP address of the server directly. After the completion of the parameters, click the "Connect" button, if the FTP name and password is correct, will be connected to the success of the server prompts, so you can select the left side of the software need to back up the source directory.

Figure The FTP user password information

Next, set up the Web site data to save to the local folder, in the target directory to select a large space hard disk, and then create a new special folder.

Tips:

If FTP is not connected, it may be because there is no reason to use a passive connection. Passive FTP can solve the problem that data connection from server to client is filtered by firewall, but some FTP software does not support this way. If you cannot connect directly, you can select the Connect using passive mode check box.

(2) Set up automatic backup cycle

After setting up the parameters of the website, we also set up the time of automatic backup, we can set up the cycle of the automatic backup according to the type of the website and the update of the data.

If it is an infrequently updated site, choose a monthly backup setting, and you can set a specific time for monthly updates in the software. If the data is more important site, you need to backup every day, software backup cycle is very convenient, you can choose any time for automatic backup.

Figure 37 Backup Cycle settings

However, for a typical web site, a full data backup of one weeks is sufficient, just select the "Weekly" Radio box, and then set a time period such as "Monday", and the time to start the backup.

Tips:

The backup schedule cycle is in seconds, and at least one backup per second can be set. So for some database and other important files, you can realize real-time off-site backup function.

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.