Skip to Content
0
Jan 27, 2014 at 08:20 AM

Log backup purging script required for MaxDB content server (DMS)

119 Views

Hi,

We are taking daily backup and purging the old backup of content server with the below script by scheduling the task .

@echo off

mv F:\backup\<DB>_COM F:\backup\<DB>_COM.old

dbmcli -d <DB>-u control,control -c -i db_backup.txt -t db_backuplog.log

@echo off

As we have also turned on automatic log backup, we need a script to purge logs older than 15 days to avoid running out of disk space issues.

Please suggest script for the same.

OS : Windows 2008 R2

Thanks,

Harsh