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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1951 Re: General matters » error: first 50M mistmatch » 2017-10-24 16:36:17

It shouldn't, as the 500M check is performed once all snapshots are removed from the target VM and the ghost partition is created during the snapshot process. Can you confirm if the ghost partition is persistent after removing the snapshot?, check both the source and target VMs.

#1952 Re: General matters » error: first 50M mistmatch » 2017-10-24 15:06:46

It's just a warning, you can ignore it.

#1953 Re: General matters » error: first 50M mistmatch » 2017-10-24 14:24:46

We have reprogrammed that check and now it has been expanded to the first 500M (which does not take much longer than 50M), you can download v 10.0.4 which was released this weekend and includes that improvement. We have not only expanded the length of data to check, but also improved that routine.

That mistmatch is, most probably, due to a problem accessing any of the two files in comparison. We'll continue to improve this check, but latest version will, at least, offer you more detail about what is really happening.

Make sure that you don't have any ghost xsibackup-rsync process hanging around. Execute: [b]ps -c | grep xsi[/b] and check what you have in memory.

#1954 Re: General matters » SMTP E-Mail Failed Timeout » 2017-10-18 12:44:34

We have checked XSIBackup with a number of e-mail servers, Microsoft's is among them.
You have two choices:

1 - Use GMail, Hotmail, Yahoo, etc...
2 - Debug your SMTP session to find out which is the exact cause.

#1955 Re: General matters » How to exclude VM's rather then include » 2017-10-17 14:02:55

Just a few ideas, you can:

1/ Select them manually: [b]--backup-type=custom --backup-vms=VM1,VM2[/b], etc...
2/ Use a regex to select/deselect VMs (available from v. 10.0.4, will be launched in a few days)
3/ Script the VM list in an include source file within [b]xsibackup-cron[/b] and use the variable in place of the VM list.

#1956 Re: © OneDiff » error OVMXCHK1: VMX file check » 2017-10-16 17:09:43

[b]noobstyle[/b], we have the big picture. If there was some sign that there could be a bug on our side, we would be the first to react and fix it. The truth is that nobody else has reported this issue.

We have checked the code that is raising the error for you and we can't reproduce it. If we say it's obvious, it's because it is a string comparison that is failing, so you just have to compare  both strings at runtime and find out why they don't happen to be equal to that comparison sentence.

You can also remove the check, which is not absolutely necessary, just remove this lines starting at line 475 in [b]src/onediff[/b] module

VMXCONTENTCHCK="$( cat "$VMXFILECONTENTPATH" | head -n1 | head -n1 | openssl md5 2>/dev/null | awk -F '=' '{print $2}' | sed -e 's/^ *//g' -e 's/ *$//g' )"
if [ "$VMXCONTENTCHCK" != "1077300a4a48cc94a3f8c3bf78d77e3a" ]
then
    writeout "\033[0;31m[$NAM] error OVMXCHK1: VMX file check 1 fail, details: first line in .vmx file is not [.encoding = \"UTF-8\"], has this file been manually modifie
    ERR OVMXCHK1 "[$NAM] error: VMX file check 1 fail"
fi

So as an excerpt, your issue seems to be local to your server/s, the only way we could offer some further help, would be to login to your system and debug the problem for you. But if the problem was due to some cause other than an xsibackup bug, we would charge the time taken as consultancy.

You try to put the blame on the other side, but you are forgetting about some thousands of users that are using those very same features. Please, try to be positive and focus on finding out why that comparison is not succeding.

You can add the following lines before line 475 to delve into the problem:

VMXFIRSTLINE="$( cat "$VMXFILECONTENTPATH" | head -n1 | head -n1 )"
VMXCONTENTHASH="$( cat "$VMXFILECONTENTPATH" | head -n1 | head -n1 | openssl md5 2>/dev/null | awk -F '=' '{print $2}' )"
echo "VMXFIRSTLINE: |$VMXFIRSTLINE|"
echo "VMXCONTENTHASH: |$VMXCONTENTHASH|"
echo "HARDCODED VALUE: 1077300a4a48cc94a3f8c3bf78d77e3a"
exit 0

This will halt execution, print the first line of the .vmx file, its hash and the value it is compared with.
After running these checks and finding where the problem is, you should delete the remote [b]Onediff[/b] copy and reinitialize the backup job.

#1957 Re: © XSITools » Space usage with xsitools » 2017-10-09 18:24:16

We'll take this as a software request, it's something we already had in our todo list. All possible solutions will need to be taken into account and performance tests will need to be carried on, in order to find the most efficient solution.

#1958 Re: General matters » SMTP E-Mail Failed Timeout » 2017-10-07 05:59:01

You have mixed two things here:

1 - Only one process is allowed at a time. "This execution request will be ignored." means, I will stop here.
2 - XSIBackup will probe the port before sending the e-mail. I'm afraid you'll need to debug your SMTP session. The server is responding, but by some reason it might stop waiting for some command.

#1959 Re: General matters » How to change datastore with spaces » 2017-10-05 02:17:35

You can have spaces in the VM names (that is extensible to its constituent files), no problem with that.
From the Man Page at: [url=https://33hops.com/xsibackup-help-man-page.html](c)XSIBackup Classic Man Page[/url]

CONSTRAINTS - PLEASE DO READ

- XSIBACKUP-FREE cannot handle datastores with spaces in its name. XSIBACKUP-PRO can use datastores with spaces as a backup target, but cannot handle VMs stored in a datastore with spaces.
- XSIBACKUP (FREE & PRO) cannot handle special chars in data store names nor in e-mail subject: ()"|><
- XSIBACKUP (FREE & PRO) cannot handle VMs that have special characters in its name: ()"|><
- XSIBACKUP (FREE & PRO) use double hyphen as an argument prefix. Thus, double hyphens cannot be used inside any argument value, including VM names.

#1960 Re: General matters » CRON job does not start » 2017-10-03 05:02:42

That behaviour is totally normal. ESXi's cron (/var/spool/cron/crontabs/root) is not persistent.
Don't ask us why, if you are interested in this subject, just open a topic at VMWare's forum and see if they give you a proper answer.

You do not need to deal with that, XSIBackup offers [b]--install-cron[/b] argument to install and uninstall the crontab with just a keystroke. If you experience problems like the one you are describing, please read this post thoroughly
[url]https://33hops.com/xsibackup-cron-how-to.html[/url]

The first thing to take on account is, not to use custom ESXi builds distributed by server manufacturers. We have found them to be very buggy, some of them plainly remove some ESXi features or basic design principles.

On the other side, you have to take on account that ESXi's cron service is not very refined, to put it mildly. You may need to reboot the server once you have installed it. So, what I would do is to:

- Install cron via the [b]--install-cron[/b] argument.
- Check that the [b]/etc/rc.local.d/local.sh[/b] file contains the line to push the xsibackup cron call into the [b]/var/spool/cron/crontabs/root[/b] file.
- Reboot the server.
- Check that the [b]/var/spool/cron/crontabs/root[/b] file contains the xsibackup-cron call.

If your cron file is still not working:

- Check that the [b]crond[/b] service is loaded.
- Check that you have execute permissions on the [b]xsibackup-cron[/b] file.

#1961 Re: General matters » Error 0606506D digital envelope routines » 2017-10-01 16:58:59

Well, you are backing up to another server over TCP/IP/SSH.
Do not use physical paths like [b]/vmfs/volumes/59bc0e3a-c5d32ff8-98f6-901b0e97b7cc/Backup[/b], but their short hardlinked ones instead.

Make sure that you use path names according to the exact capitalization, as ESXi is case sensitive.

In any case, your error has to do with SSL keys.

#1962 Re: © OneDiff » error OVMXCHK1: VMX file check » 2017-10-01 16:52:25

The thing is obvious, XSIBackup reads the first line and matches it against [b].encoding = "UTF-8"[/b]
If the match does not succeed, then you get that error. If the match was buggy, there would be, at least, hundreds of posts about this issue, but yours is the only one so far.

I would regenerate the .vmx from scratch by adding the .vmdk disks to a new template.

#1963 Re: General matters » CRON job does not start » 2017-09-28 19:19:36

--install-cron takes care of all of that, you don't need to worry about ESXi removing the entries in the /var/spool/cron/crontabs/root file, as the entry at /etc/rc.local.d/local.sh, will add it on every reboot. All of that is explained in the cron related posts.

I don't really know what tonydotigr problem is all about, crontab works out of the box for almost everybody. I would start from scratch and follow procedures thoroughly, you have probably taken a wrong turn somewhere in the process.

#1964 Re: General matters » Permission denied when installing Crontab » 2017-09-28 19:14:13

We fixed that already in the Free version of the install script

#1965 Re: © OneDiff » error OVMXCHK1: VMX file check » 2017-09-28 19:13:08

You probably edited it and some invisible characters are present

#1967 Re: General matters » ERROR CLCRESN1 cannot create snapshot details » 2017-09-28 19:11:24

Please read:

[url]https://33hops.com/esxi-snapshot-errors-and-solutions.html[/url]

#1968 Re: General matters » CRON job does not start » 2017-09-25 01:38:05

The crontab file is not called [b]xsi-backup-cron[/b], but [b]xsibackup-cron[/b]

#1969 Re: General matters » Error 0606506D digital envelope routines » 2017-09-25 01:33:36

That error is most probably due to a wrong key. Yes, I'm sorry to say that some of previous Fujitsu's ESXi custom builds ignored really basic ESXi design principles, like a persistent [b]/etc/rc.local.d/local.sh[/b] file.

I guess everyone tries to adapt the custom builds for their own purposes and forgets/ skips some basic things.

#1970 Re: General matters » Error when trying to use the --host parameter » 2017-09-25 01:07:16

Just set the variable [b]xsidefaultpath[/b] accordingly to your needs at the top of the script.

#1971 Re: General matters » xsibackup cron job killed with no details » 2017-09-21 17:27:13

We'll review that module in the next main revision, it just loops and prints HD S.M.A.R.T. info though, there might be some weird unfiltered characters involved in your issue. Thank you for the feedback.

#1972 Re: © OneDiff » error: first 50M mistmatch » 2017-09-21 17:24:14

O.K., this is something for us to check. I guess you left the CD .iso file attached to the VM

/vmfs/volumes/59a55e51-23ebeea2-f574-001b214be631/****ISO***/debian-8.9.0-i386-netinst.iso

On the other side the asterisks in the path may be causing the sed regexp to fail.
Now I'm wondering if this could be causing side effects in regards to the first empty 50M.
Please, remove that .iso file and give feedback.

#1973 Re: © OneDiff » error: first 50M mistmatch » 2017-09-20 19:24:50

OneDiff stores the data between backups in a snapshot, and the subsequent backup cycle that diff data is sent to the backup mirror and integrated with the previous data. XSIBackup is a script, you have all the details in the source code itself, should you be curious to know more in depth.

What you are describing is probably an error and a derived error, which is caused by the first.
We really want to help you, but although this thread has been open for quite a long time, we still don't have any details.

If this topic has to be considered related to a real problem, please provide:

- Backup job string with all arguments (except passwords)
- ESXi version and build number.
- Logs containing the exact errors you are getting

#1974 Re: General matters » xsibackup cron job killed with no details » 2017-09-20 19:15:46

Please, upgrade to latest version. We have fixed many non critical bugs lately.

#1975 Re: General matters » xsibackup cron job killed with no details » 2017-09-19 06:18:21

There are many causes that could lead to a timeout trying to delete those folders: hardware flaw, NFS options, permissions, etc...

Board footer