Issues migrating between 2 sites with xcloner
-
I am trying to use xcloner to migrate data between test sites via AWS S3 bucket and only having partial success.
site1.example.com
WP install: /var/www/html/wordpresssite2.example.com
WP install: /var/www/htmlThese are AWS hosted test sites and have their own individual RDS databases.
1) Installed xcloner plugin and enabled S3 bucket connectivity on both sites
2) Generate full backup (excluding wp-config.php) on site 1 and upload to S3 bucket
[wp-config.php is excluded as these sites are created using Cloudformation templates meaning the wp-config.php file is dynamically generated including the DB connection and SALT values etc so you don’t want to overwrite it]
3) Download backup from S3 bucket to site2 locally
4) Proceed with “Only wp-content” restore to target path /var/www/html
5) It appears to be complete – “Done restoring backup-2017-10-25_23-28-793e3.tgz.” appears above the files processed log. The available buttons are showing as < RESTORE and SKIP NEXT >
6) RESTORE re-runs the restore by the looks of it and SKIP NEXT moves on to the next section “Target Mysql Details”
7) I can set the source and target URL, however the “Please Select the target database backup file to restore” drop down box is empty with nothing to select…What have I missed?
If I download and extract the .tgz archive I can find a “database-backup.sql” inside the /xcloner-6f96a/ folder so it appears to be there.
If I go back and run the Database only restore, it seems to work and the box is populated as expected. However when I run the find and replace step for source:site1 target:site2 it works for about 30-60 seconds then displays “Lost connection with the API, please try and authentificate again”
After this the site appears to be dead, all pages just load blank white with no content.
- The topic ‘Issues migrating between 2 sites with xcloner’ is closed to new replies.