Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
ValterBorges
Master Smack Fu Yak Hacker
1429 Posts |
Posted - 2002-10-17 : 17:11:11
|
| I'm backing up a database on the following schedule:FULL 21:00 DailyDIFF 22:00 - 20:00 HourlyLOG 21:15 - 20:45 Every 15 MinutesThe problem is that how can I guarantee that at 22:00 for examplemy DIFF runs after my log backup so that when I restore I can do the followingRestore last full backupRestore last diffRestore every log after last diff.One way I've thought about doing it was to have 3 separate log backup jobs running hourly 1 21:15 - 20:15 Hourly2 21:30 - 20:30 Hourly3 21:45 - 20:45 HourlyIs there any other way to solve this problem?Edited by - ValterBorges on 10/18/2002 13:46:20 |
|
|
JamesH
Posting Yak Master
149 Posts |
Posted - 2002-10-18 : 08:32:34
|
| I would suggest before you restore your database that you do a RESTORE HEADERONLY from your backup to determine what and when was backed up. If you look in the backuptype column from the results you can see what each file within the backup is:Backup type: 1 = Database2 = Transaction Log4 = File5 = Differential Database6 = Differential FileYou can then determine the times by BackupStartDate. If you want to guarantee that it runs after your log backup then I would set another schedule for your log backup to not run at or around 22:00. But in the event of a restore it's always a good idea to see what's in your backup before you try to restore.JamesH. |
 |
|
|
|
|
|