Re: [Bacula-users] Bacula-Web 6.0.0 released

2013-11-13 Thread Mauro Colorio
uh? I feel annoying when a packages untars everything in the current folder
and doens't creates a new folder :)
it's better to use a sym link to manage variuos versions..

my 2 cent
ciao
Mauro
--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 6.0.0 released

2013-11-13 Thread Marcello Romani
Il 13/11/2013 10:01, Mauro Colorio ha scritto:
 uh? I feel annoying when a packages untars everything in the current
 folder and doens't creates a new folder :)
 it's better to use a sym link to manage variuos versions..

 my 2 cent
 ciao
 Mauro


 --
 DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
 OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
 Free app hosting. Or install the open source package on any LAMP server.
 Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
 http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk



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


Yes, it's annoying when tar archives unpack everything in the current 
directory. That's exactly what the OP is complaining about.
He'd like tar xjf archive to create a project-version folder 
inside which all the files are extracted, like almost every project does.

-- 
Marcello Romani

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Offsite Backup

2013-11-13 Thread Willi Fehler
Hi Gary,

thank you for your feedback.

The destination server has a different directory structure. And it's not
so easy to mount the directory in the same way.

source: /backup/bacula/
destination: /Backup/... (should be our offsite server)

Should I create a symlink?

The next question. On the destination server I need to exclude the jobs
to prevent errors on the director? I only need one file
daemon(localhost) to restore the files from backup?

Regards - Willi


Am 12.11.2013 16:29, schrieb Gary Dale:
 On 12/11/13 09:20 AM, Willi Fehler wrote:
 Hello,

 we want to copy the data of our main Bacula-Server to a addiontal Server
 outside of our main datacenter in case the datacenter is down and we
 still want to able to restore files.

 Both Servers are running Debian 6.0 and MySQL as . At the moment Bacula
 is only installed on the Server inside our datacenter. Which
 possibilities do I have?

 Use rsync to keep the files in /etc/bacula/ and my backup directory
 up2date and create a mysqldump and restore it every night on the offsite
 backup server?

 Regards - Willi

 Since you want to be able to restore files using the additional server, 
 I'd suggest rsync run after the backups to copy just the changed data. 
 Make sure that the catalogue is included in the backups.
 
 Also, install bacula on the additional server to verify that you can 
 actually restore files.
 
 
 
 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most 
 from the latest Intel processors and coprocessors. See abstracts and register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-- 
Willi Fehler
Engineering


Home24 GmbH  |  Greifswalderstraße 212-213  | 10405 Berlin  |  Deutschland
mail: willi.feh...@home24.de

Geschäftsführer: Felix Jahn, Dr. Philipp Kreibohm
Eingetragen beim Amtsgericht Berlin, HRB 119267

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restoring to the wrong client

2013-11-13 Thread Juan Pablo Lorier
Hi,

I've moved the director to a new server and thus changed the client for
the restore jobs. The thing is though I have loaded the changes, and
even choose the client manually for the restore, bacula still delivers
the files to the client declared in the backup job.
If I change the client of the backup job, then it works.
The versions are bacula 5.0.3 on Centos 6.4.

Regards,

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 6.0.0 released

2013-11-13 Thread Bacula Devel

Hi all,

The archive and the documentation have been updated following your 
feedbacks (follow the link below).

http://www.bacula-web.org/downloading.html

Regards

Davide

On 11/13/2013 10:46 AM, Marcello Romani wrote:

Il 13/11/2013 10:01, Mauro Colorio ha scritto:

uh? I feel annoying when a packages untars everything in the current
folder and doens't creates a new folder :)
it's better to use a sym link to manage variuos versions..

my 2 cent
ciao
Mauro


--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk



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


Yes, it's annoying when tar archives unpack everything in the current
directory. That's exactly what the OP is complaining about.
He'd like tar xjf archive to create a project-version folder
inside which all the files are extracted, like almost every project does.



--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] listen on all interfaces

2013-11-13 Thread Christoph Kluenter
Hi, 

I want my clients to listen on all interfaces. Its easy if you only use
ipv4. But this breaks:

 FDAddresses = { 
  ipv6 = { addr = :: ; port = 9102; }
  ipv4 = { addr = 0.0.0.0 ; port = 9102; }
 }

bacula-fd then starts and listens on ipv4 and ipv6,
even telnet works via v4 and v6. But
authentication with the bacula-director fails.

But: If I use this:
 FDAddresses = { 
  ipv6 = { addr = :: ; port = 9102; }
 }

Everything works. Even ipv4 ...
I think this should be documented somewhere.
It would be great if this worked (ip instead of ipv6):
 FDAddresses = { 
  ip = { addr = :: ; port = 9102; }
 }

But then, bacula-fd doesn't even start
Or did I miss something.

Cheers,
  Christoph
-- 
Christoph Kluenter   E-Mail: supp...@iphh.net
Technik  Tel: +49 (0)40 374919-10
IPHH Internet Port Hamburg GmbH  Fax: +49 (0)40 374919-29
Wendenstrasse 408AG Hamburg, HRB 76071
D-20537 Hamburg  Geschaeftsfuehrung: Axel G. Kroeger

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: Spooling attrs takes forever

2013-11-13 Thread Charles Douglass
Thanks for the reply.

I know nothing about MySQL optimization.  I downloaded the
mysqltuner.pl script and I will run it after the next full backup to
see if it has any recommendations.

Chas Douglass

On 11/12/2013 04:22 PM, John Drescher wrote:
 I am running :
 Linux Mint 15 (based on Ubuntu 13.04)
 Bacula Version: 5.2.6 (21 February 2012)
 MySQL version 14.14 Distrib 5.5.32, for debian-linux-gnu (x86_64) using
 readline 6.2

 It's a network installation with several clients.

 When it does a full backup of one client (also running Mint 15) of
 around 40G it gets stuck on the Sending spooled attrs to the Director.
 Despooling 151,437,267 bytes   This one step takes over eight hours
 to complete.  For instance it started at 03:10 my time today and it's
 now 08:20 and it's still running.

 There is no recent mention of this problem that I could find.  One
 suggestion from 2012 was to reinitialize the DB so I did that, with no
 change to the problem.

 Job 1, which is a local backup of about 20G shows this on the console:
 11-Nov 00:35 maple-sd JobId 1: Sending spooled attrs to the Director.
 Despooling 9,801,461 bytes ...
 11-Nov 01:11 maple-dir JobId 1: Bacula maple-dir 5.2.6 (21Feb12):

 Which seems long, but is way faster than Job 2.

 Did you optimize your my.cnf for your system?  In many distributions
 the default parameters are for a machine with a few MB of rm. Yes I
 mean MBs of ram.

 John


--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Record header index xxxx not equal record index yyyy

2013-11-13 Thread Kern Sibbald
Hello,

You might want to check your kernel logs to see if you have had
any recent disk errors. 

The code that does bextract is identical to the code that reads and sends
files to the FD, so it sounds to me more like a hard disk error.

Best regards,
Kern

On 11/12/2013 10:27 AM, Christoph Litauer wrote:
 Kern,

 thank you for your quick response.

 I did the restore twice with exactly the same numbers in the error message. 
 As the autochanger is a disk based changer, the drives are virtual 
 (symbolic links) so I won't expect any difference.
 I tried to read the tapes using bscan, but it crashes with a segmentation 
 fault while reading File-2563.
 This morning I did a bextract using the bootstrap file of client aleph1. That 
 recovered my files.

 Am 11.11.2013 um 19:07 schrieb Kern Sibbald k...@sibbald.com:

 I am assuming that aleph1 is the name of your File daemon, and what
 it is say is that it had received a header for the 309262 record, and when
 the record arrived it was 329209, so it gave up.  The errors after that one
 are meaningless ...

 This may have been a one time comm line hit or error, or it may be a
 permanent
 error in reading back the data in the Storage Daemon.

 The first step is to try the restore again.  If that fails with exactly
 the same
 error (same numbers) force Bacula to read the device (a disk I imagine)
 on a different drive since the mount was so fast. If the error occurs,
 but the numbers are different, check your network and switches.

 Best regards,
 Kern

 On 11/11/2013 05:42 PM, Christoph Litauer wrote:
 Dear bacula users,

 I am trying to restore some files, but get the following output:

 11-Nov 15:22 bacula-dir JobId 497604: Start Restore Job 
 RestoreFiles.2013-11-11_15.22.03_45
 11-Nov 15:22 bacula-dir JobId 497604: Using Device FileStorage0 to read.
 11-Nov 15:22 bacula-sd JobId 497604: 3307 Issuing autochanger unload slot 
 2563, drive 1 command.
 11-Nov 15:22 bacula-sd JobId 497604: 3304 Issuing autochanger load slot 
 2563, drive 0 command.
 11-Nov 15:22 bacula-sd JobId 497604: 3305 Autochanger load slot 2563, 
 drive 0, status is OK.
 11-Nov 15:22 bacula-sd JobId 497604: Ready to read from volume File-2563 
 on device FileStorage0 (/storage/changer/drive0).
 11-Nov 15:22 bacula-sd JobId 497604: Forward spacing Volume File-2563 to 
 file:block 1:3704520861.
 11-Nov 15:22 aleph1 JobId 497604: Fatal error: Record header file index 
 309262 not equal record index 329209
 11-Nov 15:22 bacula-sd JobId 497604: Error: bsock.c:429 Write error sending 
 65536 bytes to client:141.26.64.17:9103: ERR=Connection reset by peer
 11-Nov 15:22 bacula-sd JobId 497604: Fatal error: read.c:137 Error sending 
 to File daemon. ERR=Connection reset by peer
 11-Nov 15:22 bacula-sd JobId 497604: Error: bsock.c:375 Socket has errors=1 
 on call to client:141.26.64.17:9103
 11-Nov 15:22 bacula-dir JobId 497604: Error: Bacula bacula-dir 5.2.13 
 (19Jan13):

 Anybody is able to explain the meaning of this error message? 

 --
 Kind regards
 Christoph
 _
 Christoph Litauer
 Uni Koblenz, Computing Centre, Office A 022
 Postfach 201602, 56016 Koblenz 
 Fon: +49 261 287-1311, Fax: -100 1311





 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most 
 from the latest Intel processors and coprocessors. See abstracts and 
 register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most 
 from the latest Intel processors and coprocessors. See abstracts and register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 --
 Freundliche Grüße
 Christoph Litauer
 _
 Christoph Litauer
 Uni Koblenz, Rechenzentrum, Raum A 022
 Postfach 201602, 56016 Koblenz 
 Fon: +49 261 287-1311, Fax: -100 1311







--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples 

Re: [Bacula-users] Fwd: Spooling attrs takes forever

2013-11-13 Thread Phil Stracchino
On 11/13/13 10:59, Charles Douglass wrote:
 Thanks for the reply.
 
 I know nothing about MySQL optimization.  I downloaded the
 mysqltuner.pl script and I will run it after the next full backup to
 see if it has any recommendations.

The mysqltuner script is a pretty decent basic tool.  The thing you need
to keep in mind regarding the mysql-large, mysql-huge sample
configurations that are STILL widely distributed in MySQL packages (and
still widely used by the unsuspecting) is that most of those sample
configurations were originally written back when a large server was
one that might have as much as a whole 32MB of RAM.  These days, that is
less than the compiled-in default size of some individual MySQL
*buffers*.  So the unwary install the suggested configurations, and
can't understand why MySQL is performing like a geriatric tortoise.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
 It's not the years, it's the mileage.

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users