January 12, 2010 at 7:10 am
I stand by what I said earlier. What happens if shortly after the full backup you find that a table something has messed up data and you need to restore back to a few hours earlier?
Do you need point in time recovery on this database?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 12, 2010 at 7:29 am
I see your point.
I would like point in time recovery. As it is now, they only do a full backup daily. Then loads run and if we have to recover from that backup, they would have to rerun the loads.
We don't want to run the backup after most of the loads are completed because users start to log on soon after.
Suppose I had a job that changes the log backup filename to another name.
I have a Monday log backup file, a Tue, Wed, etc this way I do not overwrite it daily?
Steve
January 12, 2010 at 7:36 am
Have you considered using the Maintenance Plan feature built-in to Management Studio? This allows you to 'set and forget' your backups (to a very great extent anyway). It will handle full backups and transaction lo backups with one file per backup as Gail (and I would) recommend. It can also be set to auto-delete old backups after a configurable period of time.
Backing up several times to the same file has no particular advantages that I can think of, and always runs the risk of a failed backup corrupting the whole file...
Take a look at the Maintenance Plan Wizard. See http://msdn.microsoft.com/en-us/library/ms189036(SQL.90).aspx
edit: fixed a spelling mistake and added the link at the end
January 12, 2010 at 7:37 am
Why overwrite at all? Each log backup to an individual file, each full backup to an individual file. Then there's no chance of overwriting the wrong file, they can be becked up themselves based on file date and deleted based on file date when no longer required.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 12, 2010 at 8:05 am
yes, you're both right.
I am of the old school, including work with Sybase, and have not used maintenance plans too often.
I am familiar with coding scripts to do this tye of work.
I will take your advice.
Thanks for the quick replies!
Steve
April 27, 2010 at 12:38 pm
Gail,
Thanks for all of the great explanations! I am a reluctant DBA and find your posts invaluable. You helped me explain why our transaction logs were filling up this weekend during a large data load
Thanks again!
April 27, 2010 at 1:41 pm
Pleasure.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 5, 2014 at 12:22 am
Question: Why i landed at this thread?
Answer: checkpoint was blocking my differential backup so i wanted to know when did checkpoint start and history.
Cheers
Viewing 8 posts - 16 through 22 (of 22 total)
You must be logged in to reply to this topic. Login to reply