Title: Migration
Last modified: July 15, 2019

---

# Migration

 *  [william william](https://wordpress.org/support/users/william-greg/)
 * (@william-greg)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/migration-30/)
 * Hi,
    I am using the plugin, all images are going to S3 I have to create a second
   website exactly the same, only URL will change. So I duplicated the website, 
   database, and my S3 bucket. does the plugin will update the imge url path to 
   find the images to the new S3?
 * Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [ianmjones](https://wordpress.org/support/users/ianmjones/)
 * (@ianmjones)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/migration-30/#post-11732407)
 * Yes, and no.
 * WP Offload Media Lite will recognize the new site’s local domain in content and
   try and filter local media URLs to their S3 version, so the URL filtering should
   be fine if the new site’s content was properly updated.
 * If you have manually copied the bucket and want to use the new bucket on the 
   new site, then you need to update the settings in the new site (I expect you’ve
   done this already as it’s obvious), but you also need to update all the “amazonS3_info”
   records in the postmeta table to make sure they use the new bucket too. Be care
   with these records as they are PHP serialized values.
 * WP Offload Media has a tool for copying media from the old bucket to the new 
   bucket when you update the settings to pick/create a new bucket, it also takes
   care of the site’s “amazonS3_info” records to make sure the media library items
   use the new bucket too.
 *  Thread Starter [william william](https://wordpress.org/support/users/william-greg/)
 * (@william-greg)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/migration-30/#post-11733094)
 * Many Thanks.
 * Yes, setting & URL into wp_option will be changed to the new URL, and the new
   bucket info too.
 * When you say “Be care with these records as they are PHP serialized values.”
 * If I run this function in my phpmyadmin, “existing url= path to my old bucket,
   new url=path to my new bucket, should be ok? to update all my image link
 * UPDATE wp_postmeta SET meta_value = replace(meta_value,’Existing URL’,’New URL’);
 * I guess if I use their tool, it will update directly my database images link 
   of my old bucket with my new bucket link?
    Best
 *  [mmnguye3](https://wordpress.org/support/users/mmnguye3/)
 * (@mmnguye3)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/migration-30/#post-11819423)
 * question… i have a multisite and used NS cloner to make a subdomain site. everything
   duplicated but the media isnt being pulled from the s3 bucket.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Migration’ is closed to new replies.

 * ![](https://ps.w.org/amazon-s3-and-cloudfront/assets/icon-256x256.jpg?rev=1809890)
 * [WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage](https://wordpress.org/plugins/amazon-s3-and-cloudfront/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-s3-and-cloudfront/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [mmnguye3](https://wordpress.org/support/users/mmnguye3/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/migration-30/#post-11819423)
 * Status: not resolved