This hosting maintenance note, published on November 5, 2014, is titled "Configuring RSYNC to Implement Scheduled Synchronization of Mirrored VPS Website Backups and Replacement of Incremental Backup Files".
Data center and resources
Domain and site configuration
In C -rsyncd.conf, modify line 35, path = /home/wwwroot/, and change it to the directory that needs to be synchronized.
Matters mentioned in the article
- First, RSYNC synchronization backup preparation work
- Second, configure the server-side VPS.
- Third, configure the server to run rsync.
- Fourth, configure the client configuration file.
- Fifth, test backups and scheduled backups.
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.