﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 Strategies  / How to archive a database / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 07:44:44 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: How to archive a database</title><link>http://www.sqlservercentral.com/Forums/Topic1398315-361-1.aspx</link><description>Just a thought, I would also keep and stash away a copy of the associated logins scripted out using the sp_help_revlogin procedure.  That way, you can reinstall the database on another server if needed, and it will keep the same security ID's for the logins, and any SQL Authentication passwords.</description><pubDate>Thu, 20 Dec 2012 08:20:35 GMT</pubDate><dc:creator>vikingDBA</dc:creator></item><item><title>RE: How to archive a database</title><link>http://www.sqlservercentral.com/Forums/Topic1398315-361-1.aspx</link><description>That simple eh...Thanks!Raymond</description><pubDate>Wed, 19 Dec 2012 05:28:33 GMT</pubDate><dc:creator>Raymond van Laake</dc:creator></item><item><title>RE: How to archive a database</title><link>http://www.sqlservercentral.com/Forums/Topic1398315-361-1.aspx</link><description>Why not just drop the database after you have backed it up?</description><pubDate>Wed, 19 Dec 2012 05:02:00 GMT</pubDate><dc:creator>anthony.green</dc:creator></item><item><title>How to archive a database</title><link>http://www.sqlservercentral.com/Forums/Topic1398315-361-1.aspx</link><description>Hey,Each of my customers has his own database. Sometimes a customer quits. When that happens, I want to archive that database. My idea is:1) Make a full backup to "\\backupserver\final_backups\FINAL_BACKUP_CUSTOMERNAME.BAK"2) Detach the database "DBCUSTOMER"3) Delete the files DBCUSTOMER.MDF and DBCUSTOMER_LOG.LDFIs this the way to go? And if so, how do I do step 3 with T-SQL? Thanks,Raymond</description><pubDate>Wed, 19 Dec 2012 04:52:30 GMT</pubDate><dc:creator>Raymond van Laake</dc:creator></item></channel></rss>