Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 675
  • Last Modified:

Trying to take snapshots of a VM machine and save it to USB Drive

I am trying to take snapshots of our Virtual Machines. I am running ESX server 3.5.  I have 10-15 VM that i need to take snapshots of, they are currently located on a SAN.  I have a Virtual Center machine that lets me log into Infrastructure

1.What machine should i hook up the USB drive to?  
2.What are the steps for creating a snapshot?

Thanks
0
miserere
Asked:
miserere
1 Solution
 
counterrootCommented:
well....
It's not so easy.
for 1. ESX-Server doesn't support USB. But you can mount the device otherwise.

1. connect the USB-Device to the Server
2. create a second user on the Server and log on to the server with putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html). You won't be able to log on with root. It's not activated as standard and shouldn't be.
So when you're logged in as (for example) admin trough putty (SSH & IP-Adress) run:
$ su
$ (type in your passwd)
$ dmesg
$ (read where the usb-device has been linked e.g. /dev/sdb1)
$ mkdir /mnt/sd
$ mount /dev/sdb1 /mnt/sd

now you can attach the storage as an hard drive in a virtual machine /mnt/sd
when you're ready and want to take off the storage you have to run via putty (but don't forget to stop the VM previous):
$ unmount /dev/sdb1
when you want to use it again for the machine you have to mount it

For copying every machine to your usb-disk you have to run for example:
cp /vmfs/volumes/san-storage:1/vm-name /mnt/sd -R

when it will be finished you can also unmount the device.

When you want to take a snapshot, press in Virtual Infrastructure Client on the machine mit right-mouse-click, select "Take Snapshot" and take a snapshot. Under the same menu you can find a "Snapshot-Manager" so you can use this for managing your snapshots =)
Āµatthias
0
 
azjeepCommented:
It sounds like you are trying to set up a backup scenario.

If that is the case, I would suggest Vizioncore vRanger Pro.

You can use it in conjunction with VirtualCenter to push snapshots to a location, and also offers backup functionality.

http://www.vizioncore.com/vRangerPro.html

Take a look.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now