Image For Windows

Discussion in 'backup, imaging & disk mgmt' started by Stigg, Apr 15, 2014.

  1. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    This will fix the diff time and Windows intervention (/uy /hash)...

    set TBIParms=/b /uy /d:w1 /comp:12 /hash /enc:3 /nt /geoa2k /pw:

    In Scheduled Tasks select "Run whether user is logged in or not". Then you won't see the GUI when IFW runs.

    Also, another /uy...

    set TBIDifParms=/uy /v
     
  2. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    Thanks for that. But I meant, is there a way to get IFW to not prompt for the password when creating diffs? I'm running the reworked script now and I'll let you know the results.

    Thanks Brian!
     
  3. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    It seems to work just fine; the full images are created along with the differential. But I am curious, what changes dud you make in the parameters? Images time was reduced by a third with /comp:12 and by 2/3 with /comp:14. That's crazy fast. The resulting images are a tad larger with /comp:14 but....geez! I can create a fill image in about 6 minutes, about 50 gb of data, and a differential in 5!
     
  4. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    You need to edit this...

    TBIDifParms=/uy /v

    with /enc:3 /pw:

    I don't understand.

    I like /comp:14 as the backups are faster and the restores are faster. The more you compress the image, the longer the backup and restore times. Admittedly the image size is a bit larger with /comp:14 but I do lots of restores, so for me it's a good compromise.
     
    Last edited: Dec 14, 2016
  5. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    I think these switches cause the increase in creation time /enc:3 /pw: . I'm just going to get rid of them and use /comp:14
     
  6. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    /comp:14 is the default so these are the same...

    TBIDifParms=/uy /v /comp:14

    TBIDifParms=/uy /v
     
  7. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    You could do auto restores from an IFL UFD using a script similar to this...

    Code:
    #! /bin/sh
    /tbu/imagel --r --uy --d:l0 --f:l1@0x1:"/My Backups/nate*" --v --vb
    shutdown -r
     
  8. routerguy99

    routerguy99 Registered Member

    Joined:
    Sep 25, 2008
    Posts:
    109
    • Version 3.05 - December 17, 2016
    • Added /del (DelUsedHash) backup option for changes only backup to delete hash files used (if any).
    • Added new .#_# hash file to support changes only backup while moving .tbi files elsewhere.
    • Changed the file created by consolidation (/combined) to remain the base of any remaining backups in the chain when the /del (DelCombined) option is used.
    • TBWinPE builder updated.
    • Other potential changes, updates and enhancements.
     
  9. Stigg

    Stigg Registered Member

    Joined:
    Jun 13, 2012
    Posts:
    454
    Location:
    Dededo, Guam
    Thanks for the update info.
     
  10. Peter2150

    Peter2150 Global Moderator

    Joined:
    Sep 20, 2003
    Posts:
    20,590
    Okay, can someone translate those changes into english. What do I gain by updating from 3.04

    Pete
     
  11. TheRollbackFrog

    TheRollbackFrog Imaging Specialist

    Joined:
    Mar 1, 2011
    Posts:
    4,953
    Location:
    The Pond - USA
    If you don't use Terabyte's "incremental" capabilities (changes only), almost nothing affects you. If you do, and move those files around, in many cases you must carry around various separate HASH files so that their processing may occur properly elsewhere. Also an option to clean up those separate HASH files when no longer needed.
     
  12. Peter2150

    Peter2150 Global Moderator

    Joined:
    Sep 20, 2003
    Posts:
    20,590
    Thank you sir
     
  13. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    Interestingly, the IFWRotate script cannot correctly function is your base storage location for *.tbi files is in a partition root. That's a shame. I created a partition just for backups and the script doesn't like that. When I run it full images are always created, even if I run it a second time directly after. No differentials are ever found is the location of storage is a root; B:\ as opposed to B:\TBI. The latter works fine,

    Any idea why that is,or how to fix that?
     
  14. MudCrab

    MudCrab Imaging Specialist

    Joined:
    Nov 3, 2006
    Posts:
    6,483
    Location:
    California
    Don't include the trailing backslash for the drive and it should work. For example, just use B: (instead of B:\).
     
  15. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    Thanks! That worked perfectly!!
     
  16. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
  17. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    Sorry, I don't understand what you are trying to do.
     
  18. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    The script currently calls for 1 full images to be created every week, and then daily incrementals every day, with a total of 5. That means that on day 6 we'll have 1 full image and 5 incrementals. Then the next time the script is run, presumably the next day, another full images will be created. That full image will contain everything already contained in the daily incrementals that were created before it. Essentially, after a full image is created there is then no need to also have the incramentals. So, how can I alter the script to delete them?
     
  19. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    I assume you mean differentials rather than incrementals. Don't you want daily images going back a week or so? It is sometimes useful to restore to a particular day in the past rather than to the most recent image. If you delete the differentials you will only have 2 images, a week apart. Nothing in between. But if that is what you want to do you could add a Robocopy line to the end of the Full script. Robocopy could delete all *diff*.TBI. Or you could have a separate Robocopy script that will delete any *diff*.TBI older than a certain number of days.
     
  20. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    Let's assume your images are in F:\source
    You could use this...

    Code:
    MD "F:\source\delete"
    robocopy "F:\source" "F:\source\delete" *DIFF*.TBI /move /create /minage:6
    RD "F:\source\delete" /s /q
    ... to delete any diff older than 6 days. Please test the script in a non critical folder.
     
  21. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    I could to that, but then that requires copying 50gb of data every time I want to delete something? Since I switched from my SSD, that's slow. Also, if I don't deleted the differentials, then, what, I keep them forever? That doesn't seem practical?
     
  22. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    No, the script takes 1 second to run and then the relevant diffs are gone. No copying of 50 GB.
     
  23. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    Really? This line: robocopy "F:\source" "F:\source\delete" copy anything from F:\source to F:\source\delete. If the file I need to delete is large, it will need to be copied to F:\source\delete first. Swing and a miss Brian K.

    On another note, is it possible to auto-restore; auto-restore after reboot similar to how Macrium does it? I have an older, less technically-inclined friend, and she asked for some help with software. But I think IFW/IFL will be too much for her as it's not as gui-driven.
     
  24. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,146
    Location:
    NSW, Australia
    Try it. It takes 1 second.
     
  25. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    I have tried it. My results are not what yours are. I think that maybe you are forgetting there's a difference between robocopy and regular copying within windows. Robocopy takes much longer, but is more accurate.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.