IFW Backup Batch Script by Tom Cole - 31-Jan-2020

User discussion and information resource forum for scripting of TeraByte products using script lanugages such as TBScript, VBScript, Batch Files, and more.
TAC109
Posts: 252
Joined: Tue Sep 06, 2011 10:41 pm

Re: IFW Backup Batch Script by Tom Cole - 31-Jan-2020

Post by TAC109 »

31-Jan-2020 Vn 4.14 - Bug fix.

- Fixed an error in three of the 'MyDefrag' scripts.
- Changed the 'MyDefrag' scripts to not defrag 'swapfile.sys'.

Download from http://bit.ly/2RDYYM9
My IFW backup batch script:- http://bit.ly/2xTuLyw
skunk
Posts: 1
Joined: Fri Sep 06, 2019 1:32 pm

Re: IFW Backup Batch Script by Tom Cole - 31-Jan-2020

Post by skunk »

I'm way late, but these scripts are amazing. Much <3.
TAC109
Posts: 252
Joined: Tue Sep 06, 2011 10:41 pm

Re: IFW Backup Batch Script by Tom Cole - 31-Jan-2020

Post by TAC109 »

Thanks for the compliment!
My IFW backup batch script:- http://bit.ly/2xTuLyw
YesAndNo
Posts: 38
Joined: Sat Aug 24, 2013 11:14 am

Re: IFW Backup Batch Script by Tom Cole - 31-Jan-2020

Post by YesAndNo »

I've been using these scripts for a long time, they've been great.
Something strange happened today though, I got a 'disk full' error message part way through backup. It didn't delete old backups as would be normal. I did however force a full backup as I'd made changes to partition size, don't know if that could be the problem. Other than that, maybe I've got something set up wrong.

If you have any ideas on this, please let me know.
Many thanks.
TAC109
Posts: 252
Joined: Tue Sep 06, 2011 10:41 pm

Re: IFW Backup Batch Script by Tom Cole - 31-Jan-2020

Post by TAC109 »

Hi YesAndNo

The script calculates the space required for the next full backup based on the size of the previous full backup multiplied by a percentage. If the backup sizes are very different then the script can run out of space, as you have found. (The percentage to be used in the calculation is specified by the 'msf' entry in the IFW_Env.cmd file, and the default is usually set to 130).

If you start the script from the 'IFW Backup - Options' shortcut, there is a menu item '2 - Space needed for next backup' where you can enter the number of megabytes estimated for the next backup. After specifying this, when you run the next backup, sufficient old backups will be deleted to free up at least that amount of space.

Hope this helps and you are keeping well.
My IFW backup batch script:- http://bit.ly/2xTuLyw
YesAndNo
Posts: 38
Joined: Sat Aug 24, 2013 11:14 am

Re: IFW Backup Batch Script by Tom Cole - 31-Jan-2020

Post by YesAndNo »

Thanks a lot Tom, I appreciate it.
Difficult to guess the size of the next backup though, I suppose take the size of the last full and add 50% or something, or maybe double it. Will give it a go.
Thanks again.
TAC109
Posts: 252
Joined: Tue Sep 06, 2011 10:41 pm

Re: IFW Backup Batch Script by Tom Cole - 31-Jan-2020

Post by TAC109 »

If you look at the stats from the start of the failed run you can then use menu item 2 to input a size that will force the script to delete the oldest backup (full plus associated changes). Hopefully there will then be enough room to repeat your last backup successfully. You can repeat this procedure if necessary.
My IFW backup batch script:- http://bit.ly/2xTuLyw
Post Reply