FRESHERSHOME
Freshers Forum

Does anyone got an idea on how to archive a Microsoft SQL Server Database?

This is a discussion on Does anyone got an idea on how to archive a Microsoft SQL Server Database? within the Microsoft SQL Server forums, part of the Data Base Related category; I've to design a system that uses ASP to interact with the user. it collects some data from the user ...


Go Back   Jobs in India Forum > Programming > Data Base Related > Microsoft SQL Server

Notices

Microsoft SQL Server Microsoft SQL Server Discussion, Query related, data base configuration and other related to Microsoft SQL Server

 
Reply
 
Thread Tools Display Modes
  #1  
Old 01-13-2008, 03:50 PM
YahooHoo
 
Join Date: Jan 2008
Posts: 1
Default Does anyone got an idea on how to archive a Microsoft SQL Server Database?

I've to design a system that uses ASP to interact with the user. it collects some data from the user and stores them to a Microsoft SQL Server Database. I've designed to do this job.

But, I failed to understand the logic behind archiving old database. I want the database to be archived once in every two week. Can anyone suggest some link, where I can find them?
__________________
Powered by Yahoo!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 01-13-2008, 03:50 PM
YahooHoo
 
Join Date: Jun 2007
Posts: 2
Default

Better u write a file handelling code.Which accesses SQLDMO object to stop server & allow u take a backup otherwise u mannually stop server then goto sql directory then data copy paste <DBName>.mdf *& .LDF file & add it to archive
__________________
Powered by Yahoo! Answers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 01-13-2008, 03:51 PM
rod rod is offline
YahooHoo
 
Join Date: Jan 2008
Posts: 2
Default

Assume you add 10 users every two weeks. Your first archived Db will have 10 users in it--your second will have 20, etc. The question is do you want to continue to store all data in each archive or do you only want to store the last two weeks?

As for archiving, it's pretty simple. Merely make a copy of the database, and compress it if you want to save storage space. Add the date to the name, like "MyDatabase20070412".

If you only want current data each time, then create an empty Db. Each time you archive, you rename the old Db with the date and make a copy of the blank Db. Name the blank copy the same thing the old copy was named and move it to the correct file path.

hope that helps
__________________
Powered by Yahoo!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
archive database, microsoft sql server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Sitemap
Jobs by Location: Advertising and Marketing Jobs - IT Software Jobs - Walk-in Jobs - BPO Jobs - Government Jobs - Sales / BD Jobs - Tele Communication Jobs App Programming - Network Admin

Jobs By Location: Jobs in Bangalore - Jobs In India - Jobs in Delhi - Jobs in Hyderabad - Jobs in Kochi - Jobs in Mumbai - Jobs in Trivandrum - Jobs in pune - Jobs in Jonida - Jobs in Chennai - Jobs in Coimbator

Jobs Type: Full Time Jobs - Part Time Jobs
Latest Jobs - Accounting Jobs - Engineering Jobs - IT Jobs - Walkins - How to Face Interview - HR Round Tips - Career Info - Guide For Freshers - Apply for Jobs - Future Studies - Jobs Forums - Freshers IT Software Salary Details


All times are GMT +6.5. The time now is 02:02 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
FreshersHome.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62