I've been using Veeam successfully for a while now, however I am attempting to fine tune our backup solution as data has increased it is causing my previously working copy to tape script to have an issue.
Basically the script identifies the Day of the Week, and on a Saturday it calls a different job (different tape retentions) however as jobs are now dragging onto Saturday morning I am duplicating the amount of data being sent offsite (not 100% of the time but enough to be a pain) are there any scripting wizards that have written something to detect day of the week and not rerun multiple times in a day?
- Code: Select all
wmic path win32_localtime get dayofweek > actinium.txt
find/i "6" actinium.txt > nul
if errorlevel 1 goto Daily
Echo "Actinium Weekly Running"
"C:\Program Files\Symantec\Backup Exec\bemcmd.exe" -o1 -jActinium_Weekly
Echo "Actinium Daily Running"
"C:\Program Files\Symantec\Backup Exec\bemcmd.exe" -o1 -jActinium_Backup
This code is my current job, I guess I could make use of flag files and if exists type thing but I'm really a novice at writing scripts so it would end up being a mother of a script that probably will end up failing
Any help would be greatfully appreciated.