Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Backups
»
Proper way to backup databases
Proper way to backup databases
Rate Topic
Display Mode
Topic Options
Author
Message
mo-585598
mo-585598
Posted Wednesday, September 16, 2009 3:15 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, July 01, 2010 1:54 PM
Points: 16,
Visits: 51
hi, i have a quick question about the proper way to backup databases. i have a maintenance plan to backup 2 main databases daily at 2 am - i have trans logs to backup every 3 hours daily. also i have the optimization and integrity to run weekly on these 2 databases
i have another maint plan for the master, model, and msdb to backup weekly only - nothing for the trans logs for these databases or optimization and integrity.
is this a correct way to do the backups? i have sql 2000sp4
thanks in advanced
Post #789291
Jack Corbett
Jack Corbett
Posted Thursday, September 17, 2009 7:48 AM
SSChampion
Group: General Forum Members
Last Login: Yesterday @ 12:22 PM
Points: 10,571,
Visits: 11,871
There is no way to tell you what is the best because it varies by the situation. Certainly backing up daily and having transaction log backups are good. The decision comes down to, "How much data are you able to lose?". If 3 hours is good then you are all set, if not, then you need to increase transaction log frequency and might want to add differential backups during the day to reduce the # of steps required for a restore.
One other thing you don't mention is where are your backups going to? Are they on a different drive than the log and database files?
Jack Corbett
Applications Developer
Don't let the good be the enemy of the best. --
Paul Fleming
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #789652
mo-585598
mo-585598
Posted Thursday, September 17, 2009 8:14 AM
Grasshopper
Group: General Forum Members
Last Login: Thursday, July 01, 2010 1:54 PM
Points: 16,
Visits: 51
thank you for the response.
the backup is going to the local c drive and the trans log is going to the local d drive - the server gets backedup daily so i have the sql backups on tape from the nightly backups.
3 hours is ok for the trans logs -we can lose 3 hours -
i guess there are different ways to do backups - i am just wondering if using the maintenance option in sql is the most effective - i ask this becuase, from my experience, (which is very limited) i cant seem to get the backup and trans logs scheduled in the same maint job. i guess i could do one for each job - havent tried it yet -
thanks
Post #789670
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Thursday, October 08, 2009 5:17 PM
SSC-Dedicated
Group: Administrators
Last Login: Yesterday @ 1:47 PM
Points: 31,406,
Visits: 13,722
The only thing I might add is be sure the backups (data and log) are going to drives separate from where you data (mdf/ndf) files are. If something happens to that physical drive, you want backups separate.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #800436
GilaMonster
GilaMonster
Posted Friday, October 09, 2009 12:11 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 7:16 AM
Points: 37,636,
Visits: 29,888
Add integrity checks for the system databases. Finding that master is corrupt and there's no clean backup (because it's been corrupt so long that the last good backup was deleted weeks back) it not a good thing.
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild
: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass
Post #800519
Silverfox
Silverfox
Posted Friday, October 09, 2009 4:10 AM
SSCrazy
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 6:50 AM
Points: 2,719,
Visits: 1,065
Only think I would add, is that you if you are doing a full backup every day and tran log backups every 3 hours, you could be looking at more than 3 hours outage if you lose the drive the tran log backups are on.
potentially you could lose all the tran log backups and have to restore from last nights backup. it might be overkill, but i would periodically copy some of your backups on to another drive and then at the end of the day if you want to, remove them from the other drive after the full backup has been done.
--------------------------------------------------------------------------------------
Recommended Articles on How to help us help you and
solve commonly asked questions
Forum Etiquette: How to post data/code on a forum to get the best help by Jeff Moden
Managing Transaction Logs by Gail Shaw
How to post Performance problems by Gail Shaw
Help, my database is corrupt. Now what? by Gail Shaw
Post #800623
mo-585598
mo-585598
Posted Friday, October 09, 2009 7:37 AM
Grasshopper
Group: General Forum Members
Last Login: Thursday, July 01, 2010 1:54 PM
Points: 16,
Visits: 51
thanks for all the good suggestions --
one thing i found out was that the trans logs were failing - couldnt figure out why --finally i remeber to check the backup mode of the databases and of course they were in simple mode hence trans logs were not backingup. once i changed the mode to full the trans logs started to backup ok -
so i guess it is a good idea to check the backup mode right from the begining -
Post #800737
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Friday, October 09, 2009 8:22 AM
SSC-Dedicated
Group: Administrators
Last Login: Yesterday @ 1:47 PM
Points: 31,406,
Visits: 13,722
You can run in simple mode, but you cannot recover to a point in time other than your full backups. If that's important, then you do need to be sure you are in full or bulk logged mode.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #800785
JacekO
JacekO
Posted Friday, October 09, 2009 9:36 AM
SSC-Addicted
Group: General Forum Members
Last Login: Tuesday, March 29, 2011 2:59 PM
Points: 473,
Visits: 606
I would strongly recommend you read 'Pro SQL Server 2005 Disaster Recovery" by James Luetkehoelter. The book pretty much explains all aspects of the 'data preservation' - backup being just one small step of the entire process. Most of the concepts do apply to SQL2K.
---------------------------------------------
Nothing is impossible.
It is just a matter of time and money.
Post #800881
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.