Drive snapshot script help needed

Discussion in 'backup, imaging & disk mgmt' started by n8chavez, Apr 8, 2014.

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

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    Hello all,

    I recently rediscovered my old friend drive snapshot. I forgot how I liked it. I prefer to use the scripting ability that drive snapshot offers, but I'm having a little trouble updating my script. Tom suggests that the disk image be verified as part of another step in the script file, and not directly after the disk image has been created (the -T command). He recommends this especially be done in script files. The problem is I cannot figure how to accomplish this without inadvertently imaging my disk second time. Hopefully someone will be able to help me.

    The below script is what I am currently using. It works fine, but it does not follow Tom's suggestions.

    Does anybody know how to alter my scripts to accomplish what Tom suggests be done?
     
  2. andylau

    andylau Registered Member

    Joined:
    Jan 27, 2006
    Posts:
    698
    snapshot x:\image.sna -T

     
  3. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,347
    Location:
    Location Unknown
    Thanks. But I've already read that page, which is how I know that Tom suggests the verification command be run separate from image creation (more than just using the -T switch). He says "However (in particular in batchfiles) it's probably better to test the image separately." To me that mean verifying the image after creation and not just with the -t switch. Am I wrong?
     
  4. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,151
    Location:
    NSW, Australia
    What does Tom suggest?
     
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.