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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2022-04-06 10:32:00

kd.gundermann
Member
Registered: 2018-02-27
Posts: 34

Email subject

my feature request:

Please include the following information in the default email subject:
- Host Name
- Backup Job ID
- VMs / ALL

Yes, I can set a specific subject with the --subject option, but then I will loose the information if there was an error or not.

Best regards

Klaus

PS: The Email text includes the "Session ID" twice but not the job id

Offline

#2 2022-04-06 15:02:26

admin
Administrator
Registered: 2017-04-21
Posts: 1,967

Re: Email subject

Well, the e-mail subject is limited in size. We have in our to do list adding some kind of job variables that you can use in your job: job Id, session Id, VM list, etc... Still, that should probably go in the e-mail body where there aren't so much constraints in size.

It's not only the the subject field is limited in size but that it might be truncated or modified by some software like e-mail filters.

Offline

#3 2022-04-06 20:36:07

kd.gundermann
Member
Registered: 2018-02-27
Posts: 34

Re: Email subject

The hard limit is 998 chars https://datatracker.ietf.org/doc/html/r … tion-2.1.1 but yes it recommends to have only 78 chars.

Having these job variables would be a great thing :-)

Offline

#4 2022-04-07 09:54:54

admin
Administrator
Registered: 2017-04-21
Posts: 1,967

Re: Email subject

You really already have them in the xsibackup.db file in the var/log/backupdb.log file. We call it the Operations Database Registry.

As soon as the job ends a new entry is added to this file with all details on the backup.

We could autoreference this values in the job, in any case, any solution would need to be open, so that you can use this variables with any available protocol, not only SMTP.

Offline

Board footer