W
Will Dormann
One of the things that TrueImage is currently lacking is some sort of
automated "housekeeping" routine for the created images. For example,
let's say you have a scheduled incremental backup that runs once a week
and creates images on your D: drive. Well, unless you keep up with
deleting old images, the drive is eventually going to fill up and
TrueImage will come back and report that the destination drive is full.
The scheduled backups are great, but to make the backup routine totally
hands-free I made a quick and dirty modification to a disk space
notification VBS file. This script will check the free space available
on the D: drive. If it's less than 1GB, it will remove *.TIB files
from that drive.
It's not as sophisticated as deleting only the oldest backup images as
necessary, but it gets the job done. And TrueImage is smart enough
that if there is no full backup present (such as the case when this VBS
clears the drive of your backups when it is nearly full) when your
scheduled Incremental backup runs, it will create a full backup instead.
i.e., your one scheduled incremental backup will take care of both
full and incremental backups, depending on the presence of existing .TIB
files. Just have this .VBS file run a minute or so before your
TrueImage backup is scheduled to run. Incremental backups will
continue to accumulate on the backup drive until it reaches the
specified capacity. At which point it will delete the backups and start
fresh again.
It should also work for other backup software and not just TrueImage.
-WD
Here it is:
' Sample code for monitoring windows disk space
'
'
set oFs = WScript.CreateObject("Scripting.FileSystemObject")
set oDrives = oFs.Drives
for each oDrive in oDrives
Select case oDrive.DriveLetter
Case "D"
'msgbox oDrive.FreeSpace & vbcrlf
if oDrive.FreeSpace < 1000000000 then ' Less than 1 GB free...
'msgbox "Cleanup Time!"
oFs.DeleteFile("D:\*.tib"),DeleteReadOnly
else
'msgbox "You've got enough space"
end if
End Select
next
automated "housekeeping" routine for the created images. For example,
let's say you have a scheduled incremental backup that runs once a week
and creates images on your D: drive. Well, unless you keep up with
deleting old images, the drive is eventually going to fill up and
TrueImage will come back and report that the destination drive is full.
The scheduled backups are great, but to make the backup routine totally
hands-free I made a quick and dirty modification to a disk space
notification VBS file. This script will check the free space available
on the D: drive. If it's less than 1GB, it will remove *.TIB files
from that drive.
It's not as sophisticated as deleting only the oldest backup images as
necessary, but it gets the job done. And TrueImage is smart enough
that if there is no full backup present (such as the case when this VBS
clears the drive of your backups when it is nearly full) when your
scheduled Incremental backup runs, it will create a full backup instead.
i.e., your one scheduled incremental backup will take care of both
full and incremental backups, depending on the presence of existing .TIB
files. Just have this .VBS file run a minute or so before your
TrueImage backup is scheduled to run. Incremental backups will
continue to accumulate on the backup drive until it reaches the
specified capacity. At which point it will delete the backups and start
fresh again.
It should also work for other backup software and not just TrueImage.
-WD
Here it is:
' Sample code for monitoring windows disk space
'
'
set oFs = WScript.CreateObject("Scripting.FileSystemObject")
set oDrives = oFs.Drives
for each oDrive in oDrives
Select case oDrive.DriveLetter
Case "D"
'msgbox oDrive.FreeSpace & vbcrlf
if oDrive.FreeSpace < 1000000000 then ' Less than 1 GB free...
'msgbox "Cleanup Time!"
oFs.DeleteFile("D:\*.tib"),DeleteReadOnly
else
'msgbox "You've got enough space"
end if
End Select
next