Link to home
Start Free TrialLog in
Avatar of shpresa
shpresaFlag for United States of America

asked on

how to delete old .bak old files in MSSQL 08

Hello Experts,

I am running sql2008 and I noticed that the free space available is getting smaller and smaller.
I Have many backups and transaction log files from years ago. How can I get rid of them? I am new to this and I was wondering if there is a way to do it the wizard way?
I noticed a shrink database option on the database task... would that get rid of my old backup files???

Any suggestion???
Avatar of Aneesh
Aneesh
Flag of Canada image

create a dos batch file on the server and schedule it to run once a day

http://technicallyeasy.net/2011/02/delete-files-older-number-days-dos/
ASKER CERTIFIED SOLUTION
Avatar of Anuj
Anuj
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial