Monthly Archive for October, 2007

VMWareCopy 0.3

Fixed some minor issues and added two new features:

  •  -start flag, if set image will be started after copy (has no effect if image was stopped by vmcopy tool).
  • NOOP thread. Will send the NOOP command to the FTP server every 5 minutes. This prevents server disconnects on long (e.g. writing directory XML) inactivity.

New version can be downloaded here: VMWareCopy 0.3

VMWareCopy

VMWareCopy is a tool to backup VMWare images running on a MicrosoftWindows VMWare host. It’s designed to be used with VMWare Server andrequires a FTP server to backup the images to.The reason for FTP is simple: it’s way faster then a windows share.A quick sum of the features:

  1. Stop the image before copy and resume it afterwards (uses VMWare VIX).
  2. Write vmware image directory structure to file including file permissions.
  3. Calculate file hashes/checksums of type MD5 and SHA1.
  4. Verify the hash of an uploaded file (need support for SITE HASH command, currently available for Gene6 and SimpleFTP).
  5. Option to skip copy if none of the files has the Archive bit set.

Just run VMWareCopy without arguments to see all the command line options.Download exe, scripts and source: VMWareCopy 0.2

SimpleFTP Server 0.2

What is changed:

  • Uninstaller will first uninstall service.
  • Relative paths are send to the client (e.g. C:\Temp\mydir becomes /mydir).
  • Minor fixes.
  • For those who are interested. The server is based on LightFTPServer by Joel Pobar (http://callvirt.net/blog/). I used icons from the SilkIcons set by Mark James. Took some FileMonitor code from SathishVJ and basically copied the PasswordHash code from Jonathan Bailey.Downloads:SimpleFTP 0.2Simple FTP Src 0.2

    SimpleFTP Server

    I started working on a tool to copy VMWare images running on VMWare Server for Windows. The tool will stop an image if running, will gather various file info in an dir xml and copy it over FTP to a server. After the files are copied the MD5/SHA1 hashes from local and the remote FTP files are compared to make sure the data is written correctly. 
    But this post is not about the copy tool (will post on that one when it’s ready) but a simple FTP server. Sure there are enough servers around. I myself am very found of the Gene6 server. So why bother to write (not from scratch dough) a server? Well it’s fun to do, it’s free to use (most other feature complete servers will cost you) and it can easily be extended.

    If you need a simple (free) server or like to play with C# this project may be of interrest to you. If you like a serious server I can recommend Gene6 FTP Server
    Download installer.
    Download source