"Backup completed succesfully" but it is on error

Use this forum for help with AISBackup
Post Reply
brod73
Posts: 15
Joined: Tue Oct 26, 2010 9:54 am

"Backup completed succesfully" but it is on error

Post by brod73 » Thu Feb 11, 2016 12:56 pm

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
(...)

Barry
Site Admin
Posts: 1507
Joined: Tue Aug 20, 2002 3:16 pm

Warnings

Post by Barry » Thu Feb 11, 2016 5:35 pm

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

brod73
Posts: 15
Joined: Tue Oct 26, 2010 9:54 am

Post by brod73 » Fri Feb 12, 2016 12:06 am

Yes, the "|WARNINGS|" with "|WARN=1" (for example) would be perfect to detect "something strange" and enter to take a look.

Thanks Barry.

Barry
Site Admin
Posts: 1507
Joined: Tue Aug 20, 2002 3:16 pm

Error if network drive not available during backup

Post by Barry » Tue Mar 01, 2016 11:53 am

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

brod73
Posts: 15
Joined: Tue Oct 26, 2010 9:54 am

SOLVED: "Backup completed succesfully" but it is o

Post by brod73 » Tue Mar 08, 2016 4:37 pm

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

Post Reply