MSSQL SERVER EXPRESS BACKUP/RESTORE

I have windows 2008 server and Mssql server express 10.50.2500 runing fine. Now I have to change the server.
The other server is windows 2008 server too, but another name and domain. I installed the same MSSQL express I had on the old server.
I did backup on the old server, but I´m not able to do the restore on the new server. I´m getting "restore failed for the server ""NEWSERVER\DATABASE"" ...." what I´m doing wrong ?
Jose BredariolPMPAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brian CroweDatabase AdministratorCommented:
Is there more to that error message that might be pertinent.  Does the new server have the same drive configuration.  Is the restore looking for drives that don't exist in the new environment?  Does the user under which you are running the SQL DB Engine have access to the location from which you are trying to restore the .bak file?
0
Jose BredariolPMPAuthor Commented:
Yes, I think they have, how can I check it ? what more I have to check ?
Can I copy the DATA folder ?
0
Brian CroweDatabase AdministratorCommented:
I'm not sure how your answers line up with my questions so I'll just shotgun it :-)

What method are you using to restore the database?  script?  3rd party tool?  SSMS UI?

The easiest way to avoid folder permissions issues especially if it's a one-off like this case is to just put the .bak file in the Root Directory which you can find on the Server Properties page (right-click on the server instance in SSMS and choose Properties)

By default the restore process will try to put the file in the same place as it came from but if you don't have say an "X:" drive on the target instance you are going to get an error.  If you are restoring the .bak file through the UI you can select "Relocate all files to folder" on the Files tab which will redirect the data and log files to the defaults they are set to for the target instance regardless of how they were set up on the source instance.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Jose BredariolPMPAuthor Commented:
I'm using microsoft sql management for backup and for restore. I'm using exactly the same version.
The servers name are different, the instances have the same name, the database have te same name and collation.
What more i have to check ?
0
Brian CroweDatabase AdministratorCommented:
All of that sounds correct.  What we need at this point is more of the error message.  If that is all that the UI is giving you then opt to generate a script instead of running it through the UI (there should be a button to generate equivalent script) and run it manually.  I assume it will still fail but we should get a better idea between the script content and the error message of exactly what your issue is.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jose BredariolPMPAuthor Commented:
Ok, I'll do it on monday and post the result. Thanks
0
Jose BredariolPMPAuthor Commented:
ERROR MESSAGE :

Restaurar falhou para Servidor 'WIN-QOX3CFMGC91\SBASQLEXPRESS'.  (Microsoft.SqlServer.SmoExtended)

Para obter ajuda, clique em: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.2500.0+((KJ_PCU_Main).110617-0026+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restaurar+Server&LinkId=20476

------------------------------
INFORMAÇÕES ADICIONAIS:

Ocorreu uma exceção ao executar um lote ou uma instrução Transact-SQL. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

O conjunto de backup mantém um backup de um banco de dados diferente do banco de dados 'Logbook' existente.
RESTORE DATABASE está sendo encerrado de forma anormal. (Microsoft SQL Server, Erro: 3154)

Para obter ajuda, clique em: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.2500&EvtSrc=MSSQLServer&EvtID=3154&LinkId=20476
0
Jose BredariolPMPAuthor Commented:
Thanks
I forgot to check the box to replace the database
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.