VMware Cloud Community
esnmb
Enthusiast
Enthusiast

Hidden Snapshots

We are using NetBackup 7 to backup our vm's. It does so by taking snapshots of them and backing them up. Every morning we use Virtualiation Ecoshell to verify that all snaps have been deleted. We usually find a few VM's that we need to clean up manually. There are some detected that show snaps but do not show it in vCenter client. For these we take a snap and are able to see the old and new snaps for cleanup.

We noticed today that there were some VM's that showed no snaps in the ecoshell or the snapshot manager but these server had issues that led us to browse the datastore. We noticed there were numerous snaps left over. Creating a new snap and deleting it didn't clean them up.

Is there a script or something that can scan the datastores for snapshot files? We're afraid there may be lots of left over snaps out there that we don't know about.

Thanks!

0 Kudos
5 Replies
a_p_
Leadership
Leadership

I'm sure there is a way to find the information you need with a script.

However, I'd suggest you take a closer look at RVTools

André

0 Kudos
AntonVZhbankov
Immortal
Immortal

>Creating a new snap and deleting it didn't clean them up.

Create new snap and select "Delete all"


---

MCITP: SA+VA, VCP 3/4, VMware vExpert

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos
esnmb
Enthusiast
Enthusiast

Yes, I do that for ones that the the ecoshell can detect and it clears everything. But like I said, there are a few that we noticed today that nothing detected them except when we browse the datastore and noticed them. Creating and delete may work but I can't manually browse the 200+ VM's checking for delta files. This is why I am trying to find a script or something to scan for them.

0 Kudos
maneltbc
Contributor
Contributor

0 Kudos
CRad14
Hot Shot
Hot Shot

I have a powercli script to find them for you..

Check it out here:

http://www.vnoob.com/2012/06/consolidating-disks-and-orphaned-snapshots-with-powercli/

Conrad www.vnoob.com | @vNoob | If I or anyone else is helpful to you make sure you mark their posts as such! 🙂
0 Kudos