• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 479
  • Last Modified:

Backup restore or Detach attach to move SQL 2005 database new partition

I have to move our sql 2005 to a new partition on the server that i recently added.  It seems everyone favors the detech attach method but I am new with sql2005.  Backing up and then simply restoring to the new directory on new hard drive just sounds simplier.  Expecially since the database has primary and other files.  

Is there any reason NOT to do a backup restore? I mean if the hard drive crashed and I had to get datbase back from tape and put it on a different letter this is exactly what would need to be done...
0
Bekster
Asked:
Bekster
1 Solution
 
mvgeertruyenCommented:
Would work just as well as detach/attach... (don't forget to update the path's for the files if you do a restore)
0
 
BeksterAuthor Commented:
good thats all I want to hear.  When I do the restore I just have to change the drive letter from D to E of the file path.  Sounds simple enough.
0
 
Chris MConsulting - Technology ServicesCommented:
Backup/restore, it's all cool.
Go with what you can do best. Remember to change drive paths while restoring.
0
 
Anthony PerkinsCommented:
It may be marginally faster to detach copy and attach over backup/restore, but the big advantage of backup/restore is that you do not have to take the database offline.
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now