This hosting maintenance note, published on May 3, 2019, is titled "Website Backup and Migration Process for New Webmasters and Several Issues to Note." The actual environments or tools involved include WordPress and PHP.
Data center and resources
I once met a netizen who regularly backed up his website, but he only copied the files in the website directory and didn't export the database. In the end, the server failed and couldn't be recovered.
Software and deployment conditions
This way, when deploying a new web environment or migrating to a new one, you can directly deploy based on the necessary software. For WordPress, you need to modify the two URLs in the wp_options table in the database.
Parameters recorded in the original text
- caching layer:Redis
- Operation and maintenanceDatabase backup, website migration
- Version history:PHP5.6
Matters mentioned in the article
- First, preparations for website backup and migration.
- Second, back up the existing server data.
- Third, migrate data to the new server environment.
- Fourth, if it's a relocation and domain name change
- 1. Optional snapshot backup
- 2. Record the current server version.
- 3. New server installation environment
Usage Environment
WordPress, PHP.
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.