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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 truncating transaction log

Author  Topic 

sona
Yak Posting Veteran

68 Posts

Posted - 2002-11-12 : 05:51:04
Hi,

Like i create a database with full recovery model .
So, all the transactions will be recorded in the log file.
At some stage i take a backup of the transaction log and then how do i truncate the log to old entries and again start with the full recovery model


cheers


nr
SQLTeam MVY

12543 Posts

Posted - 2002-11-12 : 06:07:06
??????
Taking a backup of the log won't affect the recovery model.
Truncating the log will invalidate log backups and you will need another full backup to backup useful logs again.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

SQLServerDBA_Dan
Aged Yak Warrior

752 Posts

Posted - 2002-11-12 : 09:20:46
If it's the size of the transaction log you are worried about, try backing up the log hourly or half-hourly. If you back it up frequently enough it shouldn't grow to a unmanagable size.

Daniel
SQL Server DBA
Go to Top of Page
   

- Advertisement -