BuddyBackup Forum Homepage
Forum Home Forum Home » BuddyBackup Forum » Technical issues
  New Posts New Posts RSS Feed - Restore Failure
  FAQ FAQ  Forum Search   Register Register  Login Login

Restore Failure

 Post Reply Post Reply
Author
Message
Tim Brison View Drop Down
Pro Buddy
Pro Buddy


Joined: 10/July/2012
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tim Brison Quote  Post ReplyReply Direct Link To This Post Topic: Restore Failure
    Posted: 11/July/2012 at 10:01am
Hi,

I am currently testing BuddyBackup and have discovered a very strange anomally, which results in a total restore failure:

Install BB on machine 1, and then setup a backup to 2 network drives on 2 separate machines, using the USB 'Full Sync Mode' backup option.

The backup runs and all is fine.

If you then delete one of the network backup locations (from the machine in question - not through the BB machine doing the backup/restore) and then try to perform a restore, BB says that it is waiting for a backup location to come online - and 'lowlights' the locations icon in the BB control panel.

This state did not change. (At least for a matter of hours).

The backup locations were simply folders on other PC's and throughout the experiment were viewable through windows explorer and 'connected'. I checked ping/permissions/explorer/RDP etc all worked fine.

If you then cancel the restore, remove the lowlighted backup location from the BB control panel and run the restore again, everything works fine and you get your files back.

The reason I deleted one of the backup repositories, was to test the product under this scenario - as it is my experience with novice users, that this is exactly what one of them might do. If this then renders the backup un-restoreable, you have a fairly big problem.

I would, therefore, be most grateful if someone can show me the error of my ways or explain that this operation is by design or a bug.

Many Thanks,

Tim

Back to Top
John View Drop Down
Admin Group
Admin Group
Avatar
Head of development

Joined: 02/May/2006
Location: United Kingdom
Status: Offline
Points: 203
Post Options Post Options   Thanks (0) Thanks(0)   Quote John Quote  Post ReplyReply Direct Link To This Post Posted: 11/July/2012 at 10:28pm
Hi Tim,

How did you delete the backup location? Did you delete the whole folder or just some of the files?

Sounds like it could be a bug.

John
Back to Top
Tim Brison View Drop Down
Pro Buddy
Pro Buddy


Joined: 10/July/2012
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tim Brison Quote  Post ReplyReply Direct Link To This Post Posted: 12/July/2012 at 9:14am
Hi John,

I used RDP to connect to the machine (I was using as a backup destination) and then deleted everything inside that folder.

It may seem like an extreme test, but I am searching for a solution to offer my customers, so have embarked upon a simply huge backup software review & test program. The program tests commercial and free software side by side, and am disappointed to say I have found nothing fo far, that fulfills my requirements 100%.

That said, I really like BuddyBackup - it's currently in joint 1st place and would be an outright winner, if it was more robust: i.e. it does not seem to know if a restore is possible - it tells you the backup has been successful without knowing the state of the remote backups. At least, that's what appears to be happening.

I do acknowledge that my testing is extreme, and the things I ask of backup software may never happen in normal use. But, I have 20 years of technical support experience, and the conversation that starts "I'm very sorry, but you have lost the lot..."is unfortunately common.

To this end I'm devoting considerable effort to discover the best possible solutions for home and small business alike.


Many Thanks for your help,

Tim.
Back to Top
John View Drop Down
Admin Group
Admin Group
Avatar
Head of development

Joined: 02/May/2006
Location: United Kingdom
Status: Offline
Points: 203
Post Options Post Options   Thanks (0) Thanks(0)   Quote John Quote  Post ReplyReply Direct Link To This Post Posted: 19/July/2012 at 2:41am
I think what may have happened is that BuddyBackup has got confused by the fact that the folder exists but is empty, so is continually trying to access the backups and then dumbly retrying. If that folder didn't exist (or was for example renamed), I suspect this issue would not have happened.

This still sounds like a bug, but I think one that is less concerning in the wild: i.e. a user would have to be in a situation where the backup folder exists but is empty.

As a short term workaround, you can right click on the buddy which is broken and choose "Pause". This should trick BuddyBackup into ignoring that location (or better still, if you know that the backup location is genuinely broken, deleting the buddy).

Thanks also for the positive feedback - we always welcome this!

I must just clarify one thing you mentioned:

Quote
it does not seem to know if a restore is possible - it tells you the backup has been successful without knowing the state of the remote backups


I'm not totally clear what you're saying here. The software has a full database of exactly what is backed up where at all times, so it does know whether something is restorable. The only special case is during disaster recovery, where it has to download the file list from buddies, but once that is done, again, it has a full picture of what is backed up.

Regards,

John
Back to Top
Tim Brison View Drop Down
Pro Buddy
Pro Buddy


Joined: 10/July/2012
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tim Brison Quote  Post ReplyReply Direct Link To This Post Posted: 19/July/2012 at 12:02pm
Hi John,

Thanks for the update.

Just thought I would add some detail about the restore issue. Basically, what I meant was that when files have been deleted at the backup destination, BB still thinks a restore is possible - and so you try to restore a file and then the restore fails as there is no backup file to restore from.

In other words, BB does not periodically check the validity of the files it backs up at the destination. Hence you get stuck in this circular issue - BB runs backups to the destinations you have selected, but does not replace the files at the location where they have been deleted (or become corrupted and un 'readable'). When it comes to a restore, you can't restore your files, because they don't exist at the destination - even though BB gives no indication that the destination has become corrupt.

Again, I realise this is an extreme example, but it replicates exactly what would happen if hard disk cluster or block errors silently destroyed the data at the backup destination. Or users deleted their buddy's backups by accident - BB wouldn't know that this had happened and wouldn't try to replace the lost backup files - and neither would you, until you tried to do a restore.

This issues would be mitigated somewhat by adding lots of backups destinations (buddies) to your backup. But correct me if I am wrong - even this wouldn't work in every case, because if I understand BB methodology correctly, it does not store the whole backup at a all locations? So it would still be possible that a restore would try and recover files from a corrupted backup location.

That said, I still believe BB is an excellent product - exceptional even - if it performed 'traditional, scheduled local backups' it would clearly be a complete 'winner'. But in the real time, CDP arena, there are products (unfortunately very few), that do periodically check the validity of their remote backups - and replace files or missing backups accordingly. In a nutshell, they periodically test that the backup that is supposed to be at destination A, B etc does actually exist.

Again, I apologise for the rather extreme testing I am doing - I really do believe BB is a superior backup tool. I am just testing everything from Areca to Zamanda (and all in between), to try and find a really bombproof strategy for my customers. I should also reiterate that there are very few CDP products that would check these conditions - most of them would not know if a remote backup had become corrupt.

I sincerely hope this information helps,

many thanks,


Tim.







Back to Top
John View Drop Down
Admin Group
Admin Group
Avatar
Head of development

Joined: 02/May/2006
Location: United Kingdom
Status: Offline
Points: 203
Post Options Post Options   Thanks (0) Thanks(0)   Quote John Quote  Post ReplyReply Direct Link To This Post Posted: 19/July/2012 at 9:58pm
Hi Tim,

OK I think I understand where you're coming from.

First it's really important that I clarify this: BuddyBackup absolutely does regularly check what files are stored on buddies. This includes file system buddies or "regular" buddies (other users running BuddyBackup). If you right click on a buddy and choose "properties" you will see a "Last index check" which indicates when the location was checked. If files are missing then it will act accordingly (back them up again).

I think the behaviour you described is a bug, however: the issue is that you deleted the index file as well as the files, so BuddyBackup gets confused and fails to distiguish between a file system buddy which is offline, and a file system buddy which has been corrupted.

This is an inherent problem with network file systems: how can backup software tell whether the destination is merely offline, or has completely destroyed? Obviously we have to presume the former. Actually, backing up to regular buddies can be safer as they are able to pre-emptively report back problems (e.g. this happens when a user uninstalls the software).

As you say, the best way to cope with this is to keep multiple backups. To answer your question, although BuddyBackup does backup segments of files, you can adjust how many *whole* backups are made accross buddies - the default is 2. So, in this case you'd be tolerant to one backup location failing.

Hope this helps!

John
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 10.01
Copyright ©2001-2011 Web Wiz Ltd.