This hosting maintenance note, published on January 17, 2018, is titled "Using Rsync to Achieve Incremental Backup of Website Files/Server Data Synchronization on Linux VPS." The actual environment or tools involved include Linux.
Software and deployment conditions
Whether you choose shared hosting, VPS, or a dedicated server, the most crucial element is the data stored on the server.
Data center and resources
One-click environment packages or web panels typically include automatic backup functionality to both local and remote servers. If you're unsure about setting it up perfectly in one go, you can prepare two test environment servers to implement Rsync synchronous backup before using it in the production environment.
Parameters recorded in the original text
- Service TypesShared hosting
Matters mentioned in the article
- First, preparatory work
- Second, configure the backup server.
- Third, configure the main server.
- Fourth, configure the main server.
- Fifth, Summary of Testing and Effectiveness
- 1. Install rsync
- 3. Create configuration file
- 4. Create a password pairing file
- 5. Granting permissions and starting
- 3. Create a password pairing file
- 2. Download and install inotify-tools
- 3. Configure environment variables
Usage Environment
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.