IFW Backup Batch Script by Tom Cole - 11-Dec-2024

User discussion and information resource forum for scripting of TeraByte products using script lanugages such as TBScript, VBScript, Batch Files, and more.
YesAndNo
Posts: 52
Joined: Sat Aug 24, 2013 11:14 am

Re: IFW Backup Batch Script by Tom Cole - 01-Mar-2024

Post by YesAndNo »

Hello Tom,

I don't understand this but I thought I'd replaced IFW_PeRe.cmd v4.20 with v4.15 to get it working (and it does work now). However, I just went to check the version of IFW_PeRe.cmd that is working to post here and it is 4.20. I'm really sorry about that, I don't know how that happened or why it wasn't working at first. If it happens again I'll get back.

Many thanks,
Barry.
YesAndNo
Posts: 52
Joined: Sat Aug 24, 2013 11:14 am

Re: IFW Backup Batch Script by Tom Cole - 01-Mar-2024

Post by YesAndNo »

Hello Tom,
There is still something wrong here after all.
I went to make my weekly backups today and, again, it got stuck on trying to find IFW in the normal installed (non PE) location, then abandoned the backup. After a lot of checking and rebooting and retrying I once again replaced IFW_PeRe.cmd with an older one (4.15) which is what I've been using for ages. Rebuilt and replaced the ISO on my USB drive and tried again and all 3 backups that I do worked as normal.

Can't look into it any more today but will check in a day or two.
Regards,
Barry.
TAC109
Posts: 282
Joined: Tue Sep 06, 2011 10:41 pm

Re: IFW Backup Batch Script by Tom Cole - 01-Mar-2024

Post by TAC109 »

Hi Barry

The latest IFW_Backup_Installer.cmd script has code to update the 'set ifw' entries in the user's IFW_Env.cmd file to be compatible with the latest IFW_PeRe.cmd file. Perhaps there was a problem with this?

In any event, I'll need the information requested in this post of mine https://www.terabyteunlimited.com/ucf/ ... 406#p24406 in order to progress this.

Cheers Tom
YesAndNo
Posts: 52
Joined: Sat Aug 24, 2013 11:14 am

Re: IFW Backup Batch Script by Tom Cole - 01-Mar-2024

Post by YesAndNo »

Thanks Tom, I have 3 IFW_Env*.cmd scripts each look like this:

Code: Select all

rem set "ifw=C:\Program Files (x86)\TeraByte Unlimited\Image for Windows\V2\"
set "ifw=C:\Program Files (x86)\TeraByte Drive Image Backup and Restore Suite\"
rem (set ifwp="%ifw%imagew.exe")
(set ifwp="%ifw%imagew64.exe")
The default IFW_Env.cmd file looks like this:

Code: Select all

set "ifw=C:\Program Files (x86)\TeraByte Unlimited\Image for Windows\V2\"
rem set "ifw=C:\ProgramFiles(x86)\TeraByte Drive Image Backup and Restore Suite\"
(set ifwp="%ifw%imagew.exe")
rem (set ifwp="%ifw%imagew64.exe")
All are vn=4.20.
TAC109
Posts: 282
Joined: Tue Sep 06, 2011 10:41 pm

Re: IFW Backup Batch Script by Tom Cole - 01-Mar-2024

Post by TAC109 »

Hi Barry

I have extensively retested the current v4.20 code in my TBWinPE environment and cannot get it to fail.

Could you please post or email me a recent log of a failing run as this might help diagnose the problem.

Also, could you supply some information on the failing system, version of Terabyte's IFW used, and the TBWinPE/RE environment, plus anything else you think might be relevant. A copy of the relevant IFW_Env.cmd file could be helpful as well.

Cheers Tom
YesAndNo
Posts: 52
Joined: Sat Aug 24, 2013 11:14 am

Re: IFW Backup Batch Script by Tom Cole - 01-Mar-2024

Post by YesAndNo »

Thanks Tom, I sent an email with an attachment. As I said in the email don't worry about it if it works for everyone else, I'll just recreate by backup files starting from IFW Backup v4.20 in case the upgrade messed things up.
Best regards,
Barry.
TAC109
Posts: 282
Joined: Tue Sep 06, 2011 10:41 pm

Re: IFW Backup Batch Script by Tom Cole - 01-Mar-2024

Post by TAC109 »

Barry and I found a bug in IFW_PeRe.cmd, which will be fixed in the next release of the package.

Cheers
TAC109
Posts: 282
Joined: Tue Sep 06, 2011 10:41 pm

Re: IFW Backup Batch Script by Tom Cole - 11-Dec-2024

Post by TAC109 »

11-Dec-2024 Vn 5.00 - Enhancements and bug fixes.
  • Changed the installation procedure to use IFW_Backup_Installer.cmd
    only. The old compiled IFW_Backup_Setup.exe program was getting
    flagged as possibly malicious by anti-virus vendors. The current
    download consists of dos scripts and text files only and should
    be less troublesome in this respect.
  • Changed the installer script to optionally set up shortcuts for
    IFW_Backup. It handles any 'overriding shortcuts' specified.
  • Changed the installer script to read overriding sets / shortcuts
    from the new optional IFW_Backup_Installer_n.nn.ini file.
  • Changed the installer script to optionally use GUI dialogues for
    selecting files and folders.
  • Fixed IFW_PeRe.cmd. When running under TBWinPE/RE it would fail if
    the IFW installation directory was not found on any disks. This
    can happen if the hard disks are encrypted, for example.
  • Fixed the default 'set ifw' entry in the IFW_Env.cmd file which
    was formatted incorrectly.
Download from https://bit.ly/3ZNus5N
YesAndNo
Posts: 52
Joined: Sat Aug 24, 2013 11:14 am

Re: IFW Backup Batch Script by Tom Cole - 11-Dec-2024

Post by YesAndNo »

Thanks a lot Tom, haven't installed yet but will before my next backup.
TAC109
Posts: 282
Joined: Tue Sep 06, 2011 10:41 pm

Re: IFW Backup Batch Script by Tom Cole - 11-Dec-2024

Post by TAC109 »

Thanks Barry :)
Post Reply