• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 415
  • Last Modified:

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.
0
FrankPorter
Asked:
FrankPorter
  • 2
  • 2
2 Solutions
 
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
 
Aneesh RetnakaranDatabase AdministratorCommented:
you can clear your transaction log using

BACKUP LOG <urDBName> with TRUNCATE_ONLY
0
 
NightmanCTOCommented:
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now