Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL Server 2005 Backup

Posted on 2011-03-23
6
Medium Priority
?
283 Views
Last Modified: 2012-05-11
How do I do a backup with copy only?
0
Comment
Question by:lrbrister
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35203159
Can you explain a bit more what you are trying to achieve?
0
 
LVL 32

Expert Comment

by:Ephraim Wangoya
ID: 35203540

If you only want to do a copy of the database.
First take the database offline or detach it
Copy all the files for the database (.mdf, .ldf .ndf if any) to your new location
Reattach your database to the server

Now
All this is not worth it, Just take a backup of the database and copy it wherever you want
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 35203697
>>How do I do a backup with copy only? <<
You use the COPY_ONLY clause.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 29

Accepted Solution

by:
Paul Jackson earned 2000 total points
ID: 35203706
0
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 35203715
0
 

Author Closing Comment

by:lrbrister
ID: 35205890
Thanks..
Put me on the right track and found this link

http://www.mssqltips.com/tip.asp?tip=1075
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question