#1 2017-05-18 08:39:06

pfamircea
Member
Registered: 2017-05-18
Posts: 5

Backup of suspended VMs?

Hello,

I just tried backing up a suspended VM and it didn't go quite well. The disk got cloned but there were errors.
What I notice is that the suspended state was not backed up and the backup snapshot was not removed.

Log looks like below:

VMs to backup:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
100    test-vm             [corsair] test-vm/test-vm.vmx                 winXPProGuest      vmx-08
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Needed room: 11 Gb.
Available room: 5394 Gb.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Skipping invalid VM '105'
Skipping invalid VM '57'
Skipping invalid VM '61'
Skipping invalid VM '105'
Skipping invalid VM '57'
Skipping invalid VM '61'
Excerpt
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hot backup selected for VM: [test-vm], will not be switched off
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Skipping invalid VM '105'
Skipping invalid VM '57'
Skipping invalid VM '61'
Skipping invalid VM '105'
Skipping invalid VM '57'
Skipping invalid VM '61'
Error CLDELSN1: cannot delete snapshot VM Id: 100, details: Skipping invalid VM '105'
Skipping invalid VM '57'
Skipping invalid VM '61'
Skipping invalid VM '105'
Skipping invalid VM '57'
Skipping invalid VM '61'
Syncronizing config files
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Skipping invalid VM '105'
Skipping invalid VM '57'
Skipping invalid VM '61'
Skipping invalid VM '105'
Skipping invalid VM '57'
Skipping invalid VM '61'
No .nvram file found for test-vm (100)
[test-vm] info: VMWare tools were not detected, the system will not be quiesced
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Skipping invalid VM '105'
Skipping invalid VM '57'
Skipping invalid VM '61'
Skipping invalid VM '105'
Skipping invalid VM '57'
Skipping invalid VM '61'
Backing up virtual disks...
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
ide0:0.fileName = "WinXP.vmdk"
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/corsair/test-vm/WinXP.vmdk'...
Clone: 100% done.
The ESXi configuration was saved to "/vmfs/volumes/wd_red_6tb/backup"
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Errors detected in backup, check logs
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Some warnings were raised
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Backup finished
Tip: no chained backups scheduled, set --on-success and/or --on-error arguments to chain a backup
Killed

Offline

#2 2017-05-18 09:26:16

Daniel
Moderator
Registered: 2017-04-22
Posts: 60

Re: Backup of suspended VMs?

You have only posted part of the output log, the backup job is missing as well as the program's output header which states XSIBackup and ESXi's version, and some other useful data.

You received these errors & warnings

1 - Skipping invalid VM 'NN'
2 - Error CLDELSN1: cannot delete snapshot VM Id: NN
3 - No .nvram file found for test-vm (NN)

1 -The first error is an inner ESXi message that states there is a given VM which is not correctly registered. We have nothing to say in regards to this, as said it is an ESXi message and it's up to ESXi to define what is a correctly registered VM (or not) and output messages according to its own criteria. The message is triggered by XSIBackup querying the ESXi system, but is not produced by XSIBackup.

2 - In this case we can try to detect suspended VMs and include this state to be considered apart from a switched off VM, so that we can attend its possible particularities, like not needing snapshots to be removed.

3 - This is just a warning, you don't have to worry about it. Some VMs may not have an .nvram file.

Last edited by Daniel (2017-05-18 09:28:28)

Offline

#3 2017-05-18 10:50:26

pfamircea
Member
Registered: 2017-05-18
Posts: 5

Re: Backup of suspended VMs?

Sorry, I wanted to keep things small as the vm search output is quite big.

Thanks for the info. Anything I can do with this suspended VM backup to get it "on track"?
What about the VM itself. Can I safely delete the snapshot without it affecting my suspended state?

Thank you.

Below is the header for reference (some irrelevant info stripped):

#####################################################################################
#                                                                                   #
#  (c) XSIBACKUP-FREE 9.0.1 | Backup for (c) VMWARE ESXi Hypervisor by 33hops.com   #
#                                                                                   #
#####################################################################################

XSIBackup PID: 1685891                                                         esxi
Thu, 18 May 2017 08:16:50 +0000                      IPv4: a.b.c.d/255.255.255.0
VMware ESXi 5.1.0 build-1483097                   (c) Rsync 3.1.0 as opt. dependency

----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Found --backup-point at [ /vmfs/volumes/wd_red_6tb/backup ]
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
E-mail Warnings
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
The e-mail report will not be sent because of the followig reasons:
The --mail-from string has not been set
The --mail-to string has not been set
The --smtp-srv string has not been set
The --smtp-port string has not been set
The --smtp-usr string has not been set, you need --smtp-usr if --smtp-auth is other than -none-
The --smtp-pwd string has not been set, you need --smtp-pwd if --smtp-auth is other than -none-
Getting list of all VMs...

from here till the previous log it's all the same with a lot of "Skipping invalid VM '105'" and finding various other VMs

Offline

#4 2017-05-18 13:34:59

Daniel
Moderator
Registered: 2017-04-22
Posts: 60

Re: Backup of suspended VMs?

I don't see much inconvenients. The .vmdk disks are being backed up and the ESXi config was saved too. You should find out why you are getting the:

Skipping invalid VM 'NN'

messages, it could be caused by the VMs being suspended, but that makes no sense, if it was the case, that could be considered an ESXi bug. We will introduce improvements in the Pro version in next releases in regards to this, but the Free version will have to wait.

Offline

#5 2017-05-18 13:58:09

pfamircea
Member
Registered: 2017-05-18
Posts: 5

Re: Backup of suspended VMs?

I see. What's the standard wait time?

Offline

#6 2018-03-08 11:13:17

pfamircea
Member
Registered: 2017-05-18
Posts: 5

Re: Backup of suspended VMs?

Hello again, 10 months later. Was this suspended VM backup addressed? I searched the change log for 10.3.1 nothing in it about this.

Thanks

Offline

#7 2018-03-19 10:19:19

pfamircea
Member
Registered: 2017-05-18
Posts: 5

Re: Backup of suspended VMs?

Can anyone shed some light on this issue? If and when this will be supported?

Offline

#8 2018-03-19 11:40:44

admin
Administrator
Registered: 2017-04-21
Posts: 1,370

Re: Backup of suspended VMs?

We currently perform backups on suspended VMs without issue. Maybe you have a different type of problem, your log above shows, at least, one disconnected datastore.

Offline

Board footer