Why Backup Required
I blog using the database services and webserver services put together, 2016 one thing happened: the blog server was blocked, do not let login, then the supplier let me re-install the system, and then tragedy: All the data is gone. Personal blog Writing articles are the accumulation of painstaking efforts, one night back to liberation. This makes me realize that data backup is very important.
Of course, there are other possibilities for data loss, such as a server resetting the computer because of an incorrect setting that prevents it from booting.
That's how I backed up the data.
Database backup
About database backup I am listed as the first important, because the data is the most important, others can also take the time to recover slowly. My personal database is backed up by scripting, then deploying Crontab, and finally uploading compressed files to seven Cow cloud storage
Application code Backup
About app code I use GitHub to save
Application configuration file Backup
Some of the configuration files for an application are different depending on the environment, and this part of the configuration file should not have a commit record in GitHub (to prevent malicious exploitation). About this part of the configuration file I was a separate backup compression then uploaded to seven cow cloud stored up
Picture Backup
My personal blog has a lot of pictures, these pictures unified use seven cow cloud storage storage, and this can also provide CDN access, double benefit
Original address: The importance of personal website backup
Tags: backing up a database backup server
Smart recommendations
- Built-in browser useragent judgment
- Take a look at these 20 top-notch open source projects!
- "Skills" improves site usability
- "Four years of college" misses that four years
- Web site network bandwidth and traffic differences
On the importance of personal website backup