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 2000 Forums
 SQL Server Administration (2000)
 Maint job not deleting old files

Author  Topic 

dexter.knudson
Constraint Violating Yak Guru

260 Posts

Posted - 2009-03-05 : 02:03:38
We have a backup job which generally seems to work ok, except it does not delete old files. Any ideas why?
The job owner is a network admin user. Job step is below. Thanks.
----------------------------------------------------

EXECUTE master.dbo.xp_sqlmaint N'-PlanID 7515BBED-9720-415B-B150-43079DF4091E
-To "Notify"
-Rpt "C:\Program Files\Microsoft SQL Server\MSSQL\LOG\SQL Backup4.txt"
-DelTxtRpt 4WEEKS
-WriteHistory
-VrfyBackup
-BkUpMedia DISK
-BkUpDB "D:\SQL\Backup"
-DelBkUps 1WEEKS
-CrBkSubDir
-BkExt "BAK"'
   

- Advertisement -