Archive for the ‘ Cloud, Devops, Monitoring ’ Category

ESXi backup free solution from Thinware

Hi everybody,

It’s been a long time with out any new post. I’ve been quiet busy with my family and with my new job in the last few months. 🙂

Anyway let’s get going and hit the wall.

I just managed to create a new totally free and automated backup solution for VMware ESXi server which is also free by the way.
So I’m posting my scripts and researches regarding to this solution and share with you guys.

Let’s assume you have your VMware ESXi server up and running with installed free license on it. (unlimited time, but limited features)
If you have this setup then you can’t use for example veeambackup as a free backup/restore solution anymore because the license limit these kind of features. So the solution for this is the Thinware vbackup application. You can download this application from here: http://www.thinware.net/Products/vBackup/tabid/202/Default.aspx You need to login in to do this although.  (right side / login)
So download and install this application and set it up for remote SSH VMware backup. Also you need to download and install VMware virtual disk development kit version: VMware-vix-disklib-5.1.0-774844.i386.exe and VMware Vcenter converter stand alone version: VMware-converter-all-5.0.1-875114.exe. You must use these versions because the latest one wont work properly and you either way wont be able to backup or neither restore the virtual machines properly!  These were discussed on Thinware forum more briefly look it up if you want.

So after you installed Thinware and Vcenter converter and virtual disk development kit is time to set up the settings in Thinware.
Go to tools/settings in Thinware and set the disk development kit and Vcenter converter’s directory.

thinware_pref

 

If these settings not been setup then the backup/restore wont work. It will complain straight away regarding to these missing settings.
So it’s time to browse up the ESXi server and set up the hosts also.

host_srv

 

Only need to fill up the name which can be an IP address if your server has not been added to local DNS server.
And also put your ESXi server username(root) and password.

In the next window you will see the hosts from the ESXi server, so you can add all of them or whichever you want to make backup of it.
Next one create the actual backup job. Add a name of like backup and choose from the drop down type menu Backup-Image-SSH.

backup

 

Then choose the backup root drive where the host(s) will be backed up.

backup_root

 

Then finish the wizard and right click on the backup job and execute it. Choose the debug brake point after option when it asks for it.
You will have a new terminal window where you can see the actual logs of the full backup process like: Creating snapshot, converting the disks etc…

backup_terminal

 

You can schedule this backup with Windows scheduler, the current Thinware does not support this yet.

This is the script for the Windows scheduler to run the backup every week or day or whatever time schedule you would need:

backup.cmd

####
cd C:
\Program Files (x86)\Thinware\vBackup

vBackup.exe -v Nagios -j backup
date /t >> C:\Users\Administrator\Desktop\backup-check.txt
time /t >> C:\Users\Administrator\Desktop\backup-check.txt
eventcreate /T Success /L APPLICATION /ID 100 /D “VMware backup was successfull”
####

 

The next post will be about how to restore host with this backup system.
Enjoy it! 🙂

 
Show Buttons
Hide Buttons