Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Deleting Old Bak files

Author  Topic 

guaro5555
Starting Member

16 Posts

Posted - 2013-03-18 : 15:56:33
Hi gurus again

I created a MP using the wizard to delete old bak files, then I try to run the job and it does well, it says the
Star Job "success" and execute job "success"

but the files are still there, how can I troubleshoot this issue.

Thanks a bunch for all your help

chadmat
The Chadinator

1974 Posts

Posted - 2013-03-19 : 00:10:56
If the extension is .bak remove the "."

-Chad
Go to Top of Page

guaro5555
Starting Member

16 Posts

Posted - 2013-04-08 : 12:28:38
Thanks chad

I have created a daily backup with the following options
create a backup file fro every database
create a sub-directory for each database
and the I have the path \\server\shared folder\ individual folder for each database so look like this on my share folder
\\server\shared folder\ database\bak files
database2\bak files
database3\bak files
database4\bak files
I need to go and delete bak files that are older than 14 days, so I created a clean up task

to search for folder on the path \\server\shared folder include first level folder
but nothing get clean on the storage location

what am I missing

Thanks gurus
Go to Top of Page
   

- Advertisement -