VMware Cloud Community
Noctis0791
Enthusiast
Enthusiast

VMware snapshot restore logs?

Hi Experts,

I read a post somewhere that snapshot restoration is not being recorded in Tasks/Events/Logs of vSphere anymore starting ESXi 5.x. Is this true? If that is the case, can we pull the info via ESX CLI? What command can we run to pull the logs about snapshot restoration so we could tell who restored a VM on a specific time?

Thank you so much in advanced!

Noctis

0 Kudos
3 Replies
daphnissov
Immortal
Immortal

If it was done through vCenter then the Tasks for that VM will absolutely record said information. If you had log integration with vCenter (Log Insight) then you potentially have this for much longer retention periods.

0 Kudos
NathanosBlightc
Commander
Commander

You can investigate any snapshot operations (such as restore) in the vmware.log file inside the related VM directory. Run the following command in the shell access to check it out:

cat /vmfs/volumes/[datastore]/[vm-dir]/vmware.log | grep snapshot

Please mark my comment as the Correct Answer if this solution resolved your problem
0 Kudos
daphnissov
Immortal
Immortal

You can investigate any snapshot operations (such as restore) in the vmware.log file inside the related VM directory.

As long as you keep in mind this log file will ​not​ record the user responsible for the action. Only the action itself.

0 Kudos