#1 2018-03-04 20:41:29

sanyex
Member
Registered: 2017-12-14
Posts: 3

onediff backup always failed

I have two esxi servers with centralized remote backup. Both esxi versions are 6.0.0 build-3620759.

When I tried to backup a newly installed vm with onediff, the xibackup always failed with error.


/vmfs/volumes/datastore1/xsi-dir/xsibackup --host=192.168.58.12 --backup-prog=onediff --certify-backup=sha1 --backup-point="192.168.58.11:22:/vmfs/volumes/datastore1/esxi2_backup" --backup-ty
pe=custom --backup-vms="mail_intra"

2018-03-04T08:04:18|  ###############################################################################
2018-03-04T08:04:18|     XSIBACKUP-PRO 10.2.10: new execution request                     
2018-03-04T08:04:18|  ###############################################################################
2018-03-04T08:04:18| 
2018-03-04T08:04:18|  NOTICE: (c) XSIBackup will kill any previous processes, make sure you don't overlap backup jobs
---------------------------------------------------------------------------------------------------------------------------------
XSIBackup PID:         12564407                                              esxi2
Sun, 04 Mar 2018 08:04:18 +0000                               IPv4: 192.168.58.12/255.255.255.0
VMware ESXi 6.0.0 build-3620759                              (c) Rsync 3.1.0 as opt. dependency
---------------------------------------------------------------------------------------------------------------------------------
Backup Id:              unknown                       Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:20|  ADVICE: no SSD disks, please consider adding an SSD cache disk to improve performance
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:20|  Backup user is: root
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:20|  Backup program is: onediff
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:20|  Service OpenSSH ready at server 192.168.58.11:22
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:20|  Info: XSIBACKUP-PRO will now try to determine the remote's XSIBACKUP-PRO installation point...
2018-03-04T08:04:20|  Tip: should this process take too long, use the --remote-xsipath argument to set it
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:23|  Found more than one remote (c) XSIBackup installation dir at [192.168.58.11]
2018-03-04T08:04:23|  Using hardcoded var at conf/xsiopts [xsidefaultpath] as remote path.
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:24|  Remote xsi path set to: /vmfs/volumes/datastore1/xsi-dir (filesystem: VMFS-5)
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:25|  Remote ESXi version is 6.0.0
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:25|  Mirroring to server 192.168.58.11 port 22
2018-03-04T08:04:25|  Checking Rsync exists on the other side...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:26|  (c) Rsync (samba.org) found at [ 192.168.58.11:22:/vmfs/volumes/datastore1/xsi-dir/bin/xsibackup-r... ]
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:26|  (c) XSIDiff found at [ 192.168.58.11:22:/vmfs/volumes/datastore1/xsi-dir/bin/xsidiff... ]
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:27|  Getting list of all VMs...
---------------------------------------------------------------------------------------------------------------------------------
.
.
2018-03-04T08:04:36|  38     mail_intra                      [datastore1] mail_intra/mail_intra.vmx                                        ubuntu64Guest           vmx-11             
.
.
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:39|  VMs to backup:
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:39|  38     mail_intra                      [datastore1] mail_intra/mail_intra.vmx                                        ubuntu64Guest           vmx-11             
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:44|  [mail_intra] starting backup...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:44|  XSIBackup will backup your VMs while they are running and will quiesce guest services too, so that users
2018-03-04T08:04:44|  can continue to use the VM while the backup is taking place. You can also run cold and warm --backup-how
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:44|  Hot backup selected for VM: [mail_intra], will not be switched off
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:46|  [mail_intra] info: boot partition is MBR
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:48|  [mail_intra] notice DIFRMMIS: no [mail_intra-flat.vmdk] in remote OneDiff mirror, first run?.
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:48|  [mail_intra] notice DIFRMMIS: no [mail_intra_2-flat.vmdk] in remote OneDiff mirror, first run?.
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:48|  [mail_intra] notice DIFRMMIS: no [mail_intra_3-flat.vmdk] in remote OneDiff mirror, first run?.
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:49|  [mail_intra] (c) OneDiff algorithm
---------------------------------------------------------------------------------------------------------------------------------
[mail_intra] info: OneDiff backup first run, removing snapshots
[mail_intra] info: all snapshots removed
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:49|  Snapshot & Quiescing
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:49|  [mail_intra] info: the VM will now be quiesced to ensure proper data handling
2018-03-04T08:04:54|  [mail_intra] info: snapshot taken, quiescing status: YES
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:04:58|  Syncronizing config files
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:01|  [mail_intra] info: created dir to host VM backup
2018-03-04T08:05:02|  [mail_intra] info: VMX file succesfully queued
2018-03-04T08:05:02|  [mail_intra] info: VMSD file succesfully queued
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:07|  Backing up virtual disks...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:07|  DISK=/vmfs/volumes/datastore1/mail_intra/mail_intra-000001.vmdk
2018-03-04T08:05:07|  DISK=/vmfs/volumes/datastore1/mail_intra/mail_intra-Snapshot20.vmsn
2018-03-04T08:05:07|  DISK=/vmfs/volumes/datastore1/mail_intra/mail_intra.vmdk
2018-03-04T08:05:07|  DISK=/vmfs/volumes/datastore1/mail_intra/mail_intra_2-000001.vmdk
2018-03-04T08:05:07|  DISK=/vmfs/volumes/datastore1/mail_intra/mail_intra_2.vmdk
2018-03-04T08:05:07|  DISK=/vmfs/volumes/datastore1/mail_intra/mail_intra_3-000001.vmdk
2018-03-04T08:05:07|  DISK=/vmfs/volumes/datastore1/mail_intra/mail_intra_3.vmdk
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:07|  Disk [/vmfs/volumes/datastore1/mail_intra/mail_intra-000001.vmdk] excluded
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:08|  Rsync: transfering file | /vmfs/volumes/datastore1/mail_intra/mail_intra-Snapshot20.vmsn
---------------------------------------------------------------------------------------------------------------------------------
sending incremental file list
mail_intra-Snapshot20.vmsn
         28,204 100%    0.00kB/s    0:00:00 
         28,204 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 28,308 bytes  received 35 bytes  56,686.00 bytes/sec
total size is 28,204  speedup is 1.00
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:09|  Rsync: transfering file | /vmfs/volumes/datastore1/mail_intra/mail_intra.vmdk
---------------------------------------------------------------------------------------------------------------------------------
sending incremental file list
mail_intra.vmdk
            531 100%    0.00kB/s    0:00:00 
            531 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 624 bytes  received 35 bytes  1,318.00 bytes/sec
total size is 531  speedup is 0.81
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:10|  Info: transfering file | /vmfs/volumes/datastore1/mail_intra/mail_intra-flat.vmdk
---------------------------------------------------------------------------------------------------------------------------------
[34m(c) XSIDiff 1.0.6.1 licensed:
[0mFile#1 size 75161927680 bytes
*** This is a trial version limited to 10485760000 bytes, parsing 75161927680 ***
Exiting...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:10|  [mail_intra] CLXSIDF1 error: file transfer error: Connection to 192.168.58.11 closed by remote host.
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:11|  Disk [/vmfs/volumes/datastore1/mail_intra/mail_intra_2-000001.vmdk] excluded
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:11|  Rsync: transfering file | /vmfs/volumes/datastore1/mail_intra/mail_intra_2.vmdk
---------------------------------------------------------------------------------------------------------------------------------
sending incremental file list
mail_intra_2.vmdk
            535 100%    0.00kB/s    0:00:00 
            535 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 630 bytes  received 35 bytes  443.33 bytes/sec
total size is 535  speedup is 0.80
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:12|  Info: transfering file | /vmfs/volumes/datastore1/mail_intra/mail_intra_2-flat.vmdk
---------------------------------------------------------------------------------------------------------------------------------
[34m(c) XSIDiff 1.0.6.1 licensed:
[0mFile#1 size 536870912000 bytes
*** This is a trial version limited to 10485760000 bytes, parsing 536870912000 ***
Exiting...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:13|  Disk [/vmfs/volumes/datastore1/mail_intra/mail_intra_3-000001.vmdk] excluded
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:14|  Rsync: transfering file | /vmfs/volumes/datastore1/mail_intra/mail_intra_3.vmdk
---------------------------------------------------------------------------------------------------------------------------------
sending incremental file list
mail_intra_3.vmdk
            535 100%    0.00kB/s    0:00:00 
            535 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 630 bytes  received 35 bytes  1,330.00 bytes/sec
total size is 535  speedup is 0.80
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:14|  Info: transfering file | /vmfs/volumes/datastore1/mail_intra/mail_intra_3-flat.vmdk
---------------------------------------------------------------------------------------------------------------------------------
[34m(c) XSIDiff 1.0.6.1 licensed:
[0mFile#1 size 536870912000 bytes
*** This is a trial version limited to 10485760000 bytes, parsing 536870912000 ***
Exiting...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:15|  Excluded disks removed from backup .vmx file
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:15|  [mail_intra] info: certifying backup by means of sha1 algorithm...
2018-03-04T08:05:18|  [mail_intra] info: VMX file processed and updated
2018-03-04T08:05:18|  [mail_intra] info: Updating CID at [192.168.58.11:22:/vmfs/volumes/datastore1/esxi2_backup/mail_intra/mail_intra.vmdk]
2018-03-04T08:05:18|  [mail_intra] info: finished OneDiff backup, CID updated
2018-03-04T08:05:18|  [mail_intra] info: backup complete
2018-03-04T08:05:19|  [mail_intra] info: finished doing a first copy in a diff scope, subsequent backups will be differential
2018-03-04T08:05:19|  [mail_intra] info: should you need to use the mirror VM, register it manually at the backup ESXi host
---------------------------------------------------------------------------------------------------------------------------------
The ESXi configuration was saved to "192.168.58.11:22:/vmfs/volumes/datastore1/esxi2_backup"
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:32|  Errors detected in backup, check logs
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T08:05:32|  Warning: no backups or programs can be fired as there isn't any xsibackup-cron file present
---------------------------------------------------------------------------------------------------------------------------------


But with older vms no problems.


2018-03-04T02:34:39|  [proxy_local] starting backup...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:39|  XSIBackup will backup your VMs while they are running and will quiesce guest services too, so that users
2018-03-04T02:34:39|  can continue to use the VM while the backup is taking place. You can also run cold and warm --backup-how
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:39|  Hot backup selected for VM: [proxy_local], will not be switched off
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:40|  [proxy_local] info: boot partition is MBR
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:41|  Remember: --date-dir argument will be ignored in OneDiff backups
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:43|  [proxy_local] info: quick size check...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:43|  [proxy_local] info: file [proxy2-flat.vmdk]...
2018-03-04T02:34:44|  [proxy_local] info: file size check | OK [ 32212254720 bytes | 32212254720 bytes ]
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:44|  [proxy_local] info: quick size check...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:44|  [proxy_local] info: file [proxy2_1-flat.vmdk]...
2018-03-04T02:34:44|  [proxy_local] info: file size check | OK [ 53687091200 bytes | 53687091200 bytes ]
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:45|  [proxy_local] info: remote VMX file size 3273
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:45|  System disk CIDs 7cf21599|7cf21599
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:45|  [proxy_local] (c) OneDiff algorithm
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:45|  Mirror VM exists and the system disks CID are the same, starting OneDiff...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:45|  [proxy_local] info: length of .vmx file before OneDiff phase is 3279
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:46|  Snapshot & Quiescing
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:46|  [proxy_local] info: the VM will now be quiesced to ensure proper data handling
2018-03-04T02:34:51|  [proxy_local] info: snapshot taken, quiescing status: YES
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:54|  Initiating OneDiff differential backup...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:34:55|  [proxy_local] info: delta remains cleaned up at mirror VM [proxy_local_XSIBAK]
---------------------------------------------------------------------------------------------------------------------------------
[proxy_local] info: transfering snapshot file [proxy2-Snapshot203.vmsn]
sending incremental file list
proxy2-Snapshot203.vmsn
         28,903 100%    0.00kB/s    0:00:00 
         28,903 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 29,004 bytes  received 35 bytes  58,078.00 bytes/sec
total size is 28,903  speedup is 1.00
---------------------------------------------------------------------------------------------------------------------------------
[proxy_local] info: transfering snapshot file [proxy2-000002.vmdk]
sending incremental file list
proxy2-000002.vmdk
            315 100%    0.00kB/s    0:00:00 
            315 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 411 bytes  received 35 bytes  297.33 bytes/sec
total size is 315  speedup is 0.71
---------------------------------------------------------------------------------------------------------------------------------
[proxy_local] info: transfering snapshot file [proxy2_1-000002.vmdk]
sending incremental file list
proxy2_1-000002.vmdk
            320 100%    0.00kB/s    0:00:00 
            320 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 418 bytes  received 35 bytes  906.00 bytes/sec
total size is 320  speedup is 0.71
---------------------------------------------------------------------------------------------------------------------------------
[proxy_local] info: transfering snapshot file [proxy2-000002-delta.vmdk]
sending incremental file list
proxy2-000002-delta.vmdk
         32,768   0%    0.00kB/s    0:00:00 
     37,945,344  10%   36.16MB/s    0:00:08 
     78,446,592  21%   37.41MB/s    0:00:07 
    117,833,728  31%   37.46MB/s    0:00:06 
    156,467,200  42%   37.31MB/s    0:00:05 
    196,739,072  53%   37.87MB/s    0:00:04 
    237,797,376  64%   38.00MB/s    0:00:03 
    278,691,840  75%   38.36MB/s    0:00:02 
    319,684,608  86%   38.92MB/s    0:00:01 
    360,415,232  97%   39.03MB/s    0:00:00 
    369,164,288 100%   38.25MB/s    0:00:09 (xfr#1, to-chk=0/1)

sent 369,254,511 bytes  received 35 bytes  35,167,099.62 bytes/sec
total size is 369,164,288  speedup is 1.00
---------------------------------------------------------------------------------------------------------------------------------
[proxy_local] info: transfering snapshot file [proxy2_1-000002-delta.vmdk]
sending incremental file list
proxy2_1-000002-delta.vmdk
         32,768   0%    0.00kB/s    0:00:00 
     39,583,744  26%   37.72MB/s    0:00:02 
     77,463,552  51%   36.94MB/s    0:00:01 
    117,506,048  77%   37.36MB/s    0:00:00 
    151,101,440 100%   37.19MB/s    0:00:03 (xfr#1, to-chk=0/1)

sent 151,138,429 bytes  received 35 bytes  27,479,720.73 bytes/sec
total size is 151,101,440  speedup is 1.00
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:35:13|  Syncronizing configuration files
---------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:35:15|  Removing hot snapshot & merging data
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:35:24|  [proxy_local] info: OneDiff backup differential data (203) merged with base data
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:35:25|  [proxy_local] info: diff mirror VM reloaded
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:35:25|  [proxy_local] info: deleting snapshot at [proxy_local_XSIBAK] Id 42...
2018-03-04T02:35:34|  [proxy_local] info: all snapshots removed
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:35:34|  [proxy_local] info: Updating CID at [192.168.58.11:22:/vmfs/volumes/datastore1/esxi2_backup/proxy_local/proxy2.vmdk]
2018-03-04T02:35:35|  [proxy_local] info: finished OneDiff backup, CID updated
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:35:35|  [proxy_local] info: certifying backup by means of sha1 algorithm...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:35:35|  [proxy_local] info: computing hashes for [proxy2-flat.vmdk]...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:37:20|  [proxy_local] info: sha1 hash is 3411e964cfc9295cf8723844eca4e550bf6037b0
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:37:20|  [proxy_local] info: sha1 hashes equal on both sides [proxy2-flat.vmdk]
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:37:20|  [proxy_local] info: certifying backup by means of sha1 algorithm...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:37:20|  [proxy_local] info: computing hashes for [proxy2_1-flat.vmdk]...
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:39:37|  [proxy_local] info: sha1 hash is 7d354bf2ce824ee54e2376f17fa6d122e59b35fe
---------------------------------------------------------------------------------------------------------------------------------
2018-03-04T02:39:37|  [proxy_local] info: sha1 hashes equal on both sides [proxy2_1-flat.vmdk]
---------------------------------------------------------------------------------------------------------------------------------


Any idea ?

Offline

#2 2018-03-05 07:16:39

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

Re: onediff backup always failed

You have not installed your license keys. Please, download from https://33hops.com/user-access.html and follow on-screen instructions.

Offline

#3 2018-03-05 12:39:38

sanyex
Member
Registered: 2017-12-14
Posts: 3

Re: onediff backup always failed

I'm sorry, it was my fault. Wrong key file was on the 2nd server. Thank you for your help !

Offline

Board footer