You are not logged in.
Pages: 1
So why does XSI backup think this is ESXI 8.0 ?
email is working with --mail-to="stuart.edge@olcs.com.au" --subject="Backup of VMs VMware11" --smtp-client=sendmail
However, I still get the | appended to the subject
Backup of VMs VMware11 |
SMTP is working OK.
The remaining issue is the pipe "|" at the end of the subject.
Input = --subject="Backup of VMs VMware11"
Output = Backup of VMs VMware11 |
One more thing, the subject is set with:
--subject="Backup of VMs VMware11"
However, a pipe "|" symbol is being appended to the subject when I receive the email.
Backup of VMs VMware11 |
The template in the XSIBackup-App was empty.
/home/root/.xsi/var/html/000.html
I copied one from another server.
Now it works OK.
Please make sure this file is included in the XSIBackup-App image
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
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
I have updated and it is still not working.
When will we have version 1.1.0.1 ?
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"
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'
-------------------------------------------------------------------------------------------------------------
Config
1;192.168.122.100:25;xsibackup.app@olcs.com.au;xsibackup.app;xsibackup.app;none;none;0
Even thought the result is OK, postifix is dropping the connection.
Relay is enable from the IP address.
Why does it send "EHLO 33hops.com" and "STARTTLS" ?
xsibackup --smtp-test
|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
||| (c)XSIBackup-Free 2.1.0.0.009: Backup & Replication Software |||
||| (c)33HOPS, Sistemas de Informacion y Redes, S.L. | All Rights Reserved |||
||-------------------------------------------------------------------------------||
|---------------------------------------------------------------------------------|
(c)Daniel J. Garcia Fidalgo | info@33hops.com
|---------------------------------------------------------------------------------|
System Information: Linux, Kernel 3 Major 10 Minor 0 Patch 1160
-------------------------------------------------------------------------------------------------------------
SSL Key path: /home/root/.xsi/xsibackup_id_rsa
-------------------------------------------------------------------------------------------------------------
PID: 31789, Running job as: root
-------------------------------------------------------------------------------------------------------------
Available SMTP Servers
-------------------------------------------------------------------------------------------------------------
ID SERVER SMTP-USER SEC
-------------------------------------------------------------------------------------------------------------
1 192.168.122.100:25 xsibackup.app none
-------------------------------------------------------------------------------------------------------------
2 mail.olcs.com.au:2555 xsibackup.app none
-------------------------------------------------------------------------------------------------------------
Enter the SMTP server ID you want to check: 1
Enter some e-mail address to send the test e-mail to: stuart.edge@olcs.com.au
Sending e-mail to stuart.edge@olcs.com.au through SMTP#1...
-------------------------------------------------------------------------------------------------------------
=== Trying 192.168.122.100:25...
=== Connected to 192.168.122.100.
<- 220 xpr.olcs.com.au olcs.com.au olcs.net.au yourbetterhealth.com.au ipbx.net.au ecctec.com.au xpr.webconnex.au webconnex.au ESMTP Postfix (3.5.8)
-> EHLO 33hops.com
<- 250-mail.olcs.com.au
<- 250-PIPELINING
<- 250-SIZE 10240000
<- 250-VRFY
<- 250-ETRN
<- 250-STARTTLS
<- 250-ENHANCEDSTATUSCODES
<- 250-8BITMIME
<- 250-DSN
<- 250 SMTPUTF8
-> STARTTLS
<- 220 2.0.0 Ready to start TLS
=== TLS started with cipher TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256
=== TLS no local certificate set
=== TLS peer DN="/CN=mail.olcs.com.au"
~> EHLO 33hops.com
<~ 250-mail.olcs.com.au
<~ 250-PIPELINING
<~ 250-SIZE 10240000
<~ 250-VRFY
<~ 250-ETRN
<~ 250-ENHANCEDSTATUSCODES
<~ 250-8BITMIME
<~ 250-DSN
<~ 250 SMTPUTF8
*** Host did not advertise authentication
~> QUIT
<~ 221 2.0.0 Bye
=== Connection closed with remote host.
E-mail was sent OK
-------------------------------------------------------------------------------------------------------------
Pages: 1