[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-users
Subject:    [Bacula-users] Issue with restoring folders via bweb+brestore
From:       "Matthias Kramps" <Matthias.Kramps () krzn ! de>
Date:       2014-03-25 13:41:42
Message-ID: OF9C350D4E.7D1FCBB3-ONC1257CA6.004AF01C-C1257CA6.004B3C5E () KRZN ! DE
[Download RAW message or body]

Dies ist eine mehrteilige Nachricht im MIME-Format.

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 004B3C5CC1257CA6_=
Content-Type: text/plain; charset="US-ASCII"

Hello Everyone,

first things first, the system information:

OS: Ubuntu 12.04.4 LTS 64-bit
Bacula Version: 5.2.5-0ubuntu6.2 installed from Ubuntu Repositories
Database: mysql-server-5.5      Version: 5.5.34-0ubuntu0.12.04.1 installed 
from Ubuntu Repositories
We are using the bweb GUI version 5.0.3 and brestore 2.4.2. from the 
bacula-gui-5.0.3 package with ext.js 2.3.0.

The Problem we face is a restore issue. If we do a restore on this 
Bacula-server via the restore command
in the bconsole everything works fine. In order to ease the administration 
for non technical users we also
use the bweb GUI and its brestore function. Bweb on its own works fine but 
we have a serious issue when
trying to restore folders with brestore. If we select the folders to 
restore in brestore and run the 
restore process the server restores the wrong data. Whether we have a 
complex path to the desired
folder on the client or not the outcome is the same, it restores random 
data from the client backup. This applies
to all clients(all Windows Server 2008 R2) backed up with this server, 
even to the client of the 
Bacula-server which runs on Ubuntu as mentioned above. The restore of 
files, single or multiple ones, works fine 
with brestore.

Here is an example on what goes wrong with the restore via brestore:
I try to restore the folder /install/bacula-gui-5.0.3/ from the 
Bacula-server. I select it with brestore
from the most recent backup(incremental) and restore it to the /tmp folder 
of the Bacula-Server. After
the restore finished I found the following data in the restore folder:

ls /tmp/bacula-restore-server/usr/src/linux-headers-2.6.32-21/
arch  drivers  Makefile  samples  security

When I did the same restore with the restore function of bconsole the 
server restores the desired data:

ls /tmp/restore-bconsole/install/bacula-gui-5.0.3/
autoconf  bacula-gui.spec.in  bacula-web  bimagemgr  brestore  bweb 
configure  debian  ext  Makefile  Makefile.in  README

The result is the same with any other client backed up on this server.
We tried to solve this issue by reinstalling bweb and its components. This 
didn't help. We also tried to update
to a more recent version of bweb but we had to roll back since we weren't 
able to fill in the data from the Bacula
Catalog into the bweb/brestore tables. Since it is really hard to get 
proper documentation and help with bweb
i would be really thankful if anyone can provide me with some proper 
documentation about bweb.

I suspect two possible causes. The first would be brestore but I highly 
doubt that this is the cause for the issue
since we maintain several Bacula environments and this is the first one 
with and issue like that. My second suspicion 
would be the database, although it's really irritating that a restore of 
folders via bconsole works properly.

Did anyone ever met an issue like mine? Does anyone have suggestions how 
to solve this problem?
Big thanks in advance.

Kind regards

Matthias Kramps

--=_alternative 004B3C5CC1257CA6_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">Hello Everyone,</font>
<br>
<br><font size=2 face="sans-serif">first things first, the system information:</font>
<br>
<br><font size=2 face="sans-serif">OS: Ubuntu 12.04.4 LTS 64-bit</font>
<br><font size=2 face="sans-serif">Bacula Version: 5.2.5-0ubuntu6.2 installed
from Ubuntu Repositories</font>
<br><font size=2 face="sans-serif">Database: mysql-server-5.5 &nbsp; &nbsp;
&nbsp; &nbsp;Version: 5.5.34-0ubuntu0.12.04.1 installed from Ubuntu
Repositories</font>
<br><font size=2 face="sans-serif">We are using the bweb GUI version 5.0.3
and brestore 2.4.2. from the bacula-gui-5.0.3 package with ext.js 2.3.0.</font>
<br>
<br><font size=2 face="sans-serif">The Problem we face is a restore issue.
If we do a restore on this Bacula-server via the restore command</font>
<br><font size=2 face="sans-serif">in the bconsole everything works fine.
In order to ease the administration for non technical users we also</font>
<br><font size=2 face="sans-serif">use the bweb GUI and its brestore function.
Bweb on its own works fine but we have a serious issue when</font>
<br><font size=2 face="sans-serif">trying to restore folders with brestore.
If we select the folders to restore in brestore and run the </font>
<br><font size=2 face="sans-serif">restore process the server restores
the wrong data. Whether we have a complex path to the desired</font>
<br><font size=2 face="sans-serif">folder on the client or not the outcome
is the same, it restores random data from the client backup. This applies</font>
<br><font size=2 face="sans-serif">to all clients(all Windows Server 2008
R2) backed up with this server, even to the client of the </font>
<br><font size=2 face="sans-serif">Bacula-server which runs on Ubuntu as
mentioned above. The restore of files, single or multiple ones, works fine
</font>
<br><font size=2 face="sans-serif">with brestore.</font>
<br>
<br><font size=2 face="sans-serif">Here is an example on what goes wrong
with the restore via brestore:</font>
<br><font size=2 face="sans-serif">I try to restore the folder /install/bacula-gui-5.0.3/
from the Bacula-server. I select it with brestore</font>
<br><font size=2 face="sans-serif">from the most recent backup(incremental)
and restore it to the /tmp folder of the Bacula-Server. After</font>
<br><font size=2 face="sans-serif">the restore finished I found the following
data in the restore folder:</font>
<br>
<br><font size=2 face="sans-serif">ls /tmp/bacula-restore-server/usr/src/linux-headers-2.6.32-21/</font>
<br><font size=2 face="sans-serif">arch &nbsp;drivers &nbsp;Makefile &nbsp;samples
&nbsp;security</font>
<br>
<br><font size=2 face="sans-serif">When I did the same restore with the
restore function of bconsole the server restores the desired data:</font>
<br>
<br><font size=2 face="sans-serif">ls /tmp/restore-bconsole/install/bacula-gui-5.0.3/</font>
<br><font size=2 face="sans-serif">autoconf &nbsp;bacula-gui.spec.in &nbsp;bacula-web
&nbsp;bimagemgr &nbsp;brestore &nbsp;bweb &nbsp;configure &nbsp;debian
&nbsp;ext &nbsp;Makefile &nbsp;Makefile.in &nbsp;README</font>
<br>
<br><font size=2 face="sans-serif">The result is the same with any other
client backed up on this server.</font>
<br><font size=2 face="sans-serif">We tried to solve this issue by reinstalling
bweb and its components. This didn't help. We also tried to update</font>
<br><font size=2 face="sans-serif">to a more recent version of bweb but
we had to roll back since we weren't able to fill in the data from the
Bacula</font>
<br><font size=2 face="sans-serif">Catalog into the bweb/brestore tables.
Since it is really hard to get proper documentation and help with bweb</font>
<br><font size=2 face="sans-serif">i would be really thankful if anyone
can provide me with some proper documentation about bweb.</font>
<br>
<br><font size=2 face="sans-serif">I suspect two possible causes. The first
would be brestore but I highly doubt that this is the cause for the issue</font>
<br><font size=2 face="sans-serif">since we maintain several Bacula environments
and this is the first one with and issue like that. My second suspicion
</font>
<br><font size=2 face="sans-serif">would be the database, although it's
really irritating that a restore of folders via bconsole works properly.</font>
<br>
<br><font size=2 face="sans-serif">Did anyone ever met an issue like mine?
Does anyone have suggestions how to solve this problem?</font>
<br><font size=2 face="sans-serif">Big thanks in advance.</font>
<br>
<br><font size=2 face="sans-serif">Kind regards<br>
<br>
Matthias Kramps</font>
<br>
--=_alternative 004B3C5CC1257CA6_=--



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic