log email failed

Questions about Cobian Backup 11 (Gravity)
Post Reply
budly
Posts: 1
Joined: 13 Oct 2021, 20:07

log email failed

Post by budly »

Hi - Cobian Backup 11 has been faithfully emailing logs since setup. It stopped this past Sunday, 10/10/21. SMTP test went through today. Log in the app shows no errors. Help / suggestions, please.

Thanx. Stay healthy.

Budly
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: log email failed

Post by cobian »

So the test is working but not the mail itself. Is that right?
--
Luis Cobian
Cobian Backup's creator
peterw
Posts: 2
Joined: 23 Oct 2021, 02:49

Re: log email failed

Post by peterw »

I have the same problem. Email log occasionally fails silently. Nothing in the Cobian log, and nothing in my email server logs. I have just recently started using Cobian Backup 11 - very impressed with it except for this little gliche. It has occurred twice in the two weeks I have been using it (I have six machines backing up each night with Differential backups). The occurrences have been on different machines on different nights. It appears to be quite random.

Thanks - Peter
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: log email failed

Post by cobian »

The problem is: the program can’t log anything while mailing the log—- :|
--
Luis Cobian
Cobian Backup's creator
peterw
Posts: 2
Joined: 23 Oct 2021, 02:49

Re: log email failed

Post by peterw »

That's correct. The log that is emailed contains no entries relating to the sending of that email, which is what you would expect.
But the log in "C:\Program Files (x86)\Cobian Backup 11\Logs" does have entries about the email.
When the email is successful, the tail of the log looks like:

2021-10-24 03:01 The system can now enter sleep mode
2021-10-24 03:01 Total backup time: 0 hours, 1 minutes, 28 seconds
2021-10-24 03:01 *** Backup done. Errors: 0. Processed files: 21418. Backed up files: 200. Total size: 1.18 GB ***
2021-10-24 03:01 --
2021-10-24 03:01 Auto-close command line detected. Closing the user interface
2021-10-24 03:01 Auto-close command line detected. Closing the engine
2021-10-24 03:01 Connected to the SMTP server mail.econda.com.au: 587
2021-10-24 03:01 Disconnected from the SMTP server
2021-10-24 03:01 The operation was successfully completed

When the email fails to occur, the tail of the log looks like this:

2021-10-23 03:01 The system can now enter sleep mode
2021-10-23 03:01 Total backup time: 0 hours, 1 minutes, 31 seconds
2021-10-23 03:01 *** Backup done. Errors: 0. Processed files: 21415. Backed up files: 196. Total size: 1.18 GB ***
2021-10-23 03:01 --
2021-10-23 03:01 Auto-close command line detected. Closing the user interface
2021-10-23 03:01 Auto-close command line detected. Closing the engine

There is no log entry of any attempt at email, and also, the last line "The operation was successfully completed" is missing, although in all
other respects the backup has completed OK.

I run Cobian Backup from the command line as part of a scheduled task. (I do this because Cobian itself cannot wake up from sleep whereas the Task Scheduler can). The command line I use (inside a front-end wrapper script) is

"C:\Program Files (x86)\Cobian Backup 11\Cobian.exe" -list:"%userprofile%\AppData\Local\Cobian-mgmt\cb-list.lst" -bu -autoclose

I wonder if the problem might relate to a timing issue with -autoclose. Maybe Cobian is shutdown before the email log is done and/or final flushes to the log file are completed. The order of entries in the successful log file snippet above suggests this might be the case.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: log email failed

Post by cobian »

Could have something to do with the autoclose argument. To be honest, I don't remember how this is implemented.
--
Luis Cobian
Cobian Backup's creator
citmerian
Posts: 1
Joined: 27 Oct 2021, 10:01

Re: log email failed

Post by citmerian »

Hi all.

The test mails also fails, message:

ERR unable to send journal files: Connection Closed Gracefully.
ERR the operation is complet with errors

I did not receive the confirmation of the backup with email test or when backup job finish.

Not always, some times at random. i find this problem with office365 smtp.office365.com:587

is it possible new security police ssl and tls protocols?

Regards.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: log email failed

Post by cobian »

Hard to do something if I cannot reproduce the problem :(
--
Luis Cobian
Cobian Backup's creator
Post Reply