Solved

What kind of files have to be backed up on 2003 servers in order to reconstruct the server in the even of hardware failure.

Posted on 2007-03-25
5
235 Views
Last Modified: 2010-03-05
I have a primary DC, secondary DCs, few Terminal servers, few  other servers running general applications. I want to start backing up important files/system state  from the servers so that in case of hardware failure, i should be able to restore the same functionality on new server. All the machines are win 2003 servers. Any information on how to back up mssql and mysql will be appreciated. I am planning on developing a back up plan for the servers. so any important information on backing up server is welcome.
0
Comment
Question by:kiranjana
  • 2
  • 2
5 Comments
 
LVL 35

Expert Comment

by:David Todd
ID: 18790577
Hi,

MS SQL has its own backup.

The catch is, you can't just copy the live data-files to tape. They won't recover.

The simplest approach with smallish databases is to use the SQL backup command to back up the databases to disk, and then use whatever backup system to copy those backup files to tape.

HTH
  David
0
 
LVL 10

Assisted Solution

by:TAB8
TAB8 earned 200 total points
ID: 18790659
You also need to backup the system state data (registry) if you want to just restore the whole server rather than restore just a databse
0
 

Author Comment

by:kiranjana
ID: 18793213
Thank you for the suggestions. Can you help me finding step by step instructions on how to backup the system state data. Todd, would appreciate any information on sql backup command. thank you once again.
kj
0
 

Author Comment

by:kiranjana
ID: 18793887
Also, how often will i have to make a backup of that system state data.
Thank you
kj
0
 
LVL 35

Accepted Solution

by:
David Todd earned 300 total points
ID: 18795842
Hi,

My guess is that the system state should be backed up at least weekly. It wont change that much. But since it is relatviely small, then it should be backed up with most backups.

SQL Backup looks something like this:
-- ===========================
-- Backup Database Template
-- ===========================
BACKUP DATABASE <Database_Name, sysname, Database_Name>
      TO  DISK = N'<Backup_Path,,C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\><Database_Name, sysname, Database_Name>.bak'
WITH
      NOFORMAT,
      NOINIT,  
      NAME = N'<Database_Name, sysname, Database_Name>-Full Database Backup',
      SKIP,
      STATS = 10;
GO

This was taken from the SSMS 2005 templates. The <> (angle brackets) denote things that need to be changed for the SQL to execute. It would look something like this

-- ===========================
-- Backup Database Template
-- ===========================
BACKUP DATABASE YourDatabaseName
      TO  DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\YourDatabaseName.bak'
WITH
      NOFORMAT,
      NOINIT,  
      NAME = N'YourDatabaseName-Full Database Backup',
      SKIP,
      STATS = 10;
GO

HTH
  David
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

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