"shutdown" as pre-processing command

Discussion in 'Acronis True Image Product Line' started by chrizio, Nov 22, 2008.

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

    chrizio Guest

    Acronis True Image 9.0 Home
    The intention is to create automatic backup process.
    Before this process really starts the disk checks should be made.
    Disks locked by running OS are in focus here.

    For this purpose the pre-processing command of first scheduled task (task A) will enable disk checking on system boot.
    Finally the pre-commands of this task will use windows built-in "shutdown" with parameter -r (e.g. restart OS) in order to carry out OS restart.
    1. Will this windows restart interfere Task A in any way ?
    2. Will the task A continue as soon as OS has restarted ?

    Task A makes image of system disk.
    Task A is not really scheduled. It's only a task in order to have reproducible and identical image definition for every backup run.
    This task is started manually from scheduler window.
    Another scheduled task, task B, should create image of the documents disk.
    Start time of the task B is scheduled to time-point somewhere during the disk checking.
    3. Will task B interrupt task A after restart of OS triggered by task's A pre-processing has completed ?
     
    Last edited by a moderator: Nov 23, 2008
  2. chrizio

    chrizio Guest

    Any chance to get a scheduled task continuing after OS restart triggered by its pre-processing command has been carried out ?
     
  3. chrizio

    chrizio Guest

    I found some nice workaround for my restart-before-imaging problem.

    A special scheduled task created. It creates image of a tiny txt file,
    created specially for this purpose. No other usage of this file.
    This task is not really scheduled task but surely a predefined task in order
    to be able to start it on the one-click base.
    This task takes over pre-processing of whole imaging process including scheduling of disk scans
    on next reboot and restarting OS with delay of 60secs.
    Within these 60secs this task will be able to complete image of the special txt file.
    This task is being started manually.

    Two other scheduled tasks do the real imaging. First one scheduled
    somewhen during disk checking is running. Another one 5 minutes later.
    Latter one takes over the post-processing for whole imaging process.

    Thus the only admin's intervention needed: set schedule time for two real imaging tasks
    (to be carried once even if ATI was down in the scheduled time).
    Finally starting the special pre-processing task manually.
     
    Last edited by a moderator: Dec 1, 2008
  4. Acronis Support

    Acronis Support Acronis Support Staff

    Joined:
    Apr 28, 2004
    Posts:
    25,885
    Hello chrizio,

    Thank you for choosing Acronis Disk Backup Software.

    Please accept our apologies for the delay with the response.

    You've created a correct solution on your last post.

    The goal is to create shut down + check disk using standard Windows scheduler (because using reboot command as Pre-command in our software will place the task to reboot loop).

    The main difficult handling your situation is to calculate task completion (it's easy for one test .txt file, but bit complicated for partition backup).

    You may use this workaround:

    1. Create task in Windows for reboot + checkdisk and specify exact time
    2. Calculated time required to complete this task
    3. Create a task in our program several minutes after checkdisk completion
    4. Set option to shut down your PC in our task

    Please refer this article about Windows scheduling tasks.

    Detailed information about Acronis True Image Home product can be found in User's Guide.

    Thank you.
    --
    Alexander Nikolsky
     
  5. chrizio

    chrizio Guest

    Mission impossible. Sorry.
     
Thread Status:
Not open for further replies.
  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.