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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » Secure Shell on EsXi and remote backup » 2019-03-19 00:09:36

Thank you for your detailed answer.

A workaround solution could be to install XSI backup pro on all other EsXi as we do not have so many but I'm not sure we're entitled to do it in terms of license rights with only one license purchase ?

Of course, that also means as many XSI version updates as EsXi which is fast but still time consuming.

#2 Re: General matters » Add a second email to backup reports » 2019-03-18 07:09:01

It worked like a charm on the GUI interface.
Thank you very much.

#3 General matters » Secure Shell on EsXi and remote backup » 2019-03-18 03:33:21

lfkl
Replies: 3

Hello,

Another very basic question.
XSI Backup pro is installed on our main EsXi and the 3 others EsXi are linked to the main one. Remote backup are working, no issue there.

Can I now deactivate secure SHELL and its port on all my EsXi without breaking that configuration? Will the main EsXi still be able to connect to the remote EsXi? (I don't think so).

But I also don't think that it's best practice to let SSH access to all our EsXi (even if you change the default port number).
What do you recommend?

Thank you for your time and assistance.

#4 General matters » Add a second email to backup reports » 2019-03-18 03:20:36

lfkl
Replies: 2

Hello,

Here comes a very simple question. Sorry, I'm new to the pro version.
How to receive backup reports emails on two different emails. Both are using the same SMTP.

Example :
backup1@lfkl.edu.my
backup2@lfkl.edu.my

It seems impossible to configure it in with the GUI interface
Do I have to modify my Job file directly? If yes, how precisely?

Job file :

"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=Vmkfstools \
--snapshot=includememory \
--date-dir=yes \
--backup-point=/vmfs/volumes/BACKUP/ \
--backup-type=Custom \
--backup-vms="MYSERVER" \
--backup-how=Hot \
--backup-room=600 \
--use-smtp=2 \
--mail-to=backup1@lfkl.edu.my \
--subject="INFRA-WEEKLY" \
--backup-id=001 \
--description="INFRAWEEKLY" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"

Thank you for your time and assistance.

#5 Re: General matters » V11.0.1 SMTP parameters » 2019-03-15 00:19:22

We finally purchased the pro version to solve our problem.
I will say it has a lot more of features.

#6 Re: General matters » V11.0.1 SMTP parameters » 2019-02-18 07:36:29

Thank you very much, it worked almost like a charm.

Here's my job file 001

# This is a backup job file example. It starts with the path to your
# xsibackup file and ends with the redirection to the log file. Please
# do make sure that you keep first and last lines, changing paths to
# match your working environment.

"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=XSITools:z \
--certify-backup=yes \
--backup-point=/vmfs/volumes/Backup/COMPTASRV/$( date +%Y%m'00000000' ) \
--backup-type=custom --backup-vms="COMPTASRV" \
--backup-how=Hot \
--remote-xsipath=/vmfs/volumes/datastore1/xsi-dir \
--use-smtp=2 \
--mail-to=email1@lfkl.edu.my \
--mail-to=email2@lfkl.edu.my \
--backup-id=001 \
--description="XSITools backup of production VMs" \
--on-success="backupId->002" \
--on-error="backupId->002" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log".

and my smtpsrvs file :

# [TITLE] = SMTP Server
# You can add as many SMTP servers as you want
# Columns are separated by colons as described below
# One server per line pledging to the following format (please, do note that the server IP or FQDN and port are separated by a colon)
# ORDINAL(integer);--smtp-srv(IP or FQDN):--smtp-port;--mail-from;--smtp-usr;--smtp-pwd;--smtp-auth(none|anystring);--smtp-sec(TLS|anystring);--smtp-delay(0-4 sec) 
# Do not parse any --smtp-delay unless you need it 0 is OK, only first 8 fields are mandatory
# Example
# 1;smtp.gmail.com:465;youremail@gmail.com;youremail@gmail.com;Y0urpassw0rd;yes;TLS;0
2;smtp.sendgrid.net:587;email1@lfkl.edu.my;"username";"password";yes;STARTTLS;0
.

The email is correctly sent from email1@lfkl.edu.my but only email2@lfkl.edu.my receive it, not email1@lfkl.edu.my.
Is there something I incorrectly setup on the job file?

#7 General matters » V11.0.1 SMTP parameters » 2019-02-11 01:36:11

lfkl
Replies: 3

Hello,

I'm a bit confused with the way smtp parameters should be configured on the job file.
Here's our job file :

"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=XSITools:z \
--certify-backup=yes \
--backup-point=/vmfs/volumes/Backup/COMPTASRV/$( date +%Y%m'00000000' ) \
--backup-type=custom --backup-vms="COMPTASRV" \
--backup-how=Hot \
--remote-xsipath=/vmfs/volumes/datastore1/xsi-dir \
--use-smtp=2 \
--mail-from=myemailadress@xxxx.xxx.xx --mail-to=myemailaddress@xxxx.xxx.xx --smtp-srv=smtp.sendgrid.net  --smtp-port=587 --smtp-usr=myuserlogin --smtp-pwd=mypassword  --smtp-sec=STARTTLS \
--backup-id=001 \
--description="XSITools backup of production VMs" \
--on-success="backupId->002" \
--on-error="backupId->002" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"

Bu we have this error on the log after the CRON job is succesfully executed:

2019-02-11T03:18:09|  No errors detected in backup
---------------------------------------------------------------------------------------------------------------------------------
Using stored SMTP server info...
Found conf/smtpsrvs file...
[0;31mError: cannot determine the e-mail server credentials, each smtpsrvs entry requires seven fields, please check syntax[0m


Of course there's something wrong with the smtp parameters that I did but I'm not sure what it is. (shall we remove the line "--use-smtp=2 \") ? shall I put every argument on a different line ?
Those parameters are working with all versions below 11 :
--mail-from=myemailadress@xxxx.xxx.xx --mail-to=myemailaddress@xxxx.xxx.xx --smtp-srv=smtp.sendgrid.net  --smtp-port=587 --smtp-usr=myuserlogin --smtp-pwd=mypassword  --smtp-sec=STARTTLS \

I've read this article about changes with version 11 but still can't find the right syntax.
(c)XSIBackup Classic: changes in version 11.0.0

Can you please help ? Thank you for your assistance!

Board footer