| Here is an example... It's the procedure we used before we started to make
backups with Networker. Basically, it does what you want (after a few updates).
You'll need to create two entries with the AT command (one for Friday with the
parameter "normal", and one for the other days with "incremental".
Michel.
---- backup.bat ----
if "%1"=="normal" goto b_normal
if "%1"=="incremental" goto b_incremental
goto exit
:b_normal
rem
rem ** normal (full) backup **
rem
del c:\backup\backup.old-4
rename c:\backup\backup.old-3 backup.old-4
rename c:\backup\backup.old-2 backup.old-3
rename c:\backup\backup.old-1 backup.old-2
rename c:\backup\backup.log backup.old-1
ntbackup backup j:\ /b /v /d "\\GEO-OFFICE-2\J$ normal" /hc:on /t normal /l "C:\BACKUP\BACKUP.LOG" /e /tape:0
goto exit
:b_incremental
rem
rem ** incremental backup **
rem
ntbackup backup j:\ /a /v /d "\\GEO-OFFICE-2\J$ incremental" /hc:on /t incremental /l "C:\BACKUP\BACKUP.LOG" /e /tape:0
goto exit
:exit
|