Tlogs Full no drive space left

Hi,

The Tlogs are full and the backup drive can't handle the size when being back-up and the backup process of TLogs fails everytime.

ms sql 2000

any idea's how to go about this?


Thanks.
FrankPorterAsked:
Who is Participating?
 
Aneesh RetnakaranConnect With a Mentor Database AdministratorCommented:
you can clear your transaction log using

BACKUP LOG <urDBName> with TRUNCATE_ONLY
0
 
NightmanCTOCommented:
Make space available on the back drive first or backup to a different drive
0
 
FrankPorterAuthor Commented:
problem is there's not enough space available.
0
 
Aneesh RetnakaranDatabase AdministratorCommented:
1. Enable Auto grow    right click on ur database -> properties -> select 'transaction log ' tab  -> check "automatically grow"
   Also make sure that there is enough space

2. Take regular transaction log backups

read the following article
http://sqlserver2000.databases.aspfaq.com/how-do-i-reclaim-space-in-sql-server.html
0
 
NightmanConnect With a Mentor CTOCommented:
Note: running BACKUP LOG 'dbname' with TRUNCATE_ONLY will truncate the log and not back it up - any data that has been checkpointed (i.e. committed and then written to the mdf) will be cleared (existing uncommitted transactions will not be!).

This means that you should then perform a full backup of your database, as you have just cleared the transaction log, making those transactions 'unrecoverable' from future transaction log restores (as they essentially don't exists!)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.