?
Solved

archiving a database question

Posted on 2015-01-23
1
Medium Priority
?
76 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 69

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

764 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