vm backup

I have a question on cross-consistent backup, hope the experts up there will answer.
If I backup a vm without vss then it is going to be cross-consistent backup.
Does this means that I may have to restore some dll files manually if those dll files are opened at that time when the backup kicked in? in case if those files are locked (no readable)
Who is Participating?
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
Yes, exactly the same.

The process Take Snapshot, with the Quiece option ticked, this is the same function called by the VMware Storage APIs, used by Backup products. The function is Quiece the OS file system, which instructs VMware Tools, to notify the VSS.
Can you power off the VM take a snapshot (you may not need to power it off for the snapshot) then copy everything in the VM directory including your snapshot. I will usually 7-zip the VM when it's down. Then just save off snapshots. I'm not sure if this answers your question. I've crashed VM's, killed their processes and generally abused the crap out of them and found them to be very fault tolerant.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
If you backup a VM, without VSS, it will be Crash Consistent.

that means - just like the VM had crashed, or had been powered off! (not shutdown correctly!).

This is how we Backup our VMs, since 2004!

and they Backup and Restore perfectly with no issues or corruption.
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

sara2000Author Commented:
Thank you Andrew,
Does the vsphere API call vss writer when the backup software ask for snapshot of vm?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Backup Applications talks to the vSphere API, which calls a Snapshot, the Snapshot communicates with VMware Tools inside the VM, VMware Tools calls the VSS writer!
sara2000Author Commented:
Does vm snapshot do the same, that is, it call vmtools and asking vss writer to take shadow copy?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.