IT Community - Software Programming, Web Development and Technical Support

venders backup plan on MS sql 2005

This is a discussion on venders backup plan on MS sql 2005 within the Database Support forums, part of the Web Development category; venders backup plan on MS sql 2005 We have a daily backup job that has these steps. the database is ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Database Support

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 05-13-2009, 11:45 PM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default venders backup plan on MS sql 2005

venders backup plan on MS sql 2005

We have a daily backup job that has these steps.

the database is in full recovery

1. backup log with truncate_only

2. DUMP DATABASE ''dbname TO dbname_data_dump WITH INIT "this happens at 1:00am"

Then there is a plan setup to backup the transaction log every hour

I think this is wrong. the recovery windows is only good to the last full backup.
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-13-2009, 11:46 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: MS sql 2005 backup plan for venders

There are a few critical pieces missing,
How frequently does the database change? In other words, what is the volatility of the data?

What is the size of the database?

What is the size of the log?
Once we know those, I think we can help you determine a proper strategy.

Also, you write that "the recovery windows is only good to the last full backup." but previously you write, "...here is a plan setup to backup the transaction log every hour" - those two contradict each other. Your absolute worst-case scenario is to have a one-hour window of lost data if you are backing up the log once per hour, not until the last full backup. Since you are in FULL recovery model, you are able to backup (and subsequently restore) the logs.

Here are a few questions you can ask the vendor:


Why are they truncating the log when you are already backing it up once per hour?

The DUMP DATABASE command was depracted NINE years ago - why are they still using it?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-13-2009, 11:47 PM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default Re: MS sql 2005 backup plan for venders

Hi,

This database changes hourly.
The database is 1gig in size
The Log is 1.5 gig in size

You are right on the recovery window

Thanks
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-13-2009, 11:49 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: venders backup plan on MS sql 2005

Hi,

The backup strategy seems fine to me except for the log truncation which just is illogical. Also, why is the log 1.5GB and the database 1GB? For a 1GB database, the log *generally* would be about 150-400MB. Is it mostly free space?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 05-13-2009, 11:50 PM
arjkhanna arjkhanna is offline
D-Web Incredible
 
Join Date: Mar 2007
Posts: 1,949
arjkhanna is on a distinguished road
Default Re: venders backup plan on MS sql 2005

Hi,

Thanks there install script created the log to be 1.5gig not sure why I asked with no answer yet.
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 05-13-2009, 11:51 PM
shaalini shaalini is offline
D-Web Architect
 
Join Date: Apr 2007
Posts: 633
shaalini is on a distinguished road
Default Re: venders backup plan on MS sql 2005

Hi,

How much time will take 1gb database backup ?

Please let me know I have just started learning DBA. I would like to know the real time operation times.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 05-13-2009, 11:52 PM
bluesky bluesky is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 667
bluesky is on a distinguished road
Default Re: venders backup plan on MS sql 2005

Hi,

I think a 1GB db backup could take as little as 5 seconds to as much as 3 mins, depending on disk speed, CPU availability, and how much actual data is in that 1GB database.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 07-27-2009, 06:55 PM
dogfence dogfence is offline
D-Web Trainee
 
Join Date: Jun 2009
Posts: 17
dogfence is on a distinguished road
Default Re: venders backup plan on MS sql 2005

My sql is the very best data supporter for the PHP.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I run all VS Pro 2003, 2005 and 2008 as clients with VS Team System 2005? shaalini Server Management 1 05-08-2009 03:08 AM
How to backup in different directories? S.Vinothkumar Database Support 9 09-28-2007 11:34 PM
How can we delete backup? S.Vinothkumar Database Support 4 09-28-2007 05:35 AM
I Cannot access SQL 2005 integrated services after installing SQL-2005..? theone Database Support 1 07-27-2007 12:12 AM
Database Backup venkatesan.N Database Support 1 07-20-2007 08:55 AM


All times are GMT -7. The time now is 04:45 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0