We are using Great Plains on SQL 2000, but I thought I'd post this in the SQL forum rather than Great Plains.
We have a maintenance plan to run an hourly transaction log backup and a daily database backup (separate plans).
The transaction log backup is set up to remove trn files older than 7 days, yet they are not deleting. I have removed and re-set up the maintenance plan, and still the files are accumulating.
We have run into problems where the data drive on the server is full and the server crashes. This is bad and we have no way of being notified when it's filling up (I told the I/T guy to fix that so I get notified but it hasn't been done cuz in my opinion he doesn't know how to do it).
Anyone else know what's wrong and why the files are not being removed? This is the sql statement I found:
EXECUTE master.dbo.xp_sqlmaint N'-PlanID D576F081-6DB6-4DC0-9A66-BEC6681B876C -Rpt "d:\MSSQL$SQL1\LOG\TransactionLogHourly6.txt" -DelTxtRpt 1WEEKS -WriteHistory -VrfyBackup -BkUpMedia DISK -BkUpLog "D:\MSSQL$SQL1\BACKUP" -DelBkUps 5DAYS -CrBkSubDir -BkExt "TRN"'
Thanks!
Barb E.
We have a maintenance plan to run an hourly transaction log backup and a daily database backup (separate plans).
The transaction log backup is set up to remove trn files older than 7 days, yet they are not deleting. I have removed and re-set up the maintenance plan, and still the files are accumulating.
We have run into problems where the data drive on the server is full and the server crashes. This is bad and we have no way of being notified when it's filling up (I told the I/T guy to fix that so I get notified but it hasn't been done cuz in my opinion he doesn't know how to do it).
Anyone else know what's wrong and why the files are not being removed? This is the sql statement I found:
EXECUTE master.dbo.xp_sqlmaint N'-PlanID D576F081-6DB6-4DC0-9A66-BEC6681B876C -Rpt "d:\MSSQL$SQL1\LOG\TransactionLogHourly6.txt" -DelTxtRpt 1WEEKS -WriteHistory -VrfyBackup -BkUpMedia DISK -BkUpLog "D:\MSSQL$SQL1\BACKUP" -DelBkUps 5DAYS -CrBkSubDir -BkExt "TRN"'
Thanks!
Barb E.