New Drive Snapshot build released.

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

  1. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    They are reliable. A few years ago I was doing some test entire drive restores of a UEFI system. They failed but could be fixed. A new DS was released a week later which fixed this problem. Otherwise, restores always work. Partition or Entire Drive. UEFI or MBR.

    By the way, DS has its own locking if VSS is unavailable or not wanted.
     
  2. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    Backup almost done.
    Hopefully, the command window will close.
     
  3. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    No. I had to press any key to continue, then it closed.
    I thought we had the command window closing before.
     
  4. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    It will. Unless you have "pause" which you don't. Pause halts the batch file at that line. If you had pause half way through a batch file then that's where it would halt. Pressing Any Key continues the batch file from that line.
     
  5. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    Will there be a conflict if I run another backup on the same day?
    That's why I was asking about adding time to the file name.
     
  6. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    Here's my batch code.
     
  7. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    Great. Let me know the backup image filenames.
     
  8. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    Yes, that's why I posted #1256. We could get serious about this if you plan to have more than one backup each day.
     
  9. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    It would be good if the command window closed, but but it didn't. I don't have Pause in the code.
    I had to press any key to continue
     
  10. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    It only produced 2 files with that code.
    HD1-1-190425.sna
    HD1-3-190425.sna
     
  11. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    So your just finished backup completed and the Command Window remained on the Task Bar? Is there any text in the Command Window? Maybe an Error?
     
  12. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    Yes. But only 2 files. I normally get 3 for my 3 partitions.
     
  13. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    The C:\ image isn't there. Any Error in the Command Window? I wonder if it's related to your VSS messages. Try it without VSS by adding --NoVSS . This uses the DS internal driver.
     
  14. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    I'm trying this code, with both windows starting minimized using the -Gm switch.

     
  15. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    OK. View the Command Window if it doesn't close as there should be an Error message.
     
  16. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    The command window is completely empty so far. 45% done.
    But I doubt if it will close by itself, I'll see soon.

    There isn't a switch that states that opens minimized and closes.
    I like the one with the invisible GUI and the command window displaying the progress, but it only produced 2 files and stayed open.
     
  17. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    I just recalled, "@Echo off" wipes text in the Command Window.

    Here are the VSS options. You and I don't have an Exchange Writer so VSS shouldn't being used.

    DS.png
     
  18. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    If it fails again use this...

    Code:
    CD /d %~dp0
    if not defined RunTask set RunTask=1 & start "Snapshot" /min %SystemRoot%\system32\cmd.exe /c "%0" & goto :EOF
    snapshot64.exe HD1:* "D:\SystemBackup\Drive_Snapshot\$DISK-$DATE.sna" -Gm -o -L0
    That will let you see text in the Command Window.
     
  19. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    The minimized GUI popped onto the desktop, and I clicked OK, and it closed along with an empty minimized command window. 3 files were created.
    C-190425.sna
    HD1-1-190425.sna
    HD1-3-190425.sna

    Snapshot_OK.jpg
     
  20. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    Can you try this...

    Code:
    CD /d %~dp0
    if not defined RunTask set RunTask=1 & start "Snapshot" /min %SystemRoot%\system32\cmd.exe /c "%0" & goto :EOF
    snapshot64.exe HD1:* "D:\SystemBackup\Drive_Snapshot\$DISK-$DATE.sna" -o -L0 --NoVSS
    exit
    You can watch the progress. Hopefully "exit" will close it.
     
  21. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    I just tried it with and without "exit" and the Command Window closed.
     
  22. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    I am just in the process of running this again to see if I get three files and the command window closes. The progress is being displayed in the command window.

     
  23. Hadron

    Hadron Registered Member

    Joined:
    Apr 1, 2014
    Posts:
    2,145
    Which code? The No VSS one?
    Is that a good idea, no VSS?
     
  24. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    I just restored my Entire Drive image, manually. All OK.
     
  25. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,174
    Location:
    NSW, Australia
    Yes, the NoVSS one. DS isn't supposed to be using VSS unless you have an Exchange Writer.

    You will recall IFW can use PHYLock or VSS. DS can use its own driver or VSS.
     
  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.