This hosting maintenance note, published on November 4, 2014, is titled "Using a one-line SSH command to synchronously back up VPS website directory files using rsync".
Data center and resources
B - It needs to be clear that the backup VPS's directory and environment are already installed. Here, it can be clarified whether it's specifically for backup or for syncing to ensure that if VPS A experiences problems, switching IP addresses won't directly affect the website. C - The backup target VPS already has the rsync tool installed.
Software and deployment conditions
This will ensure the installation is complete before proceeding to the next step.
Matters mentioned in the article
- First, preparations for rsync synchronization backup.
- Second, execute the one-line rsync image backup SSH script.
- Third, execute the rsync backup process until it is complete.
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.