Best way to copy a database (SQL Server 2008)

后端 未结 8 1681
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 06:50

Dumb question - what\'s the best way to copy instances in an environment where I want to refresh a development server with instances from a production server?

I\'v

8条回答
  •  执笔经年
    2020-12-04 07:20

    Its hard to detach your production dB or other running dB's and deal with that downtime, so I almost always use a Backup / restore method.

    If you also want to make sure to keep your login's in sync check out the MS KB article on using the stored proc sp_help_revlogin to do this.

提交回复
热议问题