|
|
|
SSC-Dedicated
           
Group: Administrators
Last Login: Yesterday @ 1:47 PM
Points: 31,406,
Visits: 13,722
|
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Yesterday @ 6:54 AM
Points: 9,364,
Visits: 6,462
|
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 2:24 AM
Points: 1,871,
Visits: 2,692
|
|
too quick on the trigger - owned.
---------------------------------------------- Msg 8134, Level 16, State 1, Line 1 Divide by zero error encountered.
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Yesterday @ 1:32 AM
Points: 3,187,
Visits: 4,140
|
|
| Happy to be enlightened about that myth. It definitely worth two points.
|
|
|
|
|
SSChasing Mays
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 9:32 AM
Points: 643,
Visits: 687
|
|
Agggghhhhh 
Good question and a very good learning point, thanks
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Monday, September 17, 2012 7:30 AM
Points: 1,038,
Visits: 679
|
|
| Good Question, explanation scripts were good :)
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 8:31 AM
Points: 1,036,
Visits: 121
|
|
Good question.
However just because I could get away with a differential backup, the 'once bitten twice shy' part of me would always go for a full backup unless there was some overriding driver (time to backup?) pushing me to take a differential backup. It simplifies any future recovery of the database (full backup plus log file(s) vs full backup plus differential backup plus log files).
Call me old fashioned if you like.
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 8:31 AM
Points: 1,146,
Visits: 1,448
|
|
Thanks for the question Steve. I was surprised to see the number of incorrect answers. I hardly ever administer DBs, mostly design and programming. Maybe the lack of certainty about the right answer helped in this case. It made me slow down and think it through. Too bad I don't do that in all cases. 
(Edited to fix non-spellcheckable typo.)
Please don't go. The drones need you. They look up to you.
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Monday, May 13, 2013 9:07 AM
Points: 3,046,
Visits: 1,300
|
|
| I got led astray by the error message. Since it said there was no current database backup, I thought that meant you couldn't do a differential backup at all (since there was no full backup to "diff" against). Moral - error messages don't always say what they mean...
|
|
|
|
|
Hall of Fame
       
Group: General Forum Members
Last Login: Monday, May 13, 2013 9:07 AM
Points: 3,046,
Visits: 1,300
|
|
Duncan Pryde (6/28/2012) I got led astray by the error message. Since it said there was no current database backup, I thought that meant you couldn't do a differential backup at all (since there was no full backup to "diff" against). Moral - error messages don't always say what they mean...
To follow on from this point, the message you get when performing a diff backup against a database where a full backup has not been taken is:
Msg 3035, Level 16, State 1, Line 1 Cannot perform a differential backup for database "xyz", because a current database backup does not exist. Perform a full database backup by reissuing BACKUP DATABASE, omitting the WITH DIFFERENTIAL option. Msg 3013, Level 16, State 1, Line 1 BACKUP DATABASE is terminating abnormally.
Seems quite similar to the log backup message in the way it refers to a current database backup, but this time actually means that there is no current backup.
|
|
|
|