This hosting maintenance note, published on July 6, 2015, is titled "Detailed Explanation of Automatic Scheduled Backup Scripts for Websites and MySQL Databases in a Linux VPS Hosting Environment." The actual environment and tools involved include MySQL and Linux.
Data center and resources
Configure RSYNC to schedule and synchronize mirrored VPS website backups, replacing incremental backup files. Automatically synchronize backup files/databases from a Linux VPS to a COPY storage site.
Software and deployment conditions
You will need to prepare an FTP host, making sure it can be accessed and connected to using an FTP tool. Be careful not to get the password wrong.
Parameters recorded in the original text
- Service TypesShared hosting
Matters mentioned in the article
- First, preparatory work
- Second, edit the backup script.
- Third, deploy test backups
- Fourth, deploy automatic scheduled backups.
- 1. Configure RSYNC to schedule synchronized VPS website backups and incremental backup file replacements.
- 2. Automatically synchronize backup files/databases from your Linux VPS to a copy storage site.
- 3. Free online backup of website files and databases via scheduled backups.
Usage Environment
MySQL, Linux.
Key points to check
Migration checksSimultaneously back up website files and the database. After migration, verify the homepage, backend login, form submissions, and static resources, and finally switch DNS settings.
Data verificationWhen databases are involved, the version, character set, and number of tables should be recorded, and it should be verified that the backup can be restored in an independent environment.