Rebuild backup contents

Use this forum for help with AISBackup
Post Reply
graham.mandeno
Posts: 3
Joined: Thu Mar 14, 2019 3:14 am

Rebuild backup contents

Post by graham.mandeno » Mon Aug 19, 2019 12:54 am

Hi Barry (or anyone else who can help :-) )

Is it possible to rebuild a backup contents file (bdb) which has become corrupted? I am trying to restore some files from an old backup and it says:
I:\Backup\Helios.bdb: is not a Backup Contents File

Sure enough, if I inspect the bdb file in question, it is completely empty - zero bytes! However, all the zip files and the other AISBackup control files are in the folder and appear to be OK.

Many thanks,
Graham

graham.mandeno
Posts: 3
Joined: Thu Mar 14, 2019 3:14 am

Re: Rebuild backup contents

Post by graham.mandeno » Mon Aug 19, 2019 5:47 am

I think I might have figured it out. I had found the "Repair Contents File" function in "Manage Backup", but it wasn't obvious that I needed to select one (and only one) of the zip files in order to proceed. It seems to be working now (although generating a lot of errors - fingers crossed!)

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

Re: Rebuild backup contents

Post by Barry » Mon Aug 19, 2019 11:52 am

As you found out the option is Manage Backup / Validate (Test) Backup / then click Repair Contents File. AISBackup does place a copy of the latest .bdb file in the backup destination and also creates a file called <Backup name>.previous.aibrecover, the .aibrecover file is actually a zip file and to access the contents rename the file and put .zip on the end. The aibrecover file is made before the next backup to preserve the contents of the backup immediately prior to the backup. You may also have other backups that backup the contents file, usually in the folder C:\ProgramData\Aquarius IS Consultancy\AISBackup\Database.

Barry

graham.mandeno
Posts: 3
Joined: Thu Mar 14, 2019 3:14 am

Re: Rebuild backup contents

Post by graham.mandeno » Tue Sep 17, 2019 2:06 am

Hi Barry

Sorry for the tardy response - I got busy with other stuff.

Unfortunately the Repair Contents File option did not create a valid contents file - I was not very hopeful, given the number of errors it was generating.
However, restoring the .bdb from the .previous.aibrecover file worked a treat - THANK YOU!!!

Cheers,
Graham

Post Reply