Sql-server – How to duplicate MSSQL database on the same or another server

databasesql server

I am trying to accomplish the following:

  1. Take a snapshot of the original database, create and exact a duplicate on another server?
  2. Take a snapshot of the original database, create a duplicate on the same server under a different DB name

However, I cannot due to very limited experience with MSSQL. Any suggestions?

Additional info:

Origin DB server: SQL Server 2000

Destination DB server: SQL Server 2005

Best Answer

  1. backup the database
  2. restore the database under a new name and/or on another server

Both these operations can be performed from Enterprise Manager (SQL2000) or its replacement SQL Management Studio (SQL2005+), or the TSQL commands BACKUP and RESTORE.

Note: you can restore a database backed up from SQL2000 on SQL2005 with not issues in most cases, but not the other way around.