Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
Tetelu
byTetelu, September 30, 2013
Nice script, it does the job.
The cause for the error mention by seanmylne is that there are too many xml files in
c:\program files\veritas\backup exec\nt\data
or
c:\Program Files\Symantec\Backup Exec\Data
depends on your version.
I've made a bat script to fix the error with "Too much XML files" and set it to run daily.
---
@echo off
set bakpath=^0x22C:\Program^ Files\VERITAS\Backup^ Exec\NT\DataBackup\backupxml^0x22
forfiles -p "C:\Program Files\VERITAS\Backup Exec\NT\Data" -s -m BE*.xml /D -20 /C "cmd /c mv @path %bakpath%"
---
Note:
DataBackup\backupxml - the folders need to be created or changed.
/D -20 = 20 is the number of days to keep the files.
You could also just delete the files, etc.
Hope it helps.
The cause for the error mention by seanmylne is that there are too many xml files in
c:\program files\veritas\backup exec\nt\data
or
c:\Program Files\Symantec\Backup Exec\Data
depends on your version.
I've made a bat script to fix the error with "Too much XML files" and set it to run daily.
---
@echo off
set bakpath=^0x22C:\Program^ Files\VERITAS\Backup^ Exec\NT\DataBackup\backupxml^0x22
forfiles -p "C:\Program Files\VERITAS\Backup Exec\NT\Data" -s -m BE*.xml /D -20 /C "cmd /c mv @path %bakpath%"
---
Note:
DataBackup\backupxml - the folders need to be created or changed.
/D -20 = 20 is the number of days to keep the files.
You could also just delete the files, etc.
Hope it helps.