Restoring an Exchange Server

Hello to you all
I am trying to restore an exchange server from an online backup to another server who has the same configuration except from the server name.
when i finish restoring the *.edb of course not the dir.edb
because the srever name is different, the infomation store
is not started.
If someone succeeded restoring the exchange server to another server i will be happy to learn from him
Thank you all