Cleaning SQL Server backup files

One of the most important tasks for a database administrator is to backup all the databases for security reasons. As a Database administrator we need to make sure that in case of a disaster we will be able to recover our data from any point of time, that’s one of the reasons why

2 Star
2,010 times
Add to favorites
E-mail Twitter Digg Facebook
  • how to delete old SQL Backup files across the server.
    1 Posts | Last post August 21, 2017
    • Hi,
      Is there possibility to create the same script with out any location specific.
      i.e. the script check the complete drives/folders/sub folders for any older SQL backup files and delete them of they are 30 days older.
      I want to create script that check all SQL backup files older then 30 days across the server and delete them if the condition is true.
      Please help me out on this if possible.