Thursday, May 29, 2008
Tuesday, May 27, 2008
Sunday, May 11, 2008
Sunday, May 4, 2008
RTFM Education » Blog Archive » VCB - Backup all running VMs
RTFM Education » Blog Archive » VCB - Backup all running VMs: "As student on my course last week gave me a little one line batch file that will backup every running VM on VC. This is it here:
for /f “tokens=2 delims=:” %%i in (’vcbvmname -h virtualcenter.rtfm-ed.co.uk -u administrator -p password -s Powerstate:on ^| find “name:”‘) do @rd /s /q “D:\Backups\All\%%i” &vcbmounter -h virtualcenter.rtfm-ed.co.uk -u administrator -p password -a name:”%%i” -r “D:\Backups\All\%%i” -t fullvm > “D:\Backups\All\%%i.log”
This use the vcbvmname command to search for just the VMs that currently powered on. It then pipes that information to the vcbMounter command to start a FullVM style backup. The progress of each backup is recorded in the LOG files for each VM."
for /f “tokens=2 delims=:” %%i in (’vcbvmname -h virtualcenter.rtfm-ed.co.uk -u administrator -p password -s Powerstate:on ^| find “name:”‘) do @rd /s /q “D:\Backups\All\%%i” &vcbmounter -h virtualcenter.rtfm-ed.co.uk -u administrator -p password -a name:”%%i” -r “D:\Backups\All\%%i” -t fullvm > “D:\Backups\All\%%i.log”
This use the vcbvmname command to search for just the VMs that currently powered on. It then pipes that information to the vcbMounter command to start a FullVM style backup. The progress of each backup is recorded in the LOG files for each VM."
Friday, May 2, 2008
Thursday, May 1, 2008
Subscribe to:
Posts (Atom)