Solved

archiving a database question

Posted on 2015-01-23
1
62 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
1 Comment
 
LVL 69

Accepted Solution

by:
Scott Pletcher earned 500 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

829 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