#1 2018-05-15 13:26:14

sistemi
Member
Registered: 2017-08-29
Posts: 71

seems that the .ERR bug is reappeared

Version 10.3.4, seems that cron launched backup, even if not executed due to time schedule not matched, deletes the .ERR file of an interactive user launched backup

Offline

#2 2018-05-16 09:15:53

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

Re: seems that the .ERR bug is reappeared

We're sorry but we are not getting you.
How come a job that wasn't launched delete a file?

Offline

#3 2018-05-16 09:51:27

sistemi
Member
Registered: 2017-08-29
Posts: 71

Re: seems that the .ERR bug is reappeared

xsibackup-cron file  has several jobs scheduled in the night, the system cron launch it every minute, right?

When in the mornig I launch manually a job, the xsibackup launched from cron deletes the the .ERR file of the current interactive backup, to prove it i modified xsibackup adding the launch type in the .ERR file name (user, cron), the the file is not deleted sue to the different launch type and the errors found during that backup are correctly sent by email.

Dont'know if it can be the correct solution...

Offline

#4 2018-05-16 11:53:26

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

Re: seems that the .ERR bug is reappeared

You should not run an interactive job while a scheduled job is running. XSIBackup is not designed to cope with that situation and the behaviour you describe is normal. Each job creates a unique .ERR file.

Offline

#5 2018-05-16 12:14:59

sistemi
Member
Registered: 2017-08-29
Posts: 71

Re: seems that the .ERR bug is reappeared

There's no scheduled job, the xsibackup instance that deletes the .ERR log files is launched from the scheduled system crontab, and also if it 's not time to fire the backup, the .ERR files are unconditionally deleted! You moved the "create_errfile" call in the wrong position in the latest version (10.3.4 PRO)

Offline

#6 2018-05-18 14:42:18

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

Re: seems that the .ERR bug is reappeared

We have not designed our software to run multiple instances at the same time for very good reasons.
If you believe you can overcome those reasons, you are free to tweak the code to your needs.

Offline

Board footer