Backup failure - corrupt database files?

Use this forum for help with AISBackup
Post Reply
gmandeno
Posts: 15
Joined: Sun May 17, 2009 10:29 pm

Backup failure - corrupt database files?

Post by gmandeno »

Hi Barry

My nightly backup has recently been failing with lots of pretty red lines in the log file, a sample of which is below.

I tried renaming the .bdb.hist.fld file and on the next run I only got the error you see at 01:27:10 (Zeus.bdb.lfn is not a valid split file directory). However, the next time it ran I got all the old errors back again. I also tried renaming the .bdb.lfn file, with no effect.

Eagerly awaiting your trusted assistance!
Graham Mandeno
01:00:35 SSTART Backup Session 21 Auto Run: Started on Monday, 9 May 2011 at 01:00:35 Version: 2.9 (398)
01:00:36 INF Platform: Microsoft Windows 7 , 32-bit (Build 7600)
01:00:36 INF Path: C:\Program Files\Aquarius IS Consultancy\AISBackup\AISBACKUP.exe
01:00:36 INF Run Time Parameters: [YYYYYYY]
01:00:36 INF User Account: Graham
01:00:36 INF Running as Administrator
01:01:18 INF Creating Session: 21
01:01:19 INF Calculating backup
01:04:08 WARN Microsoft maintains a list of files that should be excluded from the backup.
01:04:08 WARN To stop the list of exclusions choose the option:
01:04:08 WARN Manage Backup / Modify Files and Folders List / Exclusions / Merge Microsoft Exclusions
... about 20 pages of MS excluded files, then ...
01:08:26 STAT Files Selected For Backup: 737, Changed attributes: 20,043 (10,384.00 MB)
01:08:26 STAT Already Backed up: 705,635
01:08:26 STAT Excluded From Backup: 20,456 Files and 9 Folders.
01:08:26 DEST Backup destination: \\gaia\backup\Zeus\Zeus.zip, Volume ID: [BACKUP]
01:08:26 INF 5 New Folders.
01:08:26 INF Backing up NTFS Security Settings and Alternate Data Streams.
01:08:26 INF Test Method: File Integrity Method.
01:08:26 INF Backing up: 737 Files of 10,384.00 Megabytes
01:08:26 INF Excluding: 20,456 Files (See Modify Files and Folders/Exclusions)
01:08:26 INF Already on Backup: 705,635 Files
01:08:26 INF Compression Level: High
01:08:26 STAT Estimated Size of Backup: 5.07 GB
01:08:26 INF Backing up NTFS folder security settings
01:08:47 INF Using Media: [BACKUP] on server \\gaia
01:11:22 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:11:22 EXCEPTION Component: DirStruct1
01:11:22 ERR The folder security history file is corrupt and has been reset.
01:11:22 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:11:22 EXCEPTION Component: DirStruct1
01:11:22 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
01:11:22 ERR There was an error processing folder security history
01:11:22 ERR The backup will continue without saving previous folder security settings
01:11:22 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
01:11:22 EXCEPTION Component: fAquariusBackup
01:20:25 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:20:25 EXCEPTION Component: DirStruct1
01:20:25 ERR The folder security history file is corrupt and has been reset.
01:20:25 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:20:25 EXCEPTION Component: DirStruct1
01:20:25 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
01:20:25 ERR There was an error processing folder security history
01:20:25 ERR The backup will continue without saving previous folder security settings
01:20:25 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
01:20:25 EXCEPTION Component: fAquariusBackup
01:21:19 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:21:19 EXCEPTION Component: DirStruct1
01:21:19 ERR The folder security history file is corrupt and has been reset.
01:21:19 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:21:19 EXCEPTION Component: DirStruct1
01:21:19 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
01:21:19 ERR There was an error processing folder security history
01:21:19 ERR The backup will continue without saving previous folder security settings
01:21:19 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
01:21:19 EXCEPTION Component: fAquariusBackup
01:22:09 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:22:09 EXCEPTION Component: DirStruct1
01:22:09 ERR The folder security history file is corrupt and has been reset.
01:22:09 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:22:09 EXCEPTION Component: DirStruct1
01:22:09 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
01:22:09 ERR There was an error processing folder security history
01:22:09 ERR The backup will continue without saving previous folder security settings
01:22:09 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
01:22:09 EXCEPTION Component: fAquariusBackup
01:23:03 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:23:03 EXCEPTION Component: DirStruct1
01:23:03 ERR The folder security history file is corrupt and has been reset.
01:23:03 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:23:03 EXCEPTION Component: DirStruct1
01:23:03 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
01:23:03 ERR There was an error processing folder security history
01:23:03 ERR The backup will continue without saving previous folder security settings
01:23:03 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
01:23:03 EXCEPTION Component: fAquariusBackup
01:25:07 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:25:08 EXCEPTION Component: DirStruct1
01:25:08 ERR The folder security history file is corrupt and has been reset.
01:25:08 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:25:08 EXCEPTION Component: DirStruct1
01:25:08 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
01:25:08 ERR There was an error processing folder security history
01:25:08 ERR The backup will continue without saving previous folder security settings
01:25:08 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
01:25:08 EXCEPTION Component: fAquariusBackup
01:26:16 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:26:16 EXCEPTION Component: DirStruct1
01:26:16 ERR The folder security history file is corrupt and has been reset.
01:26:16 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:26:16 EXCEPTION Component: DirStruct1
01:26:16 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
01:26:16 ERR There was an error processing folder security history
01:26:16 ERR The backup will continue without saving previous folder security settings
01:26:16 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
01:26:16 EXCEPTION Component: fAquariusBackup
01:27:03 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:27:03 EXCEPTION Component: DirStruct1
01:27:03 ERR The folder security history file is corrupt and has been reset.
01:27:03 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:27:03 EXCEPTION Component: DirStruct1
01:27:03 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
01:27:03 ERR There was an error processing folder security history
01:27:03 ERR The backup will continue without saving previous folder security settings
01:27:03 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
01:27:03 EXCEPTION Component: fAquariusBackup
01:27:10 ERR C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.lfn is not a valid split file directory
01:27:10 ASKMSG Backup failed to complete.

Do you want to validate what has been backed up?- Actioned: Yes
01:27:50 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:27:50 EXCEPTION Component: DirStruct1
01:27:50 ERR The folder security history file is corrupt and has been reset.
01:27:50 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:27:50 EXCEPTION Component: DirStruct1
01:27:50 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
01:27:50 ERR There was an error processing folder security history
01:27:50 ERR The backup will continue without saving previous folder security settings
01:27:50 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
01:27:50 EXCEPTION Component: fAquariusBackup
01:27:56 INF Testing Backup
01:32:43 ABRT Backup Aborted Validation Completed on backed up files
01:32:44 RESINF 663 Files were backed up and tested successfully
01:32:44 RESULT Scheduled Backup:
The backup was aborted
A full restore using this session may not be safe
01:33:27 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:33:27 EXCEPTION Component: DirStruct1
01:33:27 ERR The folder security history file is corrupt and has been reset.
01:33:27 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:33:27 EXCEPTION Component: DirStruct1
01:33:28 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
01:33:28 ERR There was an error processing folder security history
01:33:28 ERR The backup will continue without saving previous folder security settings
01:33:28 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
01:33:28 EXCEPTION Component: fAquariusBackup
01:33:34 INF Backing up Backup Contents File Database Files
01:33:44 ERR Access Denied: The file opened exclusively by another process: C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
01:33:44 MSG Backup Aborted
01:33:44 STAT Time Calculating Backup: 7 Minutes 7 Seconds
01:33:44 SESSEND Backup Aborted: Monday, 9 May 2011 01:33:44
[/quote]
gmandeno
Posts: 15
Joined: Sun May 17, 2009 10:29 pm

Backup failure - corrupt database files?

Post by gmandeno »

More info ...

Sorry - I should have mentioned:
- AIS Backup version is 2.9 (398) - the latest I believe
- OS is Windows 7 Ultimate
- computer is Dell Latitude D520, Intel T7200 CPU, 3GB RAM
- backup destination is NAS RAID device (NetGear ReadyNAS NV+)

The problem started to occur after I had been away on a business trip with my computer (so the backup destination was unavailable). The night I returned, the computer was on the dining table, switched on but connected to the network by wireless, not ethernet cable. The backup tries to run, but failed to validate. Subsequent runs (after reconnecting to the docking station) have failed.

Thanks!
Graham
Barry
Site Admin
Posts: 1529
Joined: Tue Aug 20, 2002 3:16 pm

Post by Barry »

You may delete the .bdb.hist.fld file and re-run the backup. hat is more worrying is the problem with the .bdb.lfn file as this file contains details of split files within the backup. I have not seen corruption messages here for that file.

After removing the .bdb.hist.fld try running the Manage Backup / Validate (Test) Backup option.

The .lfn file is a catalogue of files that are split during the backup, these files are usually > 4GB unless backing up to FTP when smaller files are split to facilitate easier recovery following a failure. Files are split at 2GB just in case the backup media does not support large file sizes, e.g. FAT32.

Maybe the huge files on your PC do not change much and that there is a backup on the backup of the .lfn file that you can restore?

It may also be worth comparing the lfn file on the backup against the copy stored in the database directory. There is a Microsoft program called WinDiff that comes with the Microsoft Developers SDK (Software Developers Kit), with luck you can download WinDiff on its own (The SDK is large).

Barry
gmandeno
Posts: 15
Joined: Sun May 17, 2009 10:29 pm

Post by gmandeno »

Hi Barry

Many thanks for your help.

The .bdb.lfn file in the live folder and the one in the most recent backup and in the zip file were all 0 bytes. I have restored the one from the penultimate backup (2997 bytes), ignoring the dire warnings about restoring database files. :?

(Note that most of the "huge" files are either OST or PST files which are opened by Outlook and hence get backed up every time)

I have also deleted the .bdb.hist.fld file and I am now running the integrity check...

[later]

The integrity check ran for 4 1/2 hours and completed OK. The scheduled nightly backup then started immediately (as it was overdue) and it appears to have completed successfully. However, there were still multiple occurrences of the following blocks of red messages in the log:
=======================================================
04:00:57 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
04:00:57 EXCEPTION Component: DirStruct1
04:00:57 ERR The folder security history file is corrupt and has been reset.
04:00:57 EXCEPTION Exception: EFOpenError: Cannot open file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld
04:00:57 EXCEPTION Component: DirStruct1
04:00:57 ERR The folder security history file C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database\Zeus.bdb.hist.fld could not be reset.
04:00:57 ERR There was an error processing folder security history
04:00:57 ERR The backup will continue without saving previous folder security settings
04:00:57 EXCEPTION Exception: EAccessViolation: Access violation at address 004166CB in module 'AISBACKUP.exe'. Read of address 00000000
04:00:57 EXCEPTION Component: fAquariusBackup
=======================================================

Perhaps this is not surprising, as I had deleted the .bdb.hist.fld file, but you might find the EAccessViolation message of concern?

Also of interest, and possibly of concern, is that there is now no .bdb.lfn file in the \Database folder.

Any further action required?

Cheers,
Graham
Barry
Site Admin
Posts: 1529
Joined: Tue Aug 20, 2002 3:16 pm

Zeus.bdb.hist.fld

Post by Barry »

Deleting Zeus.bdb.hist.fld means that the file is recreated the next time a backup is run.

The .fld file contains the security information and alternate data streams for folders. The .hist.fld file contains the previous security and alternate data stream informaion if a folder changes, for example you change the access rights on a folder.

Please zip and e-mail the full log file to customerservices@aiscl.co.uk. Please also zip and send the corrupt .hist.fld file.

Barry
gmandeno
Posts: 15
Joined: Sun May 17, 2009 10:29 pm

Post by gmandeno »

Thanks, Barry. Email on its way.

Cheers,
Graham
berryla
Posts: 4
Joined: Wed Nov 02, 2011 8:43 am

Post by berryla »

The backup tries to run, but failed to validate. Subsequent runs (after reconnecting to the docking station) have failed.
yingxuy
Posts: 4
Joined: Mon Jan 16, 2012 9:14 am
Location: New York
Contact:

Post by yingxuy »

Yes, failed to value!
nikkil
Posts: 53
Joined: Mon Feb 27, 2012 2:08 pm

Post by nikkil »

gmandeno wrote:Thanks, Barry. Email on its way.

Cheers,
Graham
Hi buddy, any luck found yet? Would be nice if you can share here on how the issue got fixed.
You're never a loser until you quit trying. Image
Post Reply