You are not logged in.
We have checked this feature in Ubuntu 20 and it works as expected. It could be something particular to that VM, please try with others. Also make sure that you upgrade the whole application by using the installer instead of just overwritting the xsibackup binary.
Apart from the need to explicitly enable root login in the /etc/ssh/sshd_config file, there's nothing more to say in regards to this distro.
Some builds of the OpenSSL binary shipped in early versions of the (c)ESXi 6 branch can't decode base64 strings which may lead to (c)XSIBackup failing at the time to run some commands.
You can reproduce the error by running this code snippet
echo 'Uj0iJCggKCIvc2NyYXRjaC9YU0kvWFNJQmFja3VwLURDL3hzaWJhY2t1cCIgLS1mcmVlLXNwYWNlICIvdm1mcy92b2x1bWVzL2RhdGFzdG9yZTEvcmVwbGljYXMvMyIpIDI+JjEgKSI7ZWNobyAtbiAkPyI7IiRSCg==' | openssl base64 -dIt should return
R="$( ("/scratch/XSI/XSIBackup-DC/xsibackup" --free-space "/vmfs/volumes/datastore1/replicas/3") 2>&1 )";echo -n $?";"$RIn case your OpenSSL binary is affected you would get nothing.
You can ignore the additional bug that causes the constant output:
WARNING: can't open config file: /usr/ssl/openssl.cnfWe have already addressed it by filtering it out.
We'll try to address this issue by working it around.
Could be something related to your remote Linux distro we'll try to take a closer look at it and make extended tests with Ubuntu 20
We have just released v. 1.5.0.13 with the fix.
We have just released v. 1.5.0.13. This issue should be solved for you, just let us know.
We have just released v. 1.5.0.13 and we revised restoring VMs from remote locations in the GUI.
Make sure that you upgrade the whole program by using the installer. There was some bug around that exact feature that we solved a couple of versions ago.
If you didn't upgrade the whole app, including the GUI files, you might have been still affected by it.
Thank you, we are constantly testing all features. The GUI is bash based, it works on top of the binary as a mere abstraction layer. We'll check the GUI in your very same build.
Thank you for the detail. Please do post the output of the program next time. There isn't anything compromising apart from the IP that you can mask and on the other side it contains more information than what you are giving.
The backup seems to be OK, I believe it is the restore that you were having trouble with.
We will revise that feature in the GUI before publishing next version. Please restore using the [url=https://33hops.com/xsibackup-dc-full-manual-home.html#restore]--restore[/url] action and let us know if everyhing went well.
./xsibackup --restore root@10.201.13.67:22:/data/vmwarefabriek/some-vm /vmfs/volumes/datastore1/restores(*) The paths above are just an example
We published the bug.
The fix will be released tomorrow as 1.5.0.13 if all tests go well.
[url=https://33hops.com/forum/viewtopic.php?pid=4232#p4232]Bug on --rotate in some ESXi versions[/url]
Latest versions fail to rotate backups and replicas on some ESXi versions.
We are working on a fix. It will be released as (c)XSIBackup-DC 1.5.0.13
Thanks to you for your patience.
This time of the year we are working half gas.
We have indeed detected some issue in this build (VMware ESXi 6.7.0 build-14320388).
We will release a fix ASAP. Please rotate manually until we do.
Thank you for your feedback. It might be something specific to this build. There has been multiple bugs related to the shell in branch 6 of ESXi. It could also be some bug, we'll keep you informed.
We are conducting a thorough series of tests on this build.
We are making tests with your same exact version this weekend, we'll reach you back as soon as we have something.
Please, always post the full output when requesting support, otherwise we don't know the program's version, the ESXi version, the remote OS, etc..., which makes it a lot more difficult to offer some good feedback, as we have to guess and make asumptions.
--backup generates deduplicated backups. The .map files are the block manifests.
Wwe have recently checked the restore feature in the GUI, still, there's always the possibility that some bug appears. When that happens we fix it quickly and release a fix. First of all we need to know which exact version you are using.
Apart from that you can always use the --restore action, the GUI in the end is nothing but a Bash abstraction layer, it's not the code really performing the restore.
OK, let's concentrate on the main issue and we can then address the other one.
We'll try to reproduce the problem on the exact same version + build.
--rotate=3 means: keep the three latest timestamped dirs.
Back on the issue.
- The FIFO node is required to use --rotate. Check that you are indeed able to create a FIFO in the /tmp dir by using mkfifo
mkfifo /tmp/fifotest;ls -la /tmp/fifotest- We just worked an issue around some OpenSSL implementations present in some ESXi builds. Upgrade the main binary and see if this helps your issue, it probably won't, we need to move forward eliminating some uncertainties though.
[url=https://33hops.com/xsibackup-datacenter-change-log.html]Issue on spurious error raised by OpenSSL[/url]
Well, it turned out to be something that we weren't expecting. This is the relevant part in the strace output.
read(10, "Bad port '-q'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 255) = 255For some reason the ssh client is not taking the -q option (quiet), or the call is malformed.
This isn't happening on our tests though. Can you share the exact build number with [b]vmware -v[/b]?, so that we can try to install the very same build and again try to reproduce your issue.
Now the weirdest thing of all is that in theory (you didn't post the exact job command that produced the above strace output, we will asume it is the very same as in the previous post) the job was local, thus, there should not be any ssh command tunneling at that point.
Yes, as described in the post.
Always post the output when requesting help, otherwise we have to guess all the data that is not there.
We can't reproduce your issue. Renaming the VM does not affect detecting and renaming files associated to the VM.
We just fixed a problem triggered by some faulty versions of OpenSSL in some older versions of (c)ESXi in branch 5 and early 6
Download 1.5.0.12 and try again. Let us know if that fixed your issue.
You can easily achieve the same with DC.
We have just covered that in detail in v. 1.5.0.11 and in our post:
[url=https://33hops.com/xsibackup-extended-rotation-features.html]Extended rotation features[/url]
The problem is solved in 1.5.0.12 available in the download zone of the user area.
Please confirm whether this fixed your issue.
We have detected this issue in some other builds, it has to do with the same we comment above. We'll try to work the issue around by running shell commands in some alternative way.
UPDATE:
We can confirm this is due to a bug in the OpenSSL implementation shipped with some versions of (c)ESXi.
The bug consists in that the message "WARNING: can't open config file: /usr/ssl/openssl.cnf" is returned every time you invoke the openssl binary, it has caused some other issues in the past.
We'll work this issue around and publish as 1.5.0.12
It could be, we have nonetheless reproduced your environment 5.5 to 6.5 without issue.
Post the output of
vmware -vFrom both hosts and we will try to reproduce the exact same environment accurate to the build number.
In any case the problem is rather clear. From your strace.
pipe([10, 11]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x32000910) = 524212574
close(11) = 0
fstat(10, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ffc0ec7000
read(10, sh: syntax error: unterminated quoted string
"", 600) The pipe command returns a shell syntax error that isn't happening in other builds nor in our tests. Everything points at some bug in the OpenSSH client.
This is the exact translated command that you can use to debug your scenario and the one that returns the first error. Run from your ESXi 5.5 host and post the output.
ssh -vvv -i xsibackup_id_rsa root@REDACTED "\"/scratch/XSI/XSIBackup-DC/xsibackup\" --free-space \"/vmfs/volumes/Backups/backups_ctec\""(*) The -vvv will just make ssh client to be verbose.
The problem seems to be related to the double quote escaping, most probably the ssh client is not parsing them well, which would lead us to our very first answer: [b]patch your ESXi 5.5 host[/b].
If you want to make a quick test, just copy some ssh client binary from some close version, maybe the one packed in ESXi 6.0 should work. Still that would not survive a reboot, which would again lead you to the need to patch your host to the latest build in the 5.5 branch.
Your job syntax is OK. The error is raised on the [b]remove()[/b] system call, the error is coming directly from the FS.
I'm wordering if that really tiny size could be causing some unexpected behaviour, it shouldn't. It could have something to do with the SSD, maybe some driver issue. Can you try to some alternative location?
Prepend [b]strace[/b] to have a direct insight into de problem at a system call level, you will most probably just see that the remove() system call returns -1, but there may be some additional info.
From the installation dir:
strace ./xsibackup --replica "VMs(tiny)" /vmfs/volumes/Local-1/replica/$(date +%Y%m%d%H%M%S)/ --rotate="4"UPDATE:
Just a little detail. Remove that trailing slash, you don't need it. I don't think this will be causing any issue, still, just to remove unneeded variables from the equation.
strace ./xsibackup --replica "VMs(tiny)" /vmfs/volumes/Local-1/replica/$(date +%Y%m%d%H%M%S) --rotate="4"(c)XSIBackup uses system calls, the same as your manual commands. We haven't been able to reproduce your issue on the other side. If it was a bug I guess we would know by now as some other people would have complained on the same matter. We can't be sure 100% without checking it, it all looks like some sort of misconfiguration or faulty driver/ hardware though.
[b]No such file or directory[/b] is a message coming directly from the remote system call. It's not the same to delete a folder manually than doing it right after a heavy load on the NFS share.
Contact us directly to ask for a remote RDP session if you will, but please change your cables/ switch and try to find the problem on your own first.