mikelawrence
Programmer
I'm worried about the size of a transaction log filling up my whole server so have read up on truncating the log but it appears to remain the same size after all the things i read are recommended.
My .mdf file is about 2gb and my logfile is about 14gb so what i've tried is:
1) I do daily full database backups through sql server agent and my understanding is that these should shrink the log file but they appear to make no difference to the size of the log file.
2) I go into EM and backup the whole db from there where the button on options is set to remove inactive entries from the transaction log.
3) I go into EM and right click on the db - All Tasks - Shrink (where it says i have 83% free space) and click on OK
4) As 3 but go onto Files and then click the log and then ok
5) I've also tried to do a backup just on the log by right clicking the db - all tasks - backup and clicking the transaction log button. If i do this it just backs up to the daily name of my backup file with a .BAK extension and if i put in a different name then i get a message saying the file is not part of a multiple family media set and to create one with BACKUP FORMAT.
I would really appreciate help in understanding what is going on and in particular what to do
Thanks
mike
My .mdf file is about 2gb and my logfile is about 14gb so what i've tried is:
1) I do daily full database backups through sql server agent and my understanding is that these should shrink the log file but they appear to make no difference to the size of the log file.
2) I go into EM and backup the whole db from there where the button on options is set to remove inactive entries from the transaction log.
3) I go into EM and right click on the db - All Tasks - Shrink (where it says i have 83% free space) and click on OK
4) As 3 but go onto Files and then click the log and then ok
5) I've also tried to do a backup just on the log by right clicking the db - all tasks - backup and clicking the transaction log button. If i do this it just backs up to the daily name of my backup file with a .BAK extension and if i put in a different name then i get a message saying the file is not part of a multiple family media set and to create one with BACKUP FORMAT.
I would really appreciate help in understanding what is going on and in particular what to do
Thanks
mike