Solved

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

Posted on 2008-10-08
3
561 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
Comment Utility
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
Comment Utility
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

772 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

16 Experts available now in Live!

Get 1:1 Help Now