Solved

Using SnapShot to Restore Lost Data

Posted on 2014-10-20
5
421 Views
Last Modified: 2014-10-21
Would it be a feasible solution as a temporary backup to preserve data on a VM? So if we have a VM with three disks and each disk is 100 GB and we take a snapshot of the VM and then do work on the server resulting in losing several files on one of the disks or possible the entire disk can the snapshot that was taken right before the work be used to restore the lost data?

What we are planning on doing is if a system does not have a backup do a snapshot, do the work, when all is well delete the snap shot.

Also, is there a worry if the disks are thick or thin provisioned?
0
Comment
Question by:REIUSA
  • 2
  • 2
5 Comments
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 450 total points
ID: 40392796
Snapshots ARE *not* Backups.

Snapshots are designed for quick roll backs to issue, e.g. Create a Snapshot, and then apply a patch, if the patch fails, revert the Changes, if the patch works, DELETE ALL the snapshots.

Do *NOT* make the mistake that some VMware Admins fall into thinking they can "backup" every day, by creating a snapshot, you will end up ion SNAPSHOT HELL!

Performance of VMs running on a snapshot is poor, snapshot sizes increase very quickly, if your storage space falls low, the VM will fail and stop, causing possible corruption.

Purchase a Backup Product or CLONE before making changes!

VMware ESX/ESXi Backup Guide

HOW TO: Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x or ESXi 5.0

See my EE Article

HOW TO: VMware Snapshots :- Be Patient
0
 

Author Comment

by:REIUSA
ID: 40392806
Thanks. I just read your SnapShot article and thought it was very informative.

So in the situation of accidental data loss then it looks like even if the data could be reverted using a snapshot it would take a very long time if there was much data loss at all.

Is it safe to say that a snapshot should not be used as a temporary backup method for large amounts of data loss. I understand that it should be used for a short time and then deleted.
0
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 450 total points
ID: 40392961
Snapshots are temporary. (e.g. do not have a VM running on a snapshot for long, maximum of two days).

I personally DO NOT like Snapshots at all.

Before we complete *ANY* VM Change, we Run a Backup, and CLONE the VM. So we have two backups, just in case.

Some VMware Admins,

1. Take a Snapshot
2. Make changes to VM, Test them, and either Revert (roll back/undo changes) or DELETE ALL and COMMIT the change.

This should be done, quickly....

Performance is very poor on a snapshot!

Get your Backup and Restore Application working.....even if it's.....Export and Import...

see here

Part 10: HOW TO: Backup (Export) and Restore (Import) virtual machines to VMware vSphere Hypervisor 5.1 for FREE
0
 
LVL 10

Assisted Solution

by:Pramod Ubhe
Pramod Ubhe earned 50 total points
ID: 40394224
indeed, snapshot is a different thing than backup however it can be used as backup if there are no changes made to that VM after taking snapshot.
reverting a snapshot will get your VM to the state when snapshot was taken.
0
 

Author Closing Comment

by:REIUSA
ID: 40395310
Thanks for the help. This answers my question. And I agree a real backup is the best option.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

685 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