[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

archiving a database question

Posted on 2015-01-23
1
Medium Priority
?
81 Views
Last Modified: 2015-01-23
I have a database I am about to Archive.  

2 questions.

1) is it better to take a full backup of the database and archive that or to move the ldf and mdf files to the archive location.

2) the database is currently offline.  do I need to detach from offline status or bring the database back to online before I detach it.

thanks a bunch!
0
Comment
Question by:jamesmetcalf74
[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
1 Comment
 
LVL 70

Accepted Solution

by:
Scott Pletcher earned 2000 total points
ID: 40567322
Vastly better to take a full backup, for several reasons:
1) it will be smaller than the mdf and ldf files
2) you can use compression to make it even smaller (if you have Enterprise or other edition than can compress backups)
3) (mildly) easier to restore it.

I'm not 100% sure if you can backup an offline db or not -- easiest would be to just try it and see if it works :-).
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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…
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

650 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