Determine Date of Base Image for Differential Backup File ?

User discussion and information resource forum for Image products.

Determine Date of Base Image for Differential Backup File ?

Postby chris » Fri Nov 18, 2011 3:40 pm

Thank you for the new forums.

What is the easiest way within Windows to look at a differential -chg- backup file, and determine the date of the base full-image file that it requires?

I'm deleting older backups for space, and of course cant afford to delete a required full-image file.

Cheers
chris
 
Posts: 12
Joined: Fri Nov 18, 2011 3:25 pm

Re: Determine Date of Base Image for Differential Backup Fil

Postby TeraByte Support(PP) » Fri Nov 18, 2011 11:24 pm

If the backups were created in Windows you could look in the log file (IFW.LOG). A search for the filename (minus the extension) should find it. Otherwise, you could start a validation of the differential, cancel it, and then look in the log (the base/full will be listed). Using the filename you could determine the date, but I'd think normally the filename would be enough.

I usually use filenames for differentials that include the full's name so they stay grouped together. I don't want to have to try and figure it out later.
Paul Purviance
TeraByte Support
TeraByte Support(PP)
 
Posts: 1089
Joined: Thu Aug 11, 2011 5:51 pm

Re: Determine Date of Base Image for Differential Backup Fil

Postby 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.
smileypete
 
Posts: 1
Joined: Mon Nov 21, 2011 2:31 pm


Return to Image for DOS/Linux/Windows