Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backing up Transaction logs to a Null Device

Status
Not open for further replies.

bmann

Programmer
Oct 8, 2002
128
US
How do you backup transaction logs to a null device? My problem is my hard drive space is full and I need to empty the transaction log on database. I would appreciate anyone's help.
 
Hi

Try issuing the following against the database(s).

BACKUP LOG databasename
WITH TRUNCATE_ONLY

this will truncate the logs without physically storing any data/files on to the hard disk.


Hope this helps

John
 
Thanks. I appreciate your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top