Solved

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

Posted on 2008-10-08
3
606 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …

809 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