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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: © OneDiff » error OVMXCHK1: VMX file check » 2017-10-15 19:24:45

my first line is what it should be, but still doesn't work, so i don't see what is obvious. I bought your software and nothing works as it should. One diff = full only, XSItools = can't hash, XSIdiff = can't backup. The only thing i can do with your sowtfare is normal full backup. I tried on different server, with different ESXi, with different VM and everytime, something goes wrong. When i post, there is no answer but "you are the only one, deal with it".

But ok, thx for the joke.

#2 Re: © OneDiff » error OVMXCHK1: VMX file check » 2017-10-05 07:40:18

Hi, i tried your command, and i have same results with all my VM.

#3 Re: © OneDiff » error OVMXCHK1: VMX file check » 2017-09-29 07:15:25

Never touched this file. This is the original file.

#4 © OneDiff » error OVMXCHK1: VMX file check » 2017-09-28 14:05:48

noobstyle
Replies: 13

HI,
i have this error when i lunch again onediff :
VMX file check 1 fail, details: first line in .vmx file is not [.encoding = "UTF-8"], has this file been manually modified/edited?

But when i check .vmx file :

/vmfs/volumes/59a686f4-234c75aa-ca39-001b214be630/debian # vi debian.vmx
.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "8"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"

So, is someone had the same error ? or know how to deal with it?

Thx.

#5 Re: © OneDiff » error: first 50M mistmatch » 2017-09-22 09:19:18

summary of second run :

------------------------------------------------------------------------------------------------------------------------------------------------
OneDiff
-------------------------------------------------------------------------------------------------------------------------------------------------
Mirror VM exists and the system disks CID are the same, starting OneDiff...
[ubuntu] info: length of .vmx file before OneDiff phase is 2688
-------------------------------------------------------------------------------------------------------------------------------------------------
Initiating OneDiff differential backup...
-------------------------------------------------------------------------------------------------------------------------------------------------
Syncronizing configuration files
-------------------------------------------------------------------------------------------------------------------------------------------------
[ubuntu] info: length of remote .vmx file after copying it is 2688
[ubuntu] info: length of remote .vmx after replacing name is 2695
[ubuntu] info: name changed to [ubuntu_XSIBAK]
-------------------------------------------------------------------------------------------------------------------------------------------------
Removing hot snapshot & merging data
-------------------------------------------------------------------------------------------------------------------------------------------------
[ubuntu] info: OneDiff backup differential data (9) merged with base data
-------------------------------------------------------------------------------------------------------------------------------------------------
[ubuntu] info: diff mirror VM reloaded
-------------------------------------------------------------------------------------------------------------------------------------------------
[ubuntu] info: deleting snapshot at [ubuntu_XSIBAK] Id 9...
[ubuntu] info: all snapshots removed
-------------------------------------------------------------------------------------------------------------------------------------------------
[ubuntu] info: Updating CID at /vmfs/volumes/backup/ubuntu/ubuntu.vmdk
[ubuntu] info: finished OneDiff backup, CID updated
-------------------------------------------------------------------------------------------------------------------------------------------------
[ubuntu] info: comparing first 50M of [ubuntu-flat.vmdk]...
[ubuntu] error DIFQMSH1: empty first 50M local (inexistent file?)...
[ubuntu] error DIFQMSH2: empty first 50M remote (inexistent file?)...
[ubuntu] info: first 50M check | OK [  ]
-------------------------------------------------------------------------------------------------------------------------------------------------
[ubuntu] measure DIFRMVMX: took measure deleted remote .vmx file to reinitialize OneDiff
The ESXi configuration was saved to "/vmfs/volumes/backup"
-------------------------------------------------------------------------------------------------------------------------------------------------
Backup finished
Killed

#6 Re: © OneDiff » error: first 50M mistmatch » 2017-09-22 09:15:14

You were right about regex error. But still have 50M problem.


First run

Hot backup selected for VM: [ubuntu], will not be switched off
---------------------------------------------------------------------------------------------------
[ubuntu] info: quick size check...
---------------------------------------------------------------------------------------------------
[ubuntu] info: file [ubuntu-flat.vmdk]...
[ubuntu] info: file size check | OK [ 17179869184 bytes | 17179869184 bytes ]
---------------------------------------------------------------------------------------------------
OneDiff
---------------------------------------------------------------------------------------------------
[ubuntu] info: OneDiff backup first run, removing snapshots
[ubuntu] info: all snapshots removed
---------------------------------------------------------------------------------------------------
Snapshot & Quiescing
---------------------------------------------------------------------------------------------------
[ubuntu] info: the VM will now be quiesced to ensure proper data handling
[ubuntu] info: snapshot taken, quiescing status: YES
---------------------------------------------------------------------------------------------------
[ubuntu] error OVMXCHK1: VMX file check 1 fail, details: first line in .vmx file is not [.encoding = "UTF-8"], has this file been manually modified/edited?
Syncronizing config files
---------------------------------------------------------------------------------------------------
Backing up virtual disks...
---------------------------------------------------------------------------------------------------
scsi0:0.fileName = "ubuntu.vmdk"
---------------------------------------------------------------------------------------------------
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/datastore1/ubuntu/ubuntu.vmdk'...
Clone: 100% done.
---------------------------------------------------------------------------------------------------
[ubuntu] info: backup complete
[ubuntu] info: finished doing a first copy in a diff scope, subsequent backups will be differential
[ubuntu] info: should you need to use the mirror VM, register it manually at the backup ESXi host
---------------------------------------------------------------------------------------------------
The ESXi configuration was saved to "/vmfs/volumes/backup"
---------------------------------------------------------------------------------------------------
Errors detected in backup, check logs
---------------------------------------------------------------------------------------------------
Backup finished
Tip: no chained backups scheduled, set --on-success and/or --on-error arguments to chain a backup
Killed

#7 Re: © OneDiff » error: first 50M mistmatch » 2017-09-21 14:00:19

hello,

i'm on ESXI 5.1.0, 1483097

this is my cron :

/vmfs/volumes/datastore1/xsi-dir/xsibackup backupid=01 --time="Mon 02:00|Tue 15:45|Wed 13:43|Thu 15:06|Fri 02:00|Sat 02:00|Sun 02:00" \ --backup-prog=onediff --backup-point="x.x.x.x:22:/vmfs/volumes/datastore1" \ --backup-type=custom --backup-vms="debian" \ --on-success="backupid->02" --on-error="backupid->02"
/vmfs/volumes/datastore1/xsi-dir/xsibackup backupid=02 --host=x.x.x.x --backup-prog=xsitools:z \ --backup-point="/vmfs/volumes/datastore1/$(date '+%a')-xsitools" --backup-type=custom \ --backup-vms="debian" --override=xsibakfilter


this is the logs:

2017-09-20T13:49:37|  Syncronizing configuration files
---------------------------------------------------------------------------------------------------------------------------------
sed: bad regex '/vmfs/volumes/59a55e51-23ebeea2-f574-001b214be631/****ISO***/debian-8.9.0-i386-netinst.iso': Invalid preceding regular expression
---------------------------------------------------------------------------------------------------------------------------------
2017-09-20T13:49:42|  Removing hot snapshot & merging data
---------------------------------------------------------------------------------------------------------------------------------
2017-09-20T13:52:00|  [debian] info: OneDiff backup differential data (44) merged with base data
---------------------------------------------------------------------------------------------------------------------------------
2017-09-20T13:52:03|  [debian] info: diff mirror VM reloaded
---------------------------------------------------------------------------------------------------------------------------------
2017-09-20T13:52:03|  [debian] info: deleting snapshot at [debian_XSIBAK] Id 16...
2017-09-20T13:52:37|  [debian] info: all snapshots removed
---------------------------------------------------------------------------------------------------------------------------------
2017-09-20T13:52:37|  [debian] info: Updating CID at 192.168.238.1:22:/vmfs/volumes/datastore1/debian/debian.vmdk
2017-09-20T13:52:38|  [debian] info: finished OneDiff backup, CID updated
---------------------------------------------------------------------------------------------------------------------------------
2017-09-20T13:52:38|  [debian] info: performing quick check...
---------------------------------------------------------------------------------------------------------------------------------
2017-09-20T13:52:39|  [debian] info: file [debian-flat.vmdk]...
2017-09-20T13:52:40|  [debian] info: file size check | [0;32mOK[0m [ 17179869184B | 17179869184B ]
---------------------------------------------------------------------------------------------------------------------------------
2017-09-20T13:52:40|  [debian] info: comparing first 50M of [debian-flat.vmdk]...
2017-09-20T13:52:44|  [0;31m[debian] error DIFQMSH1: empty first 50M local (inexistent file?)[0m...
2017-09-20T13:52:44|  [0;31m[debian] error DIFQMSH3: first 50M mistmatch[0m...
---------------------------------------------------------------------------------------------------------------------------------
2017-09-20T13:52:46|  [0;36m[debian] measure DIFRMVMX: took measure deleted remote .vmx file to reinitialize OneDiff[0m
The ESXi configuration was saved to "x.x.x.x:22:/vmfs/volumes/datastore1"
---------------------------------------------------------------------------------------------------------------------------------
2017-09-20T13:53:06|  [0;31mErrors detected in backup, check logs[0m

#8 Re: © OneDiff » error: first 50M mistmatch » 2017-09-19 13:49:51

jayce wrote:

The first backup doesn't do the 50M test.
The second backup does it and may throw the error if dd is acting weird (or if the VM has empty block at beginning).
When throwing the error it remove the vmx file that cause the reset of the onediff backup.
So the 3rd backup doesn't do the 50M test because it does nearly a full backup like the first one.
4th backup will raise the error, etc.

Hello,
I have the same issue.

I have one question about it. When i upload a VM with OneDiff, (the first real full), the average upload speed is about 1.5mb/s. But when OneDiff backup full again cause the 50M error, the upload speed is about 40mb/s. So i guess it doesn't really upload a complete full backup for real. Is someone know how it works ? Don't really understand what's goin' on?

PS : when 50M error occurs, i have this too :
sed: bad regex '/vmfs/volumes/59a55e51-23ebeea2-f574-001b214be631/****ISO***/debian-8.9.0-i386-netinst.iso': Invalid preceding regular expression

Board footer