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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2018-12-16 14:40:30

thewebgeek
Member
Registered: 2018-12-16
Posts: 5

XSI-Pro Error after Install

I have downloaded and installed XSI-PRO including installing the license. 

When I try to execute xsibackup, I recieve the following error:

BusyBox v1.22.1 (2016-03-26 07:03:26 PDT) multi-call binary.

Usage: dirname FILENAME

Strip non-directory suffix from FILENAME

/vmfs/volumes/HP Local/xsi-dir/src/pro/menu/main: .: line 70: can't open '/common'

I went back through the README and double-checked all of the permissions.  Any ideas?

Offline

#2 2018-12-16 15:12:05

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

Re: XSI-Pro Error after Install

You can't install to a datastore that contains some space:

/vmfs/volumes/HP Local/xsi-dir/src/pro/menu/main

Install to some other datastore, like [b]datastore1[/b]
As stated spaces are not allowed in datastore names, you can use them in Virtual Machines and their paths if you will though. But any virtual machine residing in the above datastore can't be backed up with XSIBackup either

Offline

#3 2018-12-16 15:21:38

thewebgeek
Member
Registered: 2018-12-16
Posts: 5

Re: XSI-Pro Error after Install

So if all of my hosts have datastores with spaces in the name, and all of my VMs reside in those datastores, I will not be able to install the product or backup my vms?

Offline

#4 2018-12-16 15:28:57

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

Re: XSI-Pro Error after Install

Right, this is clearly stated at the beginning of the man page, under the section "CONSTRAINTS - PLEASE DO READ" in red letters.
On the other side, what is the point of having spaces in a datastore name?

Offline

#5 2018-12-16 15:40:43

thewebgeek
Member
Registered: 2018-12-16
Posts: 5

Re: XSI-Pro Error after Install

No special reason for the use of spaces, it is just our naming convention.  It complies with Vmware best practice on datastore naming.   The only forbidden characters in datastore name are /,\,[ ], and %.

Offline

#6 2018-12-16 16:12:43

thewebgeek
Member
Registered: 2018-12-16
Posts: 5

Re: XSI-Pro Error after Install

I renamed a datastore to remove the space so we can test.  What is the proper way to uninstall/reinstall to the new path?

Offline

#7 2018-12-16 18:40:00

matz
Member
Registered: 2017-06-28
Posts: 29

Re: XSI-Pro Error after Install

Try uninstall this way:

rm -rf "/vmfs/volumes/datastore1/xsi-dir"; \
chmod 0700 /var/spool/cron/crontabs/root; \ 
sed -i '/-dir\/jobs/d' /var/spool/cron/crontabs/root; \
sed -i '/cron-init/d' /etc/rc.local.d/local.sh

Change datastore name of course.

And install via generated oneliner from:

[url]https://33hops.com/user-login.html[/url]

Offline

#8 2018-12-16 20:49:38

thewebgeek
Member
Registered: 2018-12-16
Posts: 5

Re: XSI-Pro Error after Install

Thanks!  I'm up and going now.

Offline

#9 2018-12-17 10:28:16

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

Re: XSI-Pro Error after Install

Well, it's always a good practice to stick to naming conventions, what I cannot understand is how VMWare could recommend to use spaces in datastore names, when they ship ESXi with busybox binaries that often contain bugs related to management of space characters.

As a rule of thumb, it's always a good practice to avoid spaces in any operating system, at a minimum in base paths, like datastores.

[quote=thewebgeek]No special reason for the use of spaces, it is just our naming convention.  It complies with Vmware best practice on datastore naming.   The only forbidden characters in datastore name are /,\,[ ], and %.[/quote]

Offline

Board footer