Question : Attach-Detach vs. Backup-Restore database ?

Hi,

just a quick question, what is the different between the following options to migrate database:

1. Take it Offline and then detach it. In new system Attach it
2. task | backup DB. In new system task | restore DB

both followed by manual File explorer copy ?

in option number one, I copy whatever in the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data  directory.

Thanks.

Answer : Attach-Detach vs. Backup-Restore database ?

>just a quick question, what is the different between the following options to migrate database:
method 1: you copy the database files as such.
method 2: you use the backup files, not the database files, to migrate the database.

I prefer method 2, as it's more secure, as it implicitly has a backup
however, method 2 is faster, as you need to copy the database files only, and don't need additional space for the backup files
Random Solutions  
 
programming4us programming4us