on 01-27-2014 8:20 AM
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
Hi,
I'm using something like this:
forfiles /P F:\Backup\bcksdblog /D -15 /C "cmd /c del @path"
Regards
Antonio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.