Cool 'quick backup' script for Virtual Server

Cool 'quick backup' script for Virtual Server

  • Comments 4

Jeff Trumbull has just posted a very cool 'quick virtual machine backup' script for Virtual Server at: http://cwashington.netreach.net/depo/view.asp?Index=1049&ScriptType=vbscript

The big trick involved in this script is that he uses vshadow.exe from the VSS SDK to make shadow copies of the virtual machine files - with a process that goes something like:

  1. Save state running virtual machines
  2. Create shadow copies of all virtual machine files
  3. Restore virtual machines
  4. Backup shadow copies at your leisure

Given that step 2 is pretty much instantaneous this means that you are able to backup your virtual machines for the cost of a save state and immediate restore.

Cheers,
Ben

Leave a Comment
  • Please add 7 and 7 and type the answer here:
  • Post
  • Can't get any output, is there anyone that can help? scott.tarr-whelan@mcdata.com
    Thanks

    I see it stopping and starting the shadow copy?
  • Can't get any output, is there anyone that can help? scott.tarr-whelan@mcdata.com
    Thanks

    The only change is where I put the backupfile?
  • Scott -

    Have you tried emailing Jeff?

    Cheers,
    Ben
  • Ben,

    Do you also know a way of programmatically identifying a virtual pc from within a virtual pc?

    Thanx,
    Jack
Page 1 of 1 (4 items)