Hyper-V Program Manager
A common question is how to quickly and easily backup a virtual machine under Virtual Server. There are a number of ways to do this - each of which have their own advantages and disadvantages. Today I am going to show you how to have a simple script that 'save states' a virtual machine, copies the virtual machines files, and restores the virtual machine. The advantage of this approach is that it will work no matter what guest operating system you are running - however the disadvantages are that it will take the virtual machine offline for a period of time, and depending on the size of the virtual machine it may take a while to make the backup copy. This script takes two command line parameters - the first one being the name of the virtual machine to backup, while the second one is the name of the path to backup to:
See - easy. One interesting scripting note (which I could not find anywhere else) is that the ",1,True" option at the end of the objShell.Run command tells the vbScript to wait until after the command is completed - which is critical for this script.
Ben thank you very much.
I am currently running virtual server in test environment.
just to be on the safe side - would this method be ok for
backing up AD DC server as well?
thanks in advance,