Solved

archiving a database question

Posted on 2015-01-23
1
58 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Help 27 45
SQL Server 2012 r2 - Sum totals 2 25
SQL Server: Unable to remove duplicate sets in Header/Detail 6 23
divide by zero error 23 15
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

773 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