You are not logged in.
Pages: 1
OK Ihere are the error messages:
sh: n: bad number
iError: cannot determine the e-mail server credentials
Hello
when I use the follwing conf/smtpsrvs file:
# 1;smtp.gmail.com:465;youremail@gmail.com;youremail@gmail.com;Y0urpassw0rd;yes;TLS;0
1;192.168.0.17:465;xsibackup@localdomain.de;authuser@localdomain.de;nopasswd;no;TLS
or
1;192.168.0.17:25;xsibackup@localdomain.de;authuser@localdomain.de;Y0urpassw0rd;yes;SMTP;0
Why dont you write at least one complete example for each Method??
1) plain smtp with SMTP-Auth
2) plain smtp without SMTP-Auth
3) smtp secured with TLS with SMTP-Auth
4) smtp secured with TLS without SMTP-Auth
Btw: Why is the following example completely different:
https://33hops.com/xsibackup-smtp-serve … -file.html
It uses mir ":" than ";" as separators....please advise which one is correct.
Kind regards
Martin
Thank you for your answer.
>you can't send the e-mail report,
No you misunderstand me, I can send emails...
The problem is, that I cannot backup just 1 VM when I append the email option, it starts to backup ALL VMs (as you can see in my logs).
But without email to be send, I can backup just the 1 VM I want to backup.
The Shell command:
./xsibackup --backup-point=/... --backup-type=custom -–backup-vms="Xubuntu" --date-dir=yes --mail-.....
will backup _ALL_ VMs existing on the ESX and then sends the email:
But
./xsibackup --backup-point=/... --backup-type=custom -–backup-vms="Xubuntu" --date-dir=yes
Works as expected and will backup just the VM "Xubuntu" VMs existing on the ESX.
But I really want both!!
First Emails AND second the ability to select VMs to be backed up (not always all).
Now more clear??
Thank you very much for your time!!
Sorry but I am really stuck, because I cannot find my fault...
I cannot backup 1 or 2 VMs when I append a email to be send.
Here the result:
[root@esxi:/vmfs/volumes/56e4e6a0-ae62921e-817c-0cc47ab3e5ee/xsi-dir] ./xsibackup --backup-point=/vmfs/volumes/esxi-backup --backup-type=custom -–backup-vms="Xubuntu" --date-dir=yes --mail-from=xsibackup@domain.local --mail-to=admin@domain.local --smtp-srv=192.168.0.17 --smtp-port=25 --smtp-auth=none
#####################################################################################
# #
# (c) XSIBACKUP-FREE 9.0.2 | Backup for (c) VMWARE ESXi Hypervisor by 33hops.com #
# #
#####################################################################################
XSIBackup PID: 783738 esxi.domain.local
Fri, 09 Jun 2017 10:53:30 +0000 IPv4: 192.168.0.21/255.255.255.0
VMware ESXi 6.0.0 build-3380124 (c) Rsync 3.1.0 as opt. dependency
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Found --backup-point at [ /vmfs/volumes/esxi-backup ]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Getting list of all VMs...
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 napp-it [datastore1] napp-it/napp-it.vmx solaris11_64Guest vmx-11 OmniOS 151014 with L2ARC bug fixed
13 EXASolo-5.0.15 [datastore1] EXASolo-5.0.15/EXASolo-5.0.15.vmx rhel6_64Guest vmx-11 rhel6.5.0
14 Xubuntu [datastore1] Xubuntu/Xubuntu.vmx ubuntu64Guest vmx-11
17 filer.domain.local [Pool6TBDisks-NFS4ESXI] filer.domain.local/filer.domain.local.vmx windows8Server64Guest vmx-11
18 Win10-Test [Pool6TBDisks-NFS4ESXI] Win10-Test/Win10-Test.vmx windows9_64Guest vmx-11
19 pfSense-CE [datastore1] pfSense-CE/pfSense-CE.vmx freebsd64Guest vmx-08 pfSense VM
20 HPE_VerticaAnalyticPlatform [datastore1] HPE Vertica Analytic Platform/HPE Vertica Analytic Platform.vmx centos64Guest vmx-08
21 thinc [Pool6TBDisks-NFS4ESXI] thinc/thinc.vmx otherLinuxGuest vmx-11
6 2012-SQL [datastore1] 2012-SQL/2012-SQL.vmx windows8Server64Guest vmx-11
7 2012-Mgmt [datastore1] 2012-Mgmt/2012-Mgmt.vmx windows8Server64Guest vmx-11
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
VMs to backup:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 napp-it [datastore1] napp-it/napp-it.vmx solaris11_64Guest vmx-11 OmniOS 151014 with L2ARC bug fixed
13 EXASolo-5.0.15 [datastore1] EXASolo-5.0.15/EXASolo-5.0.15.vmx rhel6_64Guest vmx-11 rhel6.5.0
14 Xubuntu [datastore1] Xubuntu/Xubuntu.vmx ubuntu64Guest vmx-11
17 filer.domain.local [Pool6TBDisks-NFS4ESXI] filer.domain.local/filer.domain.local.vmx windows8Server64Guest vmx-11
18 Win10-Test [Pool6TBDisks-NFS4ESXI] Win10-Test/Win10-Test.vmx windows9_64Guest vmx-11
19 pfSense-CE [datastore1] pfSense-CE/pfSense-CE.vmx freebsd64Guest vmx-08 pfSense VM
20 HPE_VerticaAnalyticPlatform [datastore1] HPE Vertica Analytic Platform/HPE Vertica Analytic Platform.vmx centos64Guest vmx-08
21 thinc [Pool6TBDisks-NFS4ESXI] thinc/thinc.vmx otherLinuxGuest vmx-11
6 2012-SQL [datastore1] 2012-SQL/2012-SQL.vmx windows8Server64Guest vmx-11
7 2012-Mgmt [datastore1] 2012-Mgmt/2012-Mgmt.vmx windows8Server64Guest vmx-11
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Needed room: 2836 Gb.
Available room: 4180 Gb.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I type: Ctrl-C
Shutting down...
Killed
Without Email option all is working:
[root@esxi:/vmfs/volumes/56e4e6a0-ae62921e-817c-0cc47ab3e5ee/xsi-dir] ./xsibackup --backup-point=/vmfs/volumes/esxi-backup/ --backup-type=custom --backup-vms="Xubuntu" --date-dir=yes
#####################################################################################
# #
# (c) XSIBACKUP-FREE 9.0.2 | Backup for (c) VMWARE ESXi Hypervisor by 33hops.com #
# #
#####################################################################################
XSIBackup PID: 789141 esxi.domain.local
Fri, 09 Jun 2017 11:06:02 +0000 IPv4: 192.168.0.21/255.255.255.0
VMware ESXi 6.0.0 build-3380124 (c) Rsync 3.1.0 as opt. dependency
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Found --backup-point at [ /vmfs/volumes/esxi-backup/ ]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
E-mail Warnings
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The e-mail report will not be sent because of the followig reasons:
The --mail-from string has not been set
The --mail-to string has not been set
The --smtp-srv string has not been set
The --smtp-port string has not been set
The --smtp-usr string has not been set, you need --smtp-usr if --smtp-auth is other than -none-
The --smtp-pwd string has not been set, you need --smtp-pwd if --smtp-auth is other than -none-
Getting list of all VMs...
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 napp-it [datastore1] napp-it/napp-it.vmx solaris11_64Guest vmx-11 OmniOS 151014 with L2ARC bug fixed
13 EXASolo-5.0.15 [datastore1] EXASolo-5.0.15/EXASolo-5.0.15.vmx rhel6_64Guest vmx-11 rhel6.5.0
14 Xubuntu [datastore1] Xubuntu/Xubuntu.vmx ubuntu64Guest vmx-11
17 filer.domain.local [Pool6TBDisks-NFS4ESXI] filer.domain.local/filer.domain.local.vmx windows8Server64Guest vmx-11
18 Win10-Test [Pool6TBDisks-NFS4ESXI] Win10-Test/Win10-Test.vmx windows9_64Guest vmx-11
19 pfSense-CE [datastore1] pfSense-CE/pfSense-CE.vmx freebsd64Guest vmx-08 pfSense VM
20 HPE_VerticaAnalyticPlatform [datastore1] HPE Vertica Analytic Platform/HPE Vertica Analytic Platform.vmx centos64Guest vmx-08
21 thinc [Pool6TBDisks-NFS4ESXI] thinc/thinc.vmx otherLinuxGuest vmx-11
6 2012-SQL [datastore1] 2012-SQL/2012-SQL.vmx windows8Server64Guest vmx-11
7 2012-Mgmt [datastore1] 2012-Mgmt/2012-Mgmt.vmx windows8Server64Guest vmx-11
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
VMs to backup:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
14 Xubuntu [datastore1] Xubuntu/Xubuntu.vmx ubuntu64Guest vmx-11
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Needed room: 78 Gb.
Available room: 4180 Gb.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Pages: 1