Automatic slave reconfiguration after updating master
The solution I found for myself is:
stop both master and slave
remove logs
replace ib* files and /var/lib/mysql/mybase/* with files from prod backup
start mysql on master
start mysql on slave with --skip-slave-start, then SLAVE RESET; SLAVE START;

Not sure if this is correct, but it works for now.