New Drive Snapshot build released.

Discussion in 'backup, imaging & disk mgmt' started by Aaron Here, Dec 10, 2010.

  1. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    Even though I have "Maximum image single file size set to 0"? I guess it can't hurt.
     
  2. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    Hi Brian. It's fixed. I added --UseVSS to the end, plus I also made "Always use VSS if available (--UseVSS)" as default in the advanced settings. It's probably not needed twice, but it works.

    DS_Volume_Snapshot_2.jpg

    It didn't exit by itself though now.
    Would it be because I has the Command window open on the Desktop?

    Also. Is it possible to change the file names if I keep the three files in the same naming format?
    Or does it mess things up in a restoration?

    For example.

    From this:
    C-190425.sna
    HD1-1-190425.sna
    HD1-3-190425.sna

    To this?
    C-123456.sna
    HD1-1-123456.sna
    HD1-3-123456.sna
     

    Attached Files:

    Last edited: Apr 25, 2019
  3. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    I can't remember which code I had the command window closing on now, but it's alright. I have "exit" at the end too.

    It's OK, I get to view the result and see if it succeeded. It just says, "Press any key to continue" and the window closes.
     
    Last edited: Apr 25, 2019
  4. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    That's great work. I'm happy with your Snapshot log file too.

    Mine always exits whether on the desktop or Task Bar. So I don't know.

    Is this in case of a second backup in the same day? It's probably OK.
     
  5. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    An idea. Try this...

    Code:
    @echo off
    CD /d %~dp0
    if not defined RunTask set RunTask=1 & start "Snapshot" /min %SystemRoot%\system32\cmd.exe /c "%0" & goto :EOF
    start "" /wait snapshot64.exe HD1:* "D:\SystemBackup\Drive_Snapshot\$DISK-$DATE.sna" -o -L0 --UseVSS
    exit
     
  6. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    That's exactly right.
     
  7. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    Trying your new code now.
     
  8. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    No good.
    Two Command windows open.
    One on the Desktop, and one minimized.

    The minimized windows is doing the log, and the one on the Desktop, asks Terminate Batch? Yes/No
     
  9. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    OK. Remove....
    start "" /wait

    I'll keep thinking.
     
  10. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    Thanks for all your help, Brian.
    I really appreciate it.

    It's OK that I get to view the result and see if it succeeded. It just says, "Press any key to continue" and the window closes. But it would be good to have the other option.

    I am a long time supporter of Reflect, but since I moved from v6 to v7, I have lost confidence in it for a number of reasons. So, I have started to look for an alternative.
    I should have stuck with v6. I never had any problems with v6. But I was getting emails with special deals. Isn't it amazing how great solid programs can go down hill fast. I used to spread the word about Macrium Reflect, but I can't at this point in time.

    I always like to have two backup programs that I can rely on.
    The other one that I still rely on is Image For Windows. So, I need a second one, and I am hoping Drive Snapshot will do it for me. :thumb:
     
  11. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Hadron,

    Do you run the batch file with a double click or right click, Run as Admin? I do the latter.
     
  12. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    When I run from the batch, I run as Admin, but sometimes I've been testing via Task Scheduler.
    Is there a setting Task Scheduler we need to change? I've been thinking about that. What about "Run whether user is logged on or not?"

    I'm trying now.
     
  13. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    It just runs invisibly if I do the above.
    I didn't know it was running at first. I'd rather have some indication that it's running.
     
  14. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    That makes it invisible. Use the other one.
     
  15. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Forget Sched Tasks for this answer. Do you right click the batch file and click Run as Administrator?
     
  16. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    I do when I run from the batch. I do it for almost everything, including installers.
    Do you want me to test running straight from the batch as Admin?

    Edit: I'm running straight from batch as Admin now.
    I just added an underscore to the end of the 3 file names I just backed up to avoid a conflict. I hope it restores doing that.
     
  17. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Can you confirm that is a right click of the batch file and Run as Admin?

    If the batch file doesn't close, try double clicking the batch file.
     
  18. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    hit ANY Key to continue o_O
    DS - hit ANY Key to continue.jpg
     
  19. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    I wonder whether it's not closing because of the VSS "messages". Can you try a backup of the Win10 partition alone and see if it closes. A line like this...

    Code:
    snapshot C: "E:\My Documents\WinXP.sna" -L0 -o --UseVSS
     
  20. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    Yes, I can confirm that.
     
  21. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    How will I do that with a batch?
    At some point today, it was closing.
    But that's before I added --UseVSS to the code and to the GUI.
    But I was getting that other "can't exclude" problem.
     
  22. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    Code:
    @echo off
    CD /d %~dp0
    if not defined RunTask set RunTask=1 & start "Snapshot" /min %SystemRoot%\system32\cmd.exe /c "%0" & goto :EOF
    snapshot64.exe C: "D:\SystemBackup\Drive_Snapshot\$DATE.sna" -L0 -o --UseVSS
    exit
     
  23. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    If this one closes it does suggest the VSS "messages" are making you read the log.
     
  24. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    No luck, unfortunately.

    DS.jpg
     
  25. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,175
    Location:
    NSW, Australia
    I just used the above script and got the same result as you.

    ds2.png

    There is a flashing cursor after "hit ANY Key to continue" so the "exit" line hasn't been reached. We will have to accept this behaviour.
     
    Last edited: Apr 25, 2019
  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.