Documentation on scripting

Discussion in 'Acronis True Image Product Line' started by jswilson, Oct 5, 2005.

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

    jswilson Registered Member

    Joined:
    Oct 5, 2005
    Posts:
    4
    Where do I find the documentation on scripting?

    I would like to manage the image files at a site. In particular I want to be able to flatten a group of incremental image files into a full image file from a batch program. If that is not possible I am willing to restore the disk image and create a full image file from a batch program.

    I really like the ability to create incremental images in separate files as they are easier on the network. However, to prevent things from getting out of hand they need to be flattened every now and them.
     
  2. Acronis Support

    Acronis Support Acronis Support Staff

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

    Thank you for choosing Acronis Disk Backup Software.

    Please be aware that scripting and command line interface is implemented in the following versions of Acronis True Image: Acronis True Image 8.0 Corporate Workstation, Acronis True Image 8.0 Enterprise Server for Windows, Acronis True Image 8.0 Server for Windows. I'm afraid that the consumer version of Acronis True Image 9.0 does not have such capability.

    I'm sorry for the possible misunderstanding, but it is a little bit unclear to me from your explanation what exact actions you want to perform.

    If you want to merge the initial full image with all it's subsequent incrementals into the one image file then I should say that it is not possible either with or without scripting. Moreover, it is not needed, since all the parts\volumes of the image archive are recognized as the entire image if all of them reside in the same folder.

    If you want just to create\restore images using scripting then I should say that you can do it using any of the mentioned above products. You can find more information on how to use scripting in the respective User's Guides.

    Thank you.
    --
    Alexey Popov
     
  3. jswilson

    jswilson Registered Member

    Joined:
    Oct 5, 2005
    Posts:
    4
    Thanks for the pointer. This appears to be what I am looking for.

    I downloaded Acronis True Image 8.0 Corporate Workstation Trial version. I used the following command to back up drive D:
    Code:
    TrueImageCmd.exe /create /incremental /harddisk:1 /filename:MyBackup.tib
    
    It worked as expected.

    I then deleted a directory on drive D:.

    I tried using the following to restore the contents of drive D:
    Code:
    chkdsk d: /x /i /c
    TrueImageCmd.exe /deploy /harddisk:1 /filename:MyBackup.tib
    
    The purpose of the chkdsk is to dismount drive D: Without it TrueImageCmd.exe complains. While TrueImageCmd acted as if it restored the disk, it did not appear to have done anything.

    What do I need to do to make this work?

    If you have a full image and some incremental images in the same directory how do you specify what you want to restore?
     
    Last edited: Oct 6, 2005
Thread Status:
Not open for further replies.