Yep I do and sorry to say recommend it. It is native, it does not require agents etc to be loaded to do the job. I have restored many different companies data using it. When doing a RAID upgrade I always (ALWAYS) stop services and use native NTBACKUp to do a final "If this does not save me " backup. IT HAS NEVER let me down. The ability to easily email would be nice. An example of batch file for a NAS device on network that has a large tape device. All systems then backup to it during evening and then NAS does backup to tape.
All Variables, so easy.... Then I email or post log to web page. Joy is I can do what I want unlike veritas (OMG Media Problems)
Thanks all but I must be wrong as all others say I am !!!!!!!!!
@echo off
pushd c:<somedir>backup
set nasdevice=\<name or IP Address>backup%computername%
set backlog="%userprofile%Local SettingsApplication DataMicrosoftWindows NTNTBackupdata"
set backcat="%userprofile%Local SettingsApplication DataMicrosoftWindows NTNTBackupcatalogs"
for /f "tokens=1" %%f in ('date /t') do set dayweek=%%f
for /f "tokens=2" %%f in ('date /t') do set today=%%f
if "%dayweek%"=="Fri" goto Friday
goto Standard
:Standard
del /q %nasdevice%%dayweek%*.*
echo %dayweek%
set today=%today:/=%
ntbackup backup "@c:<somedir>backupsys-full.bks" /n "System Full %today%" /d "System Full %today%" /v:no /r:no /rs:no /hc:off /m normal /J "System Backup %today%" /l:s /f "%nasdevice%%dayweek%%today%.bkf"
goto End
:Friday
Rem Set a variable and then index files in Fri directory and increment variable.
Rem If number of files in directory is less than 5 then skip delete.
REM Delete oldest file.
set /a numb=0
For /f %%f in ('dir /b %nasdevice%%dayweek%*.bkf') do set /A numb+=1
if /I %numb% LEQ 4 goto skip_delete1
dir /b /O:d %nasdevice%%dayweek%*.bkf > temp.txt
for /f "tokens=1" %%f in ('head.exe -1 temp.txt') do del %nasdevice%%dayweek%%%f
:skip_delete1
set /a numb=0
For /f %%f in ('dir /b %nasdevice%%dayweek%*.log') do set /A numb+=1
if /I %numb% LEQ 4 goto skip_delete2
dir /b /O:d %nasdevice%%dayweek%*.log > temp.txt
for /f "tokens=1" %%f in ('head.exe -1 temp.txt') do del %nasdevice%%dayweek%%%f
:skip_delete2
set today=%today:/=%
ntbackup backup "@c:<somedir>backupsys-full.bks" /n "System Full %today%" /d "System Full %today%" /v:no /r:no /rs:no /hc:off /m normal /J "System Backup %today%" /l:s /f "%nasdevice%%dayweek%%today%.bkf"
Goto End
:End
rem delete catalogs
del /q %backcat%*.V01
rem Copy newest log to backup path
dir /b /O:-d %backlog% > temp.txt
for /f "tokens=1" %%f in ('head.exe -1 temp.txt') do copy %backlog%%%f %nasdevice%%dayweek%%today%.log
del temp.txt
popd