Hi,
I have a 5 yr old site I’m trying to migrate over to Trellis, Bedrock, and Sage. I’ve done a full backup of the site via my cPanel from my old hosting provider and I’m in the process of setting up my dev environment now.
- I have the media library uploads folder
- .sql file of the entire database
I’m leaving my site up for the time being until I can figure out how to transition the whole thing over to this new setup. I have a couple questions regarding how to make the move as smooth as possible.
When I setup the Trellis development environment. I’ve gave it generic names for the database, but copied the table prefixes to match the old db. I was wondering if there is certain tables I should just drop from the old environment before importing the db into the new setup.
Also, I can imagine that I have to make a bunch of search and replace queries to make the paths route correctly for the sample.dev domain if I want the images to work correctly.
My next question has to do with where am I suppose to be putting the media library uploads folder?
The images seem to translate well when I put them inside the site/web/app/wp-content/uploads folder for display reasons, but that’s it.
When I go to run regenerate thumbnails, it basically says that none of the images exist at the home path
example: /srv/www/sample.org/current/web/app/uploads
Am I suppose to copy the images to both the local folder of site/web/app/wp-content/uploads and /srv/www/sample.org/current/web/app/uploads?
This is a site with 8,000 images and 3,000 post so I want to make sure I’m doing this right.
Any help would greatly be appreciated.
I’ve search the forum to see if I can find something close to migrating a site, but haven’t seen something that touches these points so far…