Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
timsmith
Starting Member
11 Posts |
Posted - 2008-08-05 : 04:47:23
|
| Hi,I access the db by connecting to the server at a.b.c.d (IP address). From here, I get access to the live db. How can I make a copy (data + log files) of the db so that I can have access to it offline (i.e. I can access it using the 'attach' command?thanks |
|
|
timsmith
Starting Member
11 Posts |
Posted - 2008-08-05 : 04:48:12
|
| PS: Its MS SQL server 2005 |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-08-05 : 05:34:58
|
| Take a backup of the db and restore in your serverMadhivananFailing to plan is Planning to fail |
 |
|
|
timsmith
Starting Member
11 Posts |
Posted - 2008-08-05 : 05:52:44
|
| Will taking the backup give me 'xyz_data' and 'xyz_log' files ? |
 |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-08-05 : 06:00:13
|
quote: Originally posted by timsmith Will taking the backup give me 'xyz_data' and 'xyz_log' files ?
YesMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|