by smileypete » Mon Nov 21, 2011 2:47 pm
I usually date stamp the backup but make it the first part of the filename. For a differential backup I do an automatic search for the most recent full backup and always use that.
Viewing the images directory sorted by name then gives a list of backups in date and time order, the differential backups are always based on the preceding full backup.
If you're OK with batch files, you might be able to adapt the following to what you want.
Full Backup.BAT
-----------------------------------------
start "" "C:\Program Files\TeraByte Unlimited\Image for Windows\V2\imagew.exe" /b /d:w1@0x1 /f:"E:\Backups\Images\$~YYYY$-$~MM$-$~DD$-$~HHMM$ Full Backup" /v /desc:"Full Backup of C Partition"
-----------------------------------------
Changes Backup.BAT
-----------------------------------------
for /f "delims=" %%x in ('dir /od /a-d /b "E:\Backups\Images\*Full Backup.TBI"') do set latest=%%x
start "" "C:\Program Files\TeraByte Unlimited\Image for Windows\V2\imagew.exe" /b /base:"E:\Backups\Images\%latest%" /f:"E:\Backups\Images\$~YYYY$-$~MM$-$~DD$-$~HHMM$ Changes Backup" /v /desc:"Changes Backup of C Partition"
-----------------------------------------
(Some of the above lines got word-wrapped but will be OK pasted and copied into Notepad).
You could even incorporate the time stamp of the full backup into the filename of the changes backup, but I find I don't need it with the above method.
cheers,
Pete.