If you are a webmaster, you must know what a website means to a webmaster. In the face of a complicated network environment, every webmaster needs to be extra careful in order to ensure the normal operation of the website. But many situations are beyond our control and prediction, such as hacker intrusion, hardware damage, human misoperation, etc., which may have a devastating blow to the website and make all efforts to be wiped out overnight. Therefore, regular backup of website data can ensure the "full state of resurrection" of the website. In this way, the loss can be minimized when the above situation is encountered.
This article will only share some specific experiences for website
backup. Hope it will be helpful to the stationmaster students.
The importance of a habit
This is a digression. A habit even plays an important role in a person's life-this sentence is too chicken soup to expand. The most important thing for a webmaster is persistence, and persistence here is habit. The same is true for website backup. All premises are that you need to develop the habit of website backup. Simply put, website backup is nothing more than entire site backup and
database backup. In the actual backup process, the webmaster can use a variety of backup methods to protect the website according to the procedures used on his website and the stability of IDC.
Backup of the entire site
For website file backup, or the backup of the entire site directory, generally speaking, except for some regular backups and backups for special events. Generally, when there are changes in website files, it must be backed up once, such as website template changes, website function additions and deletions. The purpose of this type of backup is mainly to worry about website file changes causing instability of the entire website or causing other website functions And loss of files. Generally speaking, since the frequency of file changes is relatively small, the backup cycle is relatively long, and website files can be backed up before each change of website-related files (such as changes in functions). For website files or the backup of the entire directory, generally we can package the entire site directory and download it locally through remote directory packaging, which is the easiest way. For some large websites, the website directory contains a large number of static pages, pictures, and some other applications. We can use the FTP tool to download the relevant files in the website directory directly to the local, and implement regular packaging and localization according to the backup time. replace. This can maximize the security and integrity of the website.
Database backup
The importance of database for a website is self-evident. If the website file is damaged, we can use some technical restoration methods. For example, if the template file is lost, we can change a set of templates; if the website file is lost, we can reinstall the website program again, but if the database is lost, we believe that the webmaster with the strongest technology Is also powerless. Compared with the website database, the frequency of changes is very large, and the frequency of backups is relatively more frequent. Generally, some IDCs with better services usually help to back up the database once a week. For some webmasters who use website building CMS as website, such as Discuz, PHPwind, DEDECMS and other website building systems, there are very convenient one-click database backups in the background, which can be automatically backed up to the designated website folder. If you still do not Rest assured, you can enter phpmyadmin, export and download the database to the local, and truly realize the local and remote backup of the database.
Find a reliable backup software
"Workers must first sharpen their tools if they want to do well." For website backups that require a lot of repetitive operations, a reliable backup software often has the effect of getting twice the result with half the effort. Here are five online backup solutions:
1, MozyHome
MozyHome is a secure online backup service (ie network hard drive). It uses a simple, smart and economical method to protect files from being damaged. Prevent your data from being accidentally deleted or hardware failures. Regularly back up your data to a secure server (United States), it will automatically let you never have to worry about losing important data.
2, Symantec backup exec version
Symantec announced the launch of backup exec 2012 several years ago, which aims to help users eliminate the complexity of backups, perform backups in a 100% virtual environment, and provide instant, cloud-based data recovery based on a single solution. As part of this release, Symantec has also improved the user interface and configuration of backup exec to provide a simpler customer experience. In addition, in order to promote the leading technology to more small businesses, Symantec has specially launched the backup exec small business edition (backup exec small business edition) and backup exec.cloud, which allows more and more companies to pass 3 A simple step, data backup can be completed in less than 10 minutes.
3, dropbox
Founded in 2007, Dropbox provides free and paid services. It has client software under different operating systems and a web client, which can automatically synchronize files stored locally to a cloud server for storage. Because of the characteristics of cloud services, the storage cost of Dropbox will be infinitely diluted.
Dropbox supports batch drag-and-drop upload of files, and the maximum limit of a single file is 350m. If you use the client to upload, there is no limit to the maximum single file. The total capacity of the free account is 2.0g, but if the traffic exceeds the limit, the off-chain traffic of the entire account will be cancelled.
4, Zetta
Zetta company began to provide cloud storage file system as early as 2008. Later, backups, security, performance and plugins were added. The latest iteration-Zetta DataProtect-is a complete cloud backup, repair and disaster recovery system.
5, multiple backups
Multi-backup is mainly to help enterprises with data protection and management, based on Cloud 5 technology to achieve data interoperability between multiple cloud platforms. It also provides services such as data backup, migration, and restoration.