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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2023-11-15 09:43:15

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

When trying to do a delegate backup I get the following error

cat /home/root/.xsi/var/log/192.168.123.11_xsibackup.log
2023-11-14T19:33:06| Unable to find option execInstalledOnly
2023-11-14T19:33:06| cat: can't open '/tmp/249571708381361_delegated.log': No such file or directory


Here is the command:
/home/root/.xsi/xsibackup --backup=cbt "VMs(SBCSIP1)" /vmfs/volumes/TrueNAS/XSIbackup/vmware11     --backup-host=192.168.123.11:22 --compression="yes" --quiesce --rotate="8D" --block-size=1M --options=N --delegate
-------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------
Begin of delegated job at '192.168.123.11':

xsibackup \
--backup=cbt \
"VMs(SBCSIP1)" \
"/vmfs/volumes/TrueNAS/XSIbackup/vmware11" \
--compression=yes \
--quiesce \
--rotate=8D \
--block-size=1M \
--options=N \
--delegate \
--parent-id=35395661042031 \
>/dev/null 2>&1
-------------------------------------------------------------------------------------------------------------
Package copied to 'root@/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/xsibackup-dc.zip:'
-------------------------------------------------------------------------------------------------------------
Uncompressing DC package...
DC package was uncompressed at '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC'
-------------------------------------------------------------------------------------------------------------
Delegated job copied to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/etc/jobs/35395661042031_delegated'
-------------------------------------------------------------------------------------------------------------
Copied RSA key to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/xsibackup_id_rsa'
-------------------------------------------------------------------------------------------------------------
Copied public RSA key to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/xsibackup_id_rsa.pub'
-------------------------------------------------------------------------------------------------------------
Copied EULA to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/EULA'
-------------------------------------------------------------------------------------------------------------
Copied license key to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/license.key'
-------------------------------------------------------------------------------------------------------------
Copied smtpsrvs.conf to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/etc/smtpsrvs.conf'
-------------------------------------------------------------------------------------------------------------
Init scripts installed
-------------------------------------------------------------------------------------------------------------
Running delegated job at '192.168.123.11'...
Saving buffered output to '/home/root/.xsi/var/log/192.168.123.11_xsibackup.log'
Local log is generated only after the job has completed
-------------------------------------------------------------------------------------------------------------
End of delegated job at '192.168.123.11'
Log was saved to '/home/root/.xsi/var/log/192.168.123.11_xsibackup.log'
-------------------------------------------------------------------------------------------------------------

Offline

#2 2023-11-15 10:04:54

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

Re: When trying to do a delegate backup I get the following error

IS your ©ESXi host (192.168.123.11) version 8?.
The execInstalledOnly directive exists only in ©ESXi 8.
Apart from that running a delegated job requires a scratch partition configured in every ©ESXi server.

Offline

#3 2023-11-15 21:34:39

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

Re: When trying to do a delegate backup I get the following error

Esxi Host (192.168.123.11)  is 6.7.0 Update 3 (Build 15820472)
Yes the system has a scratch directory.
ls -l /scratch/
total 4
drwxr-xr-x    1 root     root           512 Nov 11 09:20 XSI

The system was previously running XSIBackup on the host. Could this be the problem?

Seeing this is VMWare 6.7, I don't know why I see why the message: "Unable to find option execInstalledOnly"

Offline

#4 2023-11-16 12:10:12

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

Re: When trying to do a delegate backup I get the following error

Run adding --debug-print to see why that command is failing.

Offline

#5 2023-11-21 00:02:40

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

Re: When trying to do a delegate backup I get the following error

Here is the last part of the debug output. (This in vmware 6.7)

DC package was uncompressed at '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC'
-------------------------------------------------------------------------------------------------------------
Delegated job copied to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/etc/jobs/567268820782968_delegated'
-------------------------------------------------------------------------------------------------------------
Copied RSA key to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/xsibackup_id_rsa'
-------------------------------------------------------------------------------------------------------------
Copied public RSA key to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/xsibackup_id_rsa.pub'
-------------------------------------------------------------------------------------------------------------
Copied EULA to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/EULA'
-------------------------------------------------------------------------------------------------------------
Copied license key to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/license.key'
-------------------------------------------------------------------------------------------------------------
Copied smtpsrvs.conf to '/mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/etc/smtpsrvs.conf'
-------------------------------------------------------------------------------------------------------------
Cmd local (runloccmd): (sed -i '/exit 0/d' '/mnt/XSI/srvs/192.168.123.11/etc/rc.local.d/local.sh';sed -i '/SSH start/d' '/mnt/XSI/srvs/192.168.123.11/etc/rc.local.d/local.sh';echo '/etc/init.d/SSH start > /dev/null 2>&1' >> '/mnt/XSI/srvs/192.168.123.11/etc/rc.local.d/local.sh';echo 'exit 0' >> '/mnt/XSI/srvs/192.168.123.11/etc/rc.local.d/local.sh';sed -i '/export PATH/d' '/mnt/XSI/srvs/192.168.123.11/etc/profile.local';echo 'export PATH=/scratch/XSI/XSIBackup-DC:$PATH' >> '/mnt/XSI/srvs/192.168.123.11/etc/profile.local') 2>&1
-------------------------------------------------------------------------------------------------------------
Init scripts installed
-------------------------------------------------------------------------------------------------------------
Running delegated job at '192.168.123.11'...
Saving buffered output to '/home/root/.xsi/var/log/192.168.123.11_xsibackup.log'
Local log is generated only after the job has completed
-------------------------------------------------------------------------------------------------------------
2023-11-21T10:58:12| Unable to find option execInstalledOnly
2023-11-21T10:58:12| cat: can't open '/tmp/567268820782968_delegated.log': No such file or directory
-------------------------------------------------------------------------------------------------------------
End of delegated job at '192.168.123.11'
Log was saved to '/home/root/.xsi/var/log/192.168.123.11_xsibackup.log'
-------------------------------------------------------------------------------------------------------------
Cmd local (runloccmd): (rm -rf /mnt/XSI/srvs/192.168.123.11/scratch/XSI/XSIBackup-DC/etc/jobs/*_delegated) 2>&1

Offline

#6 2023-11-23 16:39:43

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

Re: When trying to do a delegate backup I get the following error

The local ESXi server is 6.7, but the remote server to which you are delegating the job must be >= 8.0, otherwise the execInstalledOnly command would not be used (the version is checked before running that command).

Contact support dept. for a more personalized support. The forum is OK for general errors, we need some more details from your setup though.

Offline

#7 2023-11-23 21:14:49

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

Re: When trying to do a delegate backup I get the following error

There's the mistake. It is NOT >-8.0 and it IS using execInstalledOnly.
All of the ESXI systems here are 6.7 or 7.0

Last edited by stuart.edge (2023-11-23 21:21:48)

Offline

#8 2023-11-30 09:22:08

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

Re: When trying to do a delegate backup I get the following error

So why does XSI backup think this is ESXI  8.0 ?

Offline

Board footer