setting up a jumpbox to backup to windows xp home
Here’s a quick and dirty way to get a JumpBox to backup to a Windows XP Home machine. Look here if you’re dealing with XP Pro. Clicking any of the images in this post will load a larger, and more readable, version of the image.
Step 1: Create the folder you want to store your backups in.
Step 2: Share the folder. Right click the folder and go to “Sharing and Security…”
Under the “Network sharing and security” section, check the “Share this folder on the network” and “Allow network users to change my files” checkboxes. In the “Share name” textbox put the name of your share, in my case “backups”
Step 3: Configure backups on the JumpBox. In the admin interface of the JumpBox, go to the Backups page. For the “Share Type” select Samba. Username and Password are required by the interface in the current version (1.0.1 at the time of this writing), but they don’t matter. Just put something in both fields to get it to work.
The “Server Name” is the IP address of your Windows machine as the JumpBox sees it. In my case, I’m running my Trac JumpBox on my Windows XP Home laptop using VMware Player in “Host-only” networking. To figure out what IP address I need to use I:
- go to start menu and select “Run”, type “cmd”, press Ok
- in the window that comes up, type “ipconfig”
- look for the section that says “Ethernet adapter VMware Network Adapter VMnet1:”
- in this section find the ip address, this is the ip address to use
The “Path” should be whatever you entered under “Share name” in step 2. In my case: “backups”.
Click the “Configure Backups” button, wait for everything to validate. Once its finished check that the “Configuration Status” at the top of the page says “Configured”. Now you’re ready to run backups.
Step 4: Test out your configuration. Click the “Run backup now” button in the JumpBox admin interface. Once it finishes, you should find a .tgz file in your backup folder.
Step 5: We’re not done yet. We had to allow network users to modify the files under the backup share folder. This works fine for the JumpBox, but what if someone else came along, found your share, and decided to delete or take all of your backups?
To fix this, go to the Start menu, click on “Control Panel”, open “Windows Firewall” then click on the “Exceptions” tab. UNCHECK, “File and Printer Sharing”. This will cause Windows Firewall to block all file sharing on your computer.
Now go to the “Advanced” tab and UNCHECK “VMware Network Adapter” entries. This disables the firewall between your computer and the JumpBox running on WMware Player.
Did I mention this is the quick and dirty way to do this? I’m sure there’s a better way of doing this, but I’m no networking or windows guru. Also, this won’t work if the JumpBox isn’t running on the Windows XP Home machine where the backups are being saved.
Step 6: Retest backups to make sure everything is still working. Run another backup from the admin interface and check for the backup file in your share folder.
Hopefully this helps someone. I’ll find a cleaner way of doing this and post a follow up.
Update: If your backups stop working, check that everything you did in step 5 is still valid. I believe that upgrading VMware player resets some of these settings.










