Page 1 of 1

"Backup completed succesfully" but it is on error

Posted: Thu Feb 11, 2016 12:56 pm
by brod73
My specs:
AISBACKUP Version: 4.1 (452)
Running in Microsoft Server 2008 R2 Web Server Edition, 64-bit Server 4.0 Service Pack 1 (Build 7601)

If at any time, a job can not access a shared resource for read files, the subject of the email report says that everything worked properly, for example:
AISBackup: VHostFiles|OK|OK=407|FAIL=0|VALERR=0|
I think that the email job report should report in the subject some error condition when this happen.

If you open the mail, you can see the error:

AISBackup job: VHostFiles
Backup completed successfully

1 Network Share could not be accessed
407 Files were backed up and tested successfully Scheduled Backup:
Could not connect selected network share:
\\linux1\backups\
A full restore using this session may not be safe
(...)

Warnings

Posted: Thu Feb 11, 2016 5:35 pm
by Barry
Like this?

AISBackup: VHostFiles|WARNINGS|OK=407|FAIL=0|VALERR=0|WARN=1


The |WARN will not be there is there are no warnings, or would you prefer WARN=0?

Barry

Posted: Fri Feb 12, 2016 12:06 am
by brod73
Yes, the "|WARNINGS|" with "|WARN=1" (for example) would be perfect to detect "something strange" and enter to take a look.

Thanks Barry.

Error if network drive not available during backup

Posted: Tue Mar 01, 2016 11:53 am
by Barry
A pre-release version with this fix has been uploaded to http://aiscl.co.uk/aisbackupbeta.php If possible please check that this is working.

Barry

SOLVED: "Backup completed succesfully" but it is o

Posted: Tue Mar 08, 2016 4:37 pm
by brod73
I tested the new version and works perfectly now.

When the network shared is down I receive:
AISBackup: VHostFiles|FAIL|OK=523|FAIL=0|VALERR=0|NW_WARNINGS=1|

Now with "|FAIL|" and "|NW_WARNINGS=1|" in the subject my life is a lot easier :D