See comments inline.
[quoted text, click to view] "Arno De Jong" <anonymous@devdex.com> wrote in message
news:3efecadc$0$198$75868355@news.frii.net...
> Hi Simon,
>
> So it means that it is not possible to restore my database to any time
> after the last backup is taken ???
Right, because NO_LOG means all transactions after the full backup took
place are lost.
[quoted text, click to view] > But the transactions after the log file is shrunken are still in the
> transaction log file, aren't they ??
No - if you execute backup log ... with no_log then you lose transactions
completely.
[quoted text, click to view] > So I would think that I still can restore up to any time ???
No - point in time recovery is only possible if you have backed up the
transaction log, and you have not truncated it with NO_LOG since the last
full (or perhaps differential) backup. Check out "How to restore to the
point of failure (Transact-SQL)", and "Recovering to a Point In Time" in
Books Online.
[quoted text, click to view] >
> Suppose I want still be able to restore up to any time (since last full
> backup) AND I would like to shrink my transaction log file: what is the
> alternative ???
Then you should consider using Full (or possibly Bulk-Logged) recovery
model, with regular transaction log backups during the day - look at the
topic "Transaction Log Backups" in BOL for an example.
BACKUP LOG always frees up space inside the log file, even without NO_LOG,
but doesn't make the log files any smaller physically. The space will get
re-used for logging future transactions, or you can physically shrink the
log files to reclaim the space. "Shrinking the Transaction Log" in BOL gives
a detailed explanation of logical vs physical space in the logs.
[quoted text, click to view] >
> Bye
>
> Arno de Jong
>
>
>
> *** Sent via Developersdex
http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!