Solved

Using SnapShot to Restore Lost Data

Posted on 2014-10-20
5
420 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 119

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 119

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

825 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