[Box Backup] Restore of big deleted files fails with

Chris Wilson chris at qwirx.com
Mon Jun 21 13:22:53 BST 2010


Hi Julien,

On Mon, 21 Jun 2010, Julien Barnier wrote:

> I've got a problem while trying to restore some files. It only happens 
> when I try to restore deleted file ('o' switch) and when these files are 
> quite big. The restore then fails with the following message :

How big are we talking about? Can you reproduce it every time? Do you get 
any error messages in the server logs?

> I only managed to find one reference to such a problem on this list 
> archives, but with no answer at the time :
>
> http://lists.boxbackup.org/pipermail/boxbackup/2009-May/005492.html

That one was answered in a private email, which I'll hereby reproduce for 
the list:

----8<----
The key to this puzzle:
13:22:35 WARNING: Failed to open file: /u1/.recombinetemp.0: Permission
denied (13)

My raidfile:
# cat /etc/boxbackup/raidfile.conf
#To reconfigure boxbackup-server run #dpkg-reconfigure boxbackup-server
disc0
{
         SetNumber = 0
         BlockSize = 4096
         Dir0 = /u1
         Dir1 = /u1
         Dir2 = /u1
}

Looks like this is the problem!! /u1 needs to be owned by bbstored.
Damn. I thought bbstored only needed to own /u1/backup because that's
where it was storing all of its files.
----8<----

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |



More information about the Boxbackup mailing list