Solved

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

Posted on 2008-10-08
3
588 Views
Last Modified: 2013-11-14
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
Comment
Question by:miserere
3 Comments
 
LVL 1

Accepted Solution

by:
counterroot earned 500 total points
ID: 22691519
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
 
LVL 1

Expert Comment

by:azjeep
ID: 22913651
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now