The forum will be down for maintenance at some point from Friday, August 24 at 19:00 EDT until Sunday, August 26 at 23:59 EDT. Downtime will be minimized but the exact timing is unknown.

I do hourly LOG backups on my db

 backup database directory 'c:\dbBackup\logs\...' transaction log only

I truncate the log file once a week ( monday backup )

This log file contained everything from mon unit 2 in the afternoon on fri

The db died because we ran out of disk space

I took the thursday night backup and tried to apply the fri 14:00 log, i got an error message telling me the log was the wrong size.

When I applied the log from the corrupt db, it restored the thursday (backup) db as expected.

What is the correct procedure for doing incremental backups and restoring from them?

asked 03 Aug '12, 15:40

Tom%20Mangano's gravatar image

Tom Mangano
632232636
accept rate: 6%

edited 03 Aug '12, 15:57

Graeme%20Perrow's gravatar image

Graeme Perrow
8.9k375114


permanent link

answered 07 Aug '12, 14:01

Lucjan's gravatar image

Lucjan
764
accept rate: 0%

AFAIK, in general, one should apply the translog from the full backup first to bring the database to the state of the end of the full backup (say, too apply transactions that were running while the backup took place). Have you tried this first?

Then, at second step, you should apply the newest translog, i.e. the one from Friday 14:00.

permanent link

answered 08 Aug '12, 10:45

Volker%20Barth's gravatar image

Volker Barth
32.1k327472688
accept rate: 32%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×14
×5

question asked: 03 Aug '12, 15:40

question was seen: 893 times

last updated: 08 Aug '12, 10:46