Pause images optimization upon restore to new instance of server

That’s some solution! If anyone else finds this, I think that doing a database-only restore would have worked and been a bit easier, but glad you got it worked out!