wordpress Migrating theme options

Im having an problem that happens to me always.

On every project i start i work locally and once im done i export my database and search replace all localhost url’s to the new url.

then in cpanel i create a new database user name and password and modify wp-config.

the website works fine all pages working just one thing wont work and i cant find a solution:

all my Theme Options wont show

my theme options settings and s widgets wont show up and i have to redo this process from the beginning so each time i will have to redo all the settings.

same thing happens when i try to install a site on local host from a backup.

is there a tutorial on how to do this the right way or can someone please please help.

Thanks in advance