How do you migrate a site with Drupal 7 Image Styles and make sure the adjusted images migrate? I am moving a D7 site from local to staging for the first time. I pushed my codebase through deployment, and I did drush sql-dump to get the database moved over. Then I copied the files directory as-is.

The new server site works perfectly -- except that images that are supposed to be generated by the image styles show up as broken. They're not being dynamically generated like they should, even though the styles themselves are there.

Any thoughts on why this would happen or how to debug it?
Turns out I was trying to run deployment with my files directory outside of the Drupal root, and even though I was relatively pointing to the right path, it just didn't like that. So I symlinked sites/default/files to the folder outside of the Drupal root and it works fine now.