Solved

Using SnapShot to Restore Lost Data

Posted on 2014-10-20
5
419 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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

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: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

863 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