VMware
1 2 3 ... 25 Previous Next 366 Replies Last post: Oct 8, 2009 11:10 AM by cas5213  

Announcement: New (free) backup utility realease. posted: May 24, 2007 12:56 PM

Click to view mittell's profile Champion 3,096 posts since
Apr 25, 2006
Hello all,

I've written a backup utility, it's currently still in 'beta' but I think I've worked out most of the bugs and it's been working very well for me, so I thought I'd share my work with the community. :)

I'll be trying to update it fairly regularly, hot-clone of a VM or specific VMDK attached to a VM planned for next version.

Please see the readme file here for some initial instructions: http://users.ox.ac.uk/~alexm/README

You can download the utility here:
http://xtravirt.com/index.php?option=com_remository&Itemid=75&func=select&id=5

Once you've extracted the archive, please read the README file in the directory created for instructions on using the utility.

Any problems post them to this thread and I'll try and resolve them, I'll set up a proper website when I have the time.

Alex

p.s. Big thanks to acr for help with testing!


Added link to the latest release - 21st May 2007


Message was edited by:
MR-T: Updated with link to Xtravirt site

Click to view letoatrads's profile Expert 417 posts since
Feb 3, 2006
Thanks for taking the time to write this mittell. I'll definitely give it a whirl and throw you some feedback.
Click to view kix1979's profile Champion User Moderators 3,769 posts since
Oct 14, 2004
Sorry about not testing much, I've been traveling. Look for an email later week :) And so far it works well !
Click to view acr's profile Virtuoso 3,012 posts since
Nov 17, 2005
Great Utility, used it... Love it..

Thanks again Alex.. :)
Click to view MR-T's profile Champion User Moderators 4,146 posts since
Apr 19, 2005
Like Kix, sorry I haven't had a chance to use this yet.

Fingers crossed some lab time is round the corner.

Cheers
Click to view samkshah's profile Novice 27 posts since
Jul 12, 2006
Works like a charm...I backed up about 8 VMs using the script without any issues. Noticed that if we had an option to terminate scheduled backup process, it would have been great for me. I actually started process (scheduled) and then realized that I needed to terminate process. However, the script works great.
Thanks,
samkshah
Click to view HanzdeVries's profile Lurker 4 posts since
Jan 4, 2006
Thanks for the great script, good job!

Can you explain to me why backups of VM's can't be run without committing or flushing the existing snapshots? We use (manual) snapshots on quite a lot of servers and would like to preserve them. VCBMounter doesn't complain about the snapshots, that's why I don't understand why the script does. Thanks in advance!
Click to view HanzdeVries's profile Lurker 4 posts since
Jan 4, 2006
Thank you for the explanation, that clears things up. For a short time I tried your previous script (I think it was called something like smb_backup.sh) and that used vcbMounter, so I assumed the new script also did.

The script is very useful for me, I just have to try and find a way to tackle the 'snapshot-enabled' servers. Thanks again!

Re: Announcement: New (free) backup utility realease.

10. Feb 14, 2007 10:12 AM in response to: mittell
Click to view ISD Plc's profile Enthusiast 91 posts since
Feb 8, 2007
Hi All,

Im going to look at this but wanted to ask a few questions!

our san is a netapp 3050c and a 3020 for DR

now i want to be able to backup the vm's to a volume then replicate that vol to the dr san that I can then use as a datastore in the event of a disaster?

So will this util create copies of the vm's or will it create backup files that can only be 'restored' also does it quiesce any file/cache activity first?

er think that will do for know!
Click to view renski's profile Enthusiast 53 posts since
Jul 5, 2006
this script works nicely.. thanks
Click to view renski's profile Enthusiast 53 posts since
Jul 5, 2006
Hi,

When I try to use this script with the smb option, it fails.

I can't seem to chmod or chown anything on a smbmount from my samba server... I can create and delete files but not change the permissions on them.

Stephen
Click to view renski's profile Enthusiast 53 posts since
Jul 5, 2006
[root@dali vi-backup]# vi-backup.pl -c vi-backup.cfg

*****Virtual Infrastructure Scripted Backup Utility v0.8.4 by Alex Mittell*****

We're running VMware ESX Server 3.0.1 build-32039
-------------------------------------------------
Searching for target VMs....
Locating VM files....
Processing config files....
Target VMs from specified searchspec:

logbook

Snapshotting VM logbook....
Snapshot of logbook successful.
Exporting disks for logbook....
Exporting disk UBUNTU - Logbook Server.vmdk....
Destination disk format: VMFS thick
Cloning disk '/vmfs/volumes/440500b0-6cb6fa4d-412a-0017a4a74e4e/UBUNTU - Logbook Server/UBUNTU - Logbook Server.vmdk'...
Failed to clone disk : File system isn't VMFS. (35)

WARNING: There were one or more errors during the disk export. Please look at the VM log file.
Removing Snapshot for logbook....
Snapshot removed successfully from logbook.
Exporting VM config and log file...
Config and log file exported successfully.
chmod: changing permissions of `/vmfs/volumes/storage1/ESXBackup2/logbook/logbook.restore' (requested: 0700, actual: 0755): Operation not permitted
1 2 3 ... 25 Previous Next Go to original post

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities