Website Migration Guide
If you need to migrate your entire WuWei website to a new server, follow this step-by-step guide to back up and restore your docker-based setup safely.
Backup the Website (Old Server)
Navigate to the root directory:
cd /root
Download the backup script:
curl -O https://download.koogua.com/wuwei-pro/site-backup.sh
Run the backup script:
bash site-backup.sh
Once complete, a file named wuwei-docker.tar.gz
will be generated in /root
.
Download this file to your local machine or securely transfer it to the new server.
Restore the Website (New Server)
Log into your new server and place the wuwei-docker.tar.gz
file in the /root
directory.
Download the restore script:
cd /root
curl -O https://download.koogua.com/wuwei-pro/site-restore.sh
Run the restore script:
bash site-restore.sh
Verify Website Access
After the restoration is complete:
- Visit your domain in a browser (e.g.
https://yourdomain.com
) - Make sure the site loads correctly and data is intact.