Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Keeping the database backed up

Keeping the database backed up

Keeping the database backed up

What is the best way to keep a SQL Server database backed up? We are currenlty using a nightly tape backup, but if the drive crashes, we lose up to 24 hours of data. I know there is a thing called replication in SQL Server, but I'm not sure how to use it. Is this something that I can use to keep an up to the minute copy of the database? If so, how do I set this up? Should I put the copy on a second hard drive, or is the tape back up a good solution?

RE: Keeping the database backed up

First off, the best protection in general is to use a Raid 5 array, however even in the event of a device failure or database failure, a raid 5 array will not protect you. Here is something I use to protect myself from database failure. First, a full nightly backup to tape using an sql agent for your backup software. Second, each morning, I do a full database dump, through the SQL enterprise manager as a scheduled task. Then, every 10 minutes, I dump the databases transactions, appending to the previous database dump each time. At the end of the transaction dump, this file is ftp's off site (it can also be copied to another server or it can be dumped to tape). At the time of the nightly backup, this database dump is stored along with the agent backup and is then cleared when the full database dump happens. Doing it this way allows me to make full, restoreable versions of the data, within 10 minutes of failuer, and also prevents an inordinate amount of system time being dedicated to the backup. Replication can also be used, however, it requires another server. One other advantage of using replication is that you can have a replciated server ready to take over for the primary sql server in case of a failure.

RE: Keeping the database backed up


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close