©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2018-07-25 21:51:07

toxeia
Member
Registered: 2018-07-18
Posts: 7

OneDiff fails after initial backup

Trying to use OneDiff to backup over the network to a second ESXi box. Finding that the first backup does fine, the certify-backup comes back green, etc. But when the second backup comes along it fails every time.

From the email after failure:

Last error raised for the above VM:
ERROR DIFCERT0, details: [Spiceworks] error: sha1 hashes are different [Spiceworks-flat.vmdk]
Complete backup elapsed time: 5 min
The ESXi configuration was saved to 10.10.10.2:22:/vmfs/volumes/WDBlackR5/XSIDest
• [ Wed Jul 25 20:43:13 UTC 2018 ] ERROR (DIFCERT0), details [Spiceworks] error: sha1 hashes are different [Spiceworks-flat.vmdk]
• [ Wed Jul 25 20:43:13 UTC 2018 ] WARNING (DIFRMVMX), details [Spiceworks] measure DIFRMVMX: took measure, renamed remote .vmx file to reinitialize OneDiff

Here is the log from the putty window during the job:

[Spiceworks] Starting backup (size is 82627M on 82921M file)
-------------------------------------------------------------------------------------------------------------------------------------
XSIBackup will backup your VMs while they are running and will quiesce guest services too, so that users
can continue to use the VM while the backup is taking place. You can also run cold and warm --backup-how
-------------------------------------------------------------------------------------------------------------------------------------
Hot backup selected for VM: [Spiceworks], will not be switched off
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: boot partition is MBR
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: Win64 OS (windows9_64) detected on MBR, applying Windows algorithm
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: quick size check...
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: file [Spiceworks-flat.vmdk]...
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: file size check | OK [ 85899345920 bytes | 85899345920 bytes ]
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: remote VMX file size 3258
-------------------------------------------------------------------------------------------------------------------------------------
System disk CIDs 830993b0|830993b0
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] (c) OneDiff algorithm
-------------------------------------------------------------------------------------------------------------------------------------
Mirror VM exists and the system disks CID are the same, starting OneDiff...
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: length of .vmx file before OneDiff phase is 3425
-------------------------------------------------------------------------------------------------------------------------------------
Snapshot & Quiescing
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: VMWare Tools detected, taking snapshot QUIESCED(false)...
[Spiceworks] info: set argument --snapshot=doquiesce to quiesce your VMs
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: round 2
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: snapshot taken, quiescing status:
-------------------------------------------------------------------------------------------------------------------------------------
Initiating OneDiff differential backup...
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: delta remains cleaned up at mirror VM [Spiceworks_XSIBAK]
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: transfering snapshot file [Spiceworks-Snapshot20.vmsn]
sending incremental file list
Spiceworks-Snapshot20.vmsn
         31,854 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 31,958 bytes  received 35 bytes  63,986.00 bytes/sec
total size is 31,854  speedup is 1.00
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: transfering snapshot file [Spiceworks-000001.vmdk]
sending incremental file list
Spiceworks-000001.vmdk
            339 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 439 bytes  received 35 bytes  316.00 bytes/sec
total size is 339  speedup is 0.72
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: transfering snapshot file [Spiceworks-000001-sesparse.vmdk]
sending incremental file list
Spiceworks-000001-sesparse.vmdk
  1,050,279,936 100%   48.71MB/s    0:00:20 (xfr#1, to-chk=0/1)

sent 1,050,536,454 bytes  received 35 bytes  48,862,162.28 bytes/sec
total size is 1,050,279,936  speedup is 1.00
-------------------------------------------------------------------------------------------------------------------------------------
3658945_8_vmx_file_tmp                                                                              100% 3265     4.1MB/s   00:00
3658945_8_vmsd_file_tmp                                                                             100%  428   610.2KB/s   00:00
-------------------------------------------------------------------------------------------------------------------------------------
Removing hot snapshot & merging data
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: OneDiff backup differential data (20) merged with base data
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: the backup mirror VM [Spiceworks_XSIBAK] Id (vim.fault.AlreadyExists) {
   faultCause = (vmodl.MethodFault) null,
   faultMessage = <unset>,
   name = "6"
   msg = "The specified key, name, or identifier '6' already exists."
} has been created
-------------------------------------------------------------------------------------------------------------------------------------
/vmfs/volumes/10kSASRaid5/xsi-dir/xsibackup: eval: line 1: syntax error: unexpected "("
[Spiceworks] info: diff mirror VM reloaded
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: deleting snapshot at [Spiceworks_XSIBAK] Id (vim.fault.AlreadyExists) {
   faultCause = (vmodl.MethodFault) null,
   faultMessage = <unset>,
   name = "6"
   msg = "The specified key, name, or identifier '6' already exists."
}...
/vmfs/volumes/10kSASRaid5/xsi-dir/xsibackup: eval: line 1: syntax error: unexpected "("
[Spiceworks] error DIFDELAL: error deleting all snapshots VM [Spiceworks_XSIBAK] Id (vim.fault.AlreadyExists) {
   faultCause = (vmodl.MethodFault) null,
   faultMessage = <unset>,
   name = "6"
   msg = "The specified key, name, or identifier '6' already exists."
}, details:
/vmfs/volumes/10kSASRaid5/xsi-dir/xsibackup: eval: line 6: specified: not found
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: Updating CID at [10.10.10.2:22:/vmfs/volumes/WDBlackR5/XSIDest/Spiceworks/Spiceworks.vmdk]
[Spiceworks] info: finished OneDiff backup, CID updated
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: certifying backup by means of sha1 algorithm...
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: computing hashes for [Spiceworks-flat.vmdk]...
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] info: sha1 hash is 30c8af01c60f7593d6acd41ff61b5deab3d0d7fd
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] error: sha1 hashes are different [Spiceworks-flat.vmdk]
-------------------------------------------------------------------------------------------------------------------------------------
[Spiceworks] measure DIFRMVMX: took measure, renamed remote .vmx file to reinitialize OneDiff
The ESXi configuration was saved to "10.10.10.2:22:/vmfs/volumes/WDBlackR5/XSIDest"

Offline

#2 2018-07-26 11:07:46

admin
Administrator
Registered: 2017-04-21
Posts: 2,072

Re: OneDiff fails after initial backup

Your OneDiff backup is failing because of the following

The specified key, name, or identifier '6' already exists.

You most probably already have a VM by that name at the remote end.

Offline

#3 2018-07-26 14:48:54

toxeia
Member
Registered: 2018-07-18
Posts: 7

Re: OneDiff fails after initial backup

Just found the problem. I had been wiping the destination directory and retrying the backup, but somehow the VM was already registered on the host. Wouldn't put it past my just being careless and forgetting to unregister after testing it previously. After unregistering I was able to do subsequent backups no problem. Thank you for the assistance.

Last edited by toxeia (2018-07-26 14:50:25)

Offline

Board footer