Move SQL Server database from one server to another -


we using several servers sql server 2008. want move database 1 server server. did following process

//   #1 detach database on first server  //   #2 physically copy database , log file new server  //   #3 attach database on new server 

our method did not work, last step failed on new server

error msg below

bb error occurred while processing log database 'dbtest'
if possible, restore backup. if backup not available, might necessary rebuild log.
not open new database 'dbtest'. create database aborted

any change recover current files, because can these files again / backup version of database files ? not know how rebuild log files? can not attach them :-(

given experiencing error, recommend trying attach files original server , see if errors. if copied versions won't attach, may have been corrupted in way. if still have original version of files on source server, try attaching them again see if error. if don't error, can recopy files , try again. if error, option restore backup.

moving databases between servers through detach , attach method should work long version of target sql server greater or equal source sql server. although error not indicate case, may want validate have correct version.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -