.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Sql Server >> Post New QuestionBookmark and Share Subscribe to Forum

delete backup files in sql server

Posted By: Deco     Posted Date: September 27, 2010    Points:2   Category :Sql Server
i have scheduled a backup job and it is storing the backup in
c:\SqlServerBackups\

it's storing the backup file in the format

ShippingBackup_12-08-2010

i'm concatenating the date in

select convert(varchar,getdate(),105)

please help me in deleting the backup files which is older than 10 days

Responses
Author: Suthish Nair             
Posted Date: September 27, 2010     Points: 5   


might helps:

http://www.sqlmonster.com/Uwe/Forum.aspx/sql-server-tools/4237/Script-to-delete-backup-files-which-are-7-days-old

http://www.mssqltips.com/tip.asp?tip=1324

suthish nair
Author: Deco             
Posted Date: September 27, 2010     Points: 5   

Can anyone get me the script?

i don't want to see the reference link given above because

i have restriction in accessing websites.

Regards,
Deco


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend