Removal of orphaned snapshots | Nutanix Community
Skip to main content
Solved

Removal of orphaned snapshots


Forum|alt.badge.img+1
Trying the veeam AHV appliance, i had a crash whilst taking a backup

now am left with orphaned snapshots on a PAID ACCOUNT, and nutanix sends the ball to veeam back to nutanix, so here i am

Protection Domain DP-QC-3 has 3 aged third-party backup snapshot(s) and may unnecessarily consume storage space in the cluster.

i have a multitude of these and want to manually remove those snapshots, is there a process for this ?

Best answer by tbcconstruction

solution:

get all vm uuids
grab snapshots with thos in mind.. with api
curl -u "admin" -k -X POST --header 'Content-Type: application/json' --data '{"filter":"entity_uuid==UUIDHERE","kind":"vm_snapshot"}' 'https://1.2.3.4:9440/api/nutanix/v3/vm_snapshots/list

find one with furthest date or to delete and use api to delete.

curl -u admin -k -X DELETE --header 'Content-Type: application/json' --header 'Accept: application/json' 'https://1.2.3.4:9440/api/nutanix/v3/vm_snapshots/SNAPIDHERE
View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

12 replies

aluciani
Forum|alt.badge.img+34
  • Chevalier
  • 348 replies
  • August 19, 2018
Hi @tbcconstruction

I see you posted this in the community edition (CE) forum. Are you using CE with the Veeam appliance or the commercial version of Nutanix? Let me know 👍

Forum|alt.badge.img+16
  • Vanguard
  • 588 replies
  • August 20, 2018
Thread with steps how to remove orphaned snapshots: https://next.nutanix.com/discussion-forum-14/how-to-remove-orphaned-snapshots-27625

Forum|alt.badge.img+1
commercial both

Forum|alt.badge.img+1
Protection Domain DP-QC-3 has 3 aged third-party backup snapshot(s) and may unnecessarily consume storage space in the cluster.
Protection Domain DP-QC-2 has 5 aged third-party backup snapshot(s) and may unnecessarily consume storage space in the cluster.
Protection Domain DP-QC-1 has 6 aged third-party backup snapshot(s) and may unnecessarily consume storage space in the cluster.
Protection Domain Dp-QC-4 has 1 aged third-party backup snapshot(s) and may unnecessarily consume storage space in the cluster.

so its not snapshots but third party ones ill try the same solution to try to ident

aluciani
Forum|alt.badge.img+34
  • Chevalier
  • 348 replies
  • August 20, 2018
Thanks @tbcconstruction

Looks like you posted this in the community edition (CE) forum, I'll move it to the backup and recovery forum. Also check out this post - [HowTo] I'm new here, how do I get started? Give you a sense of the landscape. Thanks 👍

aluciani
Forum|alt.badge.img+34
  • Chevalier
  • 348 replies
  • August 20, 2018
Did the post from @Primzy help?

aluciani
Forum|alt.badge.img+34
  • Chevalier
  • 348 replies
  • August 20, 2018
Hi @tbcconstruction

Do you have a Veeam support case #? You can private message me and I can help push this along. Thanks

Forum|alt.badge.img+1
aluciani wrote:
Hi @tbcconstruction

Do you have a Veeam support case #? You can private message me and I can help push this along. Thanks


just got an answer they will get back to me wednesday...

aluciani
Forum|alt.badge.img+34
  • Chevalier
  • 348 replies
  • August 21, 2018
Thanks @tbcconstruction

Be great if you could also add the solution to this thread for others to follow when you hear smothing. 👍

Forum|alt.badge.img+1
will do

Forum|alt.badge.img+1
solution:

get all vm uuids
grab snapshots with thos in mind.. with api
curl -u "admin" -k -X POST --header 'Content-Type: application/json' --data '{"filter":"entity_uuid==UUIDHERE","kind":"vm_snapshot"}' 'https://1.2.3.4:9440/api/nutanix/v3/vm_snapshots/list

find one with furthest date or to delete and use api to delete.

curl -u admin -k -X DELETE --header 'Content-Type: application/json' --header 'Accept: application/json' 'https://1.2.3.4:9440/api/nutanix/v3/vm_snapshots/SNAPIDHERE

  • Voyager
  • 1 reply
  • February 6, 2020

Cant find the aged third party snapshots using this method. Any hints about how to get a list of these snapshots?