Automatic Backup and Shutdown

Discussion in 'backup, imaging & disk mgmt' started by nozzle, Jan 12, 2013.

Thread Status:
Not open for further replies.
  1. nozzle

    nozzle Registered Member

    Joined:
    Jul 3, 2012
    Posts:
    76
    Location:
    San Diego, CA
    I would like to know how to do these in order:

    1) "wake up" my sleeping computer;
    2) run an image backup;
    3)and finally shut down my computer.

    I know the wizards in this forum have an answer to this noobish question.

    Thanks,
    nozzle
     
  2. Jim1cor13

    Jim1cor13 Registered Member

    Joined:
    Aug 4, 2012
    Posts:
    453
    Location:
    US
    Hi nozzle :)

    Are you just using the built in Windows backup? Not sure what you are using, or if you are looking for an app that can do this. I would think one could simply set up a task schedule to accomplish this under windows. Most image apps can be scheduled and you should be able to shutdown post backup.

    I do cold imaging outside of windows, but what you are looking to do should be task oriented I think. Maybe someone with better experience can assist in helping set up a task that will accomplish your request.

    Jim
     
  3. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    8,634
    Location:
    NSW, Australia
    nozzle,

    I agree with Jim. Task Scheduler.

    Which imaging app? Which OS?
     
  4. nozzle

    nozzle Registered Member

    Joined:
    Jul 3, 2012
    Posts:
    76
    Location:
    San Diego, CA
    Thanks for the replies. I found a small app called "WakeupOnStandby" and it works really well.

    I'm using Windows 8 Pro x64 with the classic start button. I bought Image for Windows because of the great reviews found here.

    Thanks again,
    nozzle
     
  5. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    8,634
    Location:
    NSW, Australia
    nozzle,

    You can do everything from a Win8 Basic Task. No extra software needed.

    In the IFW command line have /rb:8


    Edit... You will need the /uy switch too. It follows /b

    /b /uy
     
    Last edited: Jan 12, 2013
  6. nozzle

    nozzle Registered Member

    Joined:
    Jul 3, 2012
    Posts:
    76
    Location:
    San Diego, CA
    @Brian

    Didn't know that. All this DOS like commands make me dizzy (lol).

    This is what I use, but it doesn't seem to work.

    "C:\Program Files (x86)\TeraByte Unlimited\Image for Windows\V2\imagew64.exe"

    /b /uy /um /d:w0@0x1 /f:"E:\IFW\Backup-w0-0x1-$~YYYY$-$~MM$-$~DD$-$~HHMM$" /v

    And, if I don't use the wake up app, will IFW schedule wake the computer in order to run an image?

    Thanks,
    nozzle
     
  7. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    8,634
    Location:
    NSW, Australia
    nozzle,

    I'd change your command line to....

    Code:
    start "" "C:\Program Files (x86)\TeraByte Unlimited\Image for Windows\V2\imagew64.exe" /b /uy /d:w0@0x1 /f:"E:\IFW\Backup-w0-0x1-$~YYYY$-$~MM$-$~DD$-$~HHMM$" /hash /vb /comp:14 /rb:8
    This also generates a Hash file (to create faster diff images, if you need them) and the compression level generates images in half the time and only slghtly larger.

    Let's say your batch file for the above is full.cmd (or full.bat)

    Open Task Scheduler and click Task Scheduler Library on the left and Create Basic Task on the right.

    Name ... Full image
    Daily, weekly, whatever
    Time
    Start a Program
    Browse to full.cmd or full.bat
    Put a tick in Open the Properties dialog for....
    Finish
    Tick in Run with highest privileges
    Configure for Windows 8
    Conditions tab, put a tick in Wake the computer to run this task
    Click OK

    That should wake the computer from sleep, run the backup and shutdown.


    Edit... You can test this method. Create a text file containing this text, "It works". Name it test.txt
    Use exactly the same procedure as above and set it for 5 minutes time. Put your computer to sleep. It should wake on the time and display "It works".
     
    Last edited: Jan 12, 2013
  8. nozzle

    nozzle Registered Member

    Joined:
    Jul 3, 2012
    Posts:
    76
    Location:
    San Diego, CA
    Thank you so much Brian K. You are truly an Imaging Expert and great help to people just starting to learn about Windows.

    Have a wonderful day,
    nozzle
     
  9. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    8,634
    Location:
    NSW, Australia
    See my Edit.
     
  10. Jim1cor13

    Jim1cor13 Registered Member

    Joined:
    Aug 4, 2012
    Posts:
    453
    Location:
    US
    Great to hear you got it as desired nozzle :)

    Indeed, thank you Brian for all of your help.

    Jim
     
  11. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    8,634
    Location:
    NSW, Australia
    nozzle,

    Is it working OK?

    I forgot to mention you can't have spaces in the filename. "full image.bat" won't work.
     
  12. nozzle

    nozzle Registered Member

    Joined:
    Jul 3, 2012
    Posts:
    76
    Location:
    San Diego, CA
    I highlighted your suggested cmd, copied it with notepad and did exactly what you said using task scheduler and it works like a charm. Along with the IFW Manual, I dissected said cmd to see how this worked to satisfy my curiosity.

    I now have two unassisted full images of drive C in my second disk and hungry for more. :D

    Thanks again for helping me,
    nozzle
     
  13. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    8,634
    Location:
    NSW, Australia
    nozzle, that's excellent. Now it's time to consider differential images.
     
Loading...
Thread Status:
Not open for further replies.