[Bacula-users] Retension (forward to end of tape, then rewind)

2010-07-08 Thread Laurent Chouinard
Hi,

I have been searching for this for a while, but all I could find relates 
to "retention", as in, the period of time to keep records of 
files/volumes/medias in a system.

What I'm trying to achieve it retension, or the act of seeking a tape to 
the end, then rewinding it.

My question is two-fold:
a) I want to do a retension of all my tapes. "mt -f /dev/st0 retension" 
produces no output and immediately quits. It appears to do nothing.

b) I would like to have my Bacula system automatically start a job by 
first retensioning the tape, and then doing the backup. Or it could be 
at the end. Or I can schedule a monthly retension job, whatever. I just 
want to have some way of automating the process of retensioning my tapes.

My drive is a Seagate DAT72 internal, SCSI. I believe these are the same 
as DDS5 cartridges?

The host is Linux Debian Etch, on which runs both the director and the 
storage daemon.

Thanks


Laurent


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Use Bacula Sun Solaris 10 SPARC

2010-07-08 Thread Gary R. Schmidt
On Thu, July 8, 2010 20:59, Koray AGAYA wrote:
> Thanks for your help I have a Question. How to flow Bacula on Sun Solaris
> JAVA Desktop
Get the qt4.3 package from the Bacula depgks site, and build it.

Then, modify the configuration script in the 5.0.2 to look for qt where
you installed it, and then run configure.

Here's my re-conf.sh script, for 3.0.3, but since 5.x is so badly broken
I've avoided it.

I use the SunStudio compiler, even though the gcc version has fewer
warnings, the performance increase is worth it.  (And I've also modified
things to build a 64-bit version, which flies.)

I also use the WebStack MySQL, and had to massage configure to recognise
it.  Someday I'll re-start the discussion about configure recognising .so
files, but I'll wait on them fixing 5.x.

re-conf.sh:
#!/bin/sh

PATH=/opt/webstack/bin:/opt/webstack/mysql/bin/64:/opt/webstack/mysql/bin:/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/sbin:/usr/sbin:/usr/local/bin:$HOME/src/bacula/depkgs-qt/qt-x11-opensource-src-4.3.4/bin
export PATH

./configure \
  CC=cc CXX=CC \
  CFLAGS="-g -O" \
  LDFLAGS="-R/opt/webstack/mysql/lib/mysql -L/usr/sfw/lib -R/usr/sfw/lib" \
  --prefix=/opt/bacula \
  --datarootdir=/opt/bacula/share \
  --mandir=/opt/bacula/man \
  --with-archivedir=/opt/bacula/archive \
  --with-working-dir=/opt/bacula/working \
  --with-plugindir=/opt/bacula/plugins \
  --with-scriptdir=/opt/bacula/scripts \
  --with-subsys-dir=/opt/bacula/subsys \
  --with-mysql=/opt/webstack/mysql \
  --with-dir-password=password \
  --with-fd-password=password \
  --with-sd-password=password \
  --with-dir-user=bacula \
  --with-dir-group=backup \
  --with-sd-user=bacula \
  --with-sd-group=backup \
  --with-fd-user=root \
  --with-fd-group=backup \
  --enable-smartalloc \
  --enable-batch-insert \
  --with-dump-email=some...@example.com \
  --with-job-email=some...@example.com \
  --with-smtp-host=mail \
  --enable-bat \
  --with-qwt=$HOME/src/bacula/depkgs-qt \
  --enable-gnome

exit 0

Then build "bat" and just add it to the menu.

Cheers,
GaryB-)



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 5.0.2 - Disappearing VSS snapshots producedby Windows

2010-07-08 Thread James Harper
> 
> We are dealing with issue that time to time periodic VSS snapshots produced by
> Windows scheduler are disappearing after Bacula backup (FULL or INC or DIFF,
> VSS enabled in the FileSet definition).
> 
> Any idea about this sporadic disappearing of Windows VSS snapshots?
> 

Someone has already offered one possibility. Running low on disk space is 
another possibility, but that would only result in one or two snapshots being 
discarded.

The windows event log should tell you what happened and why.

James

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is there a way...

2010-07-08 Thread Phil Stracchino
On 07/08/10 11:18, gnowar wrote:
> 
> Hey,
> 
> I was wondering if there is a way to tell bacula not to ask the oldest tape
> it wrote on..
> 
> I mean, when a tape is pruned, it's status come to "Recycle". Is there a way
> to put all the status tape to recycle (those who the retention is over, that
> means they could be pruned), and not only the oldest one ?
> 
> Why.. ?
> 
> Because I'm using 20 tapes, but every twenty days (one tape per day), one
> tape goes to the bank. I take a new tape and the cycle goes on during twenty
> days etc..
> 
> The problème is, if I put a tape in the bank, 19 days later Bacula will ask
> me THIS special tape, which is not available (cause in the bank..).
> 
> Is there a solution for this problem or it is inherent to the way Bacula
> actually works ?

This sounds at first glance as though your retention period is set one
day too short.


-- 
  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, Free Stater
 It's not the years, it's the mileage.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Use Bacula Sun Solaris 10 SPARC

2010-07-08 Thread Phil Stracchino
On 07/08/10 06:59, Koray AGAYA wrote:
> Thanks for your help I have a Question. How to flow Bacula on Sun
> Solaris JAVA Desktop 

I'm sorry, I don't understand the question.  Could you try rephrasing it?


-- 
  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, Free Stater
 It's not the years, it's the mileage.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula Volumes autopurge

2010-07-08 Thread drescherjm

The problem is the volume retention period only begins when the volumes are 
marked Used or Full. All but 1 of your volumes are marked append so bacula has 
no need to purge anything. 

I believe you want to get rid of the 200GB size restriction on the volumes. 
This parameter really is meant only for disks. Then make 5 pools one for each 
day. Keep the 6 day retention. Add a volume use duration of less than 1 day. 
Use the schedule resource to make bacula use the correct pool on each day.

+--
|This was sent by dresche...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autocreated volumes

2010-07-08 Thread John Drescher
On Thu, Jul 8, 2010 at 1:05 PM, John Drescher  wrote:
> 2010/7/8 Daniel beas :
>>
>> Hi everyone
>> i'm making backups of windows xp fd's and i'm creating a volume every day
>> for every client by an script which runs before every Job, the name of the
>> file has the date in it.
>> Obviously when the fd is off and the director tries to run the backup the
>> client doesn't answer, the backup is not made. It leaves a volume created
>> and with status Appendable which is used next day.
>> For example the volume called dis20100706 (20100706 is the date) it will
>> contain a backup made in July 07 2010. This happens every day the client is
>> off.
>> How can avoid the backups store in volumes created behind, mark volume as
>> error for example if the backup doesn't run correctly.
>>
>
> cron job nightly that finds the empty volumes and deletes them.

I guess you can just do that in your script that creates a new volume each day.

John

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] autocreated volumes

2010-07-08 Thread John Drescher
2010/7/8 Daniel beas :
>
> Hi everyone
> i'm making backups of windows xp fd's and i'm creating a volume every day
> for every client by an script which runs before every Job, the name of the
> file has the date in it.
> Obviously when the fd is off and the director tries to run the backup the
> client doesn't answer, the backup is not made. It leaves a volume created
> and with status Appendable which is used next day.
> For example the volume called dis20100706 (20100706 is the date) it will
> contain a backup made in July 07 2010. This happens every day the client is
> off.
> How can avoid the backups store in volumes created behind, mark volume as
> error for example if the backup doesn't run correctly.
>

cron job nightly that finds the empty volumes and deletes them.

John

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is there a way...

2010-07-08 Thread John Drescher
> I don't do an "update slot" (you mean, manually ?). I

That is only needed if you have an autochanger.

John

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is there a way...

2010-07-08 Thread gnowar

Yeah sorry about my english, I'm not so clear.

All these tapes are in the same pool, and the VOLUME retention is 18 days
(cause the first tape goes to the bank, the second becomes first after 20
days, and so on..).

I've read a lot about the retentions, I know that there is a thing about the
priority, something like :

VOLUME => JOBS => FILES.

I assume that I don't really understand the roles of the jobs and files
retention, any help is welcom on that one..

I don't do an "update slot" (you mean, manually ?). I thought I could set a
tape to the "used" status manually when it goes to the bank, but the point
is I don't want to do things manually.

Hope you get my point !

Thx !


Alex Chekholko-4 wrote:
> 
> On Thu, 8 Jul 2010 08:18:34 -0700 (PDT)
> gnowar  wrote:
> 
>> 
>> Hey,
>> 
>> I was wondering if there is a way to tell bacula not to ask the oldest
>> tape
>> it wrote on..
>> 
>> I mean, when a tape is pruned, it's status come to "Recycle". Is there a
>> way
>> to put all the status tape to recycle (those who the retention is over,
>> that
>> means they could be pruned), and not only the oldest one ?
>> 
>> Why.. ?
>> 
>> Because I'm using 20 tapes, but every twenty days (one tape per day), one
>> tape goes to the bank. I take a new tape and the cycle goes on during
>> twenty
>> days etc..
>> 
>> The problème is, if I put a tape in the bank, 19 days later Bacula will
>> ask
>> me THIS special tape, which is not available (cause in the bank..).
>> 
>> Is there a solution for this problem or it is inherent to the way Bacula
>> actually works ?
> 
> Your description is a bit confusing.
> 
> Are these tapes all in the same pool?  What is the retention period?
> 
> Read up on the retention periods for files, jobs, volumes.
> 
> Do you do an "update slots" after you remove the tape?  Bacula
> shouldn't ask for a tape that's not available.
> 
> -- 
> Alex Chekholko   ch...@genomics.upenn.edu
> 
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Is-there-a-way...-tp29108233p29109284.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] autocreated volumes

2010-07-08 Thread Daniel beas


Hi everyone
i'm making backups of windows xp fd's and i'm creating a volume every day for 
every client by an script which runs before every Job, the name of the file has 
the date in it.
Obviously when the fd is off and the director tries to run the backup the 
client doesn't answer, the backup is not made. It leaves a volume created and 
with status Appendable which is used next day.
For example the volume called dis20100706 (20100706 is the date) it will 
contain a backup made in July 07 2010. This happens every day the client is off.
How can avoid the backups store in volumes created behind, mark volume as error 
for example if the backup doesn't run correctly.

Thanks in advance i hope somebody can help me
have a nice day

Daniel Beas Enriquez

  
_
Prefiero un día sin coche que sin Messenger
www.vivirmessenger.com--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Checksum warnings during backup?

2010-07-08 Thread Andreas Koch
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/05/2010 09:19 PM, Martin Simmons wrote:
>> On Mon, 05 Jul 2010 17:54:29 +0200, Andreas Koch said:
>>
>> I used the wrong JobID, those were indeed the rows for the differential
>> backup. The data for the underlying full is attached below. It does lack a
>> checksum for table.7.bz2.
> 
> OK, so that explains the warning.
> 
> Now the mystery is why it doesn't have a checksum, which is presumably a
> problem with the Full backup.
> 
> Which database backend are you using (I could guess postgresql from the man
> pages!)?

Yes, postgresql-8.4.

> 
> Is your Bacula built with batch insert?

Yes.

> 
> Running bacula-dir with debug level 400 and doing a new FULL backup should
> print messages about what the Director receives from the SD for each file.

OK, here's an excerpt of the data:

For the broken file ``table.7.bz2´´, the following lines appear to be relevant:

gundabad-dir: catreq.c:405-25 UpdCat msg=UpdCat
Job=DefaultBackup.2010-07-08_17.49.28_03 FileAttributes
gundabad-dir: catreq.c:407-25 UpdCat VolSessId=12 VolSessT=1277829932 FI=138
Strm=1 data_len=157
gundabad-dir: catreq.c:429-25 dirdhttp://enigmail.mozdev.org/

iEYEARECAAYFAkw1+qEACgkQk5ta2EV7DoxjrgCfVfWnCT46xGppBRQL9IB8Ltg0
sHcAn3rac9C4W0niMl0R3QXMU92EFf9C
=rEQx
-END PGP SIGNATURE-

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is there a way...

2010-07-08 Thread Alex Chekholko
On Thu, 8 Jul 2010 08:18:34 -0700 (PDT)
gnowar  wrote:

> 
> Hey,
> 
> I was wondering if there is a way to tell bacula not to ask the oldest tape
> it wrote on..
> 
> I mean, when a tape is pruned, it's status come to "Recycle". Is there a way
> to put all the status tape to recycle (those who the retention is over, that
> means they could be pruned), and not only the oldest one ?
> 
> Why.. ?
> 
> Because I'm using 20 tapes, but every twenty days (one tape per day), one
> tape goes to the bank. I take a new tape and the cycle goes on during twenty
> days etc..
> 
> The problème is, if I put a tape in the bank, 19 days later Bacula will ask
> me THIS special tape, which is not available (cause in the bank..).
> 
> Is there a solution for this problem or it is inherent to the way Bacula
> actually works ?

Your description is a bit confusing.

Are these tapes all in the same pool?  What is the retention period?

Read up on the retention periods for files, jobs, volumes.

Do you do an "update slots" after you remove the tape?  Bacula
shouldn't ask for a tape that's not available.

-- 
Alex Chekholko   ch...@genomics.upenn.edu

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 5.0.2 - Disappearing VSS snapshots produced by Windows

2010-07-08 Thread Joseph L. Casale
>We are dealing with issue that time to time periodic VSS snapshots produced by 
>Windows scheduler are disappearing after Bacula backup (FULL or INC or >DIFF, 
>VSS enabled in the FileSet definition). 
>
>Any idea about this sporadic disappearing of Windows VSS snapshots?

Let me guess, you windows server is 2003? I spent months chasing this
with PSS a couple years ago. If your VSS snapshot's are on the same
spindles as your data, during times of high IO load windows will simply
dump the whole store.

The solution was to offload snapshots to different spindles and controller
which worked flawlessly ever since. VSS in W2008+ has been improved quite
a bit FWIW...

So my guess is that bacula instantiates a snapshot and begins dumping
the data and IO climbs rather high producing the issue. Where are your
snapshots being stored and you might want to run perfmon during your
next backup.

jlc

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Is there a way...

2010-07-08 Thread gnowar

Hey,

I was wondering if there is a way to tell bacula not to ask the oldest tape
it wrote on..

I mean, when a tape is pruned, it's status come to "Recycle". Is there a way
to put all the status tape to recycle (those who the retention is over, that
means they could be pruned), and not only the oldest one ?

Why.. ?

Because I'm using 20 tapes, but every twenty days (one tape per day), one
tape goes to the bank. I take a new tape and the cycle goes on during twenty
days etc..

The problème is, if I put a tape in the bank, 19 days later Bacula will ask
me THIS special tape, which is not available (cause in the bank..).

Is there a solution for this problem or it is inherent to the way Bacula
actually works ?

Thx by advance.
-- 
View this message in context: 
http://old.nabble.com/Is-there-a-way...-tp29108233p29108233.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 5.0.2 - Disappearing VSS snapshots produced by Windows

2010-07-08 Thread Ondřej Planka
We are dealing with issue that time to time periodic VSS snapshots produced by 
Windows scheduler are disappearing after Bacula backup (FULL or INC or DIFF, 
VSS enabled in the FileSet definition). 

Any idea about this sporadic disappearing of Windows VSS snapshots?

Thanks, Ondrey.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Invalid MySQL directory //mysql - unable to find mysql.h under //mysql

2010-07-08 Thread francisco javier funes nieto
Did you install development libraries from MySQL? I don't know how can you
do it in Solaris, but if you want to use MySQL as database you should
install this libraries.

J.



2010/7/8 Koray AGAYA 

> What is my mistake  I created koray.sh file and work command line is below
>
> # ./koray.sh
> checking for true... /usr/bin/true
> checking for false... /usr/bin/false
> configuring for Bacula 5.0.2 (28 April 2010)
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking whether gcc and cc understand -c and -o together... yes
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
> checking for egrep... /usr/sfw/bin/ggrep -E
> checking whether gcc needs -traditional... no
> checking for g++... /usr/sfw/bin/g++
> checking for a BSD-compatible install...
> /export/home/agaya/Desktop/bacula-5.0.2/autoconf/install-sh -c
> checking for mv... /usr/bin/mv
> checking for rm... /usr/bin/rm
> checking for cp... /usr/bin/cp
> checking for sed... /usr/bin/sed
> checking for echo... /usr/bin/echo
> checking for cmp... /usr/bin/cmp
> checking for tbl... /usr/bin/tbl
> checking for ar... /usr/ccs/bin/ar
> checking for openssl... /usr/sfw/bin/openssl
> checking for mtx... mtx
> checking for dd... /usr/bin/dd
> checking for mkisofs... /usr/bin/mkisofs
> checking for python... /usr/bin/python
> checking for growisofs... /usr/bin/growisofs
> checking for dvd+rw-mediainfo... /usr/bin/dvd+rw-mediainfo
> checking for dvd+rw-format... /usr/bin/dvd+rw-format
> checking for pkg-config... /usr/bin/pkg-config
> checking for qmake... none
> checking for gmake... /usr/sfw/bin/gmake
> checking for wx-config... wx-config
> checking for cdrecord... /usr/bin/cdrecord
> checking for pidof... pidof
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking for nawk... /usr/bin/nawk
> checking build system type... sparc-sun-solaris2.10
> checking host system type... sparc-sun-solaris2.10
> checking for a sed that does not truncate output... (cached) /usr/bin/sed
> checking for fgrep... /usr/sfw/bin/ggrep -F
> checking for ld used by gcc... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p
> checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 786240
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... no
> checking for /usr/ccs/bin/ld option to reload object files... -r
> checking for objdump... no
> checking how to recognize dependent libraries... pass_all
> checking for ar... /usr/ccs/bin/ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether /usr/sfw/bin/g++ accepts -g... (cached) yes
> checking how to run the C++ preprocessor... /usr/sfw/bin/g++ -E
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... no
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
> libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking dynamic linker characteristics... solaris2.10 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... no
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking for ld used by /usr/sfw/bin/g++... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> checking whether the /usr/sfw/bin/g++ linker (/usr/ccs/bin/

[Bacula-users] Invalid MySQL directory //mysql - unable to find mysql.h under //mysql

2010-07-08 Thread Koray AGAYA
What is my mistake  I created koray.sh file and work command line is below

# ./koray.sh
checking for true... /usr/bin/true
checking for false... /usr/bin/false
configuring for Bacula 5.0.2 (28 April 2010)
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep
checking for egrep... /usr/sfw/bin/ggrep -E
checking whether gcc needs -traditional... no
checking for g++... /usr/sfw/bin/g++
checking for a BSD-compatible install...
/export/home/agaya/Desktop/bacula-5.0.2/autoconf/install-sh -c
checking for mv... /usr/bin/mv
checking for rm... /usr/bin/rm
checking for cp... /usr/bin/cp
checking for sed... /usr/bin/sed
checking for echo... /usr/bin/echo
checking for cmp... /usr/bin/cmp
checking for tbl... /usr/bin/tbl
checking for ar... /usr/ccs/bin/ar
checking for openssl... /usr/sfw/bin/openssl
checking for mtx... mtx
checking for dd... /usr/bin/dd
checking for mkisofs... /usr/bin/mkisofs
checking for python... /usr/bin/python
checking for growisofs... /usr/bin/growisofs
checking for dvd+rw-mediainfo... /usr/bin/dvd+rw-mediainfo
checking for dvd+rw-format... /usr/bin/dvd+rw-format
checking for pkg-config... /usr/bin/pkg-config
checking for qmake... none
checking for gmake... /usr/sfw/bin/gmake
checking for wx-config... wx-config
checking for cdrecord... /usr/bin/cdrecord
checking for pidof... pidof
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for nawk... /usr/bin/nawk
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/sfw/bin/ggrep -F
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/ccs/bin/nm -p
checking the name lister (/usr/ccs/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... /usr/ccs/bin/ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether /usr/sfw/bin/g++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... /usr/sfw/bin/g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by /usr/sfw/bin/g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the /usr/sfw/bin/g++ linker (/usr/ccs/bin/ld) supports
shared libraries... yes
checking for /usr/sfw/bin/g++ option to produce PIC... -fPIC -DPIC
checking if /usr/sfw/bin/g++ PIC flag -fPIC -DPIC works... yes
checking if /usr/sfw/bin/g++ static flag -static works... no
checking if /usr/sfw/bin/g++ supports -c -o file.o... yes
checking if /usr/sfw/bin/g++ supports -c -o file.o... (cached) yes
checking whether the /usr/sfw/bin/g++ linker (/usr/cc

[Bacula-users] Use Bacula Sun Solaris 10 SPARC

2010-07-08 Thread Koray AGAYA
Thanks for your help I have a Question. How to flow Bacula on Sun Solaris
JAVA Desktop

--sbindir=$HOME/bacula/bin \
> >   --sysconfdir=$HOME/bacula/bin \
> >   --with-mysql=$HOME/mysql \
> >   --enable-smartalloc \
> >   --with-pid-dir=$HOME/bacula/
bin/working \
> >   --with-subsys-dir=$HOME/bacula/bin/working \
> >   --with-working-dir=$HOME/bacula/working


On Wed, Jul 7, 2010 at 12:43 PM, Fred  wrote:

> Hello,
>
> if I can add some precisions.
>
> Le mercredi 07 juillet 2010 11:26:22, Anatoly Pugachev a écrit :
> > Koray,
> >
> > please see below,
> >
>
> > most SUNW* packages are from installation media (dvd/cd) of Solaris 10.
> > If you don't have installation dvd/cd disks, you can download them for
> > free from sun.com site.
>
> And normally, they should have been installed i the full cluster has been
> chosed at install.
>
> > > b. How to use A typical configuration command below ?
> > >
> > > #!/bin/sh
> > > CFLAGS="-g" ./configure \
> > >
> > >   --sbindir=$HOME/bacula/bin \
> > >   --sysconfdir=$HOME/bacula/bin \
> > >   --with-mysql=$HOME/mysql \
> > >   --enable-smartalloc \
> > >   --with-pid-dir=$HOME/bacula/bin/working \
> > >   --with-subsys-dir=$HOME/bacula/bin/working \
> > >   --with-working-dir=$HOME/bacula/working
> >
> > this lines can be put into command line/batch/shell file, and
> > then run from the bacula source directory. This makes bacula to be
> > configured to be installed into $HOME/bacula directory.
>
> Personnally, I prefer puting this stuff on /usr/local or /opt/. I hate
> having
> systems binaries in my home.
>
> >
> > > c. How to compile bacula-5.0.2 ?
> >
> > after you have finished with installing needed SUNW* packages and also
> > with steps [a] and [b] you can compile and install bacula with 2 more
> > command in bacula sources directory:
> >
> > 1) "make"
> > 2) if "make" was success, "make install" for installation.
>
> Beware !
>
> My last test for building Bacula on Solaris ran into troubles because of
> the
> falvour of make I cast. You'll ma be facing error if you use Sun Studio's
> Compiler. This is not sure, but, be prepared.
>
> Since, I jump into Gentoo Sparc and Bacula is building fine ;)
>



-- 
-Hayatı Ciddiye Alma Asla Sağ Çıkamıycaksın
!
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore encrypted backup errors

2010-07-08 Thread Declan Chambers
Hi

OS CentOS  5.3
Bacula   5.0.0

Encryption has been configured using user guide

Sample fd.conf
  PKI Signatures = Yes# Enable Data Signing
  PKI Encryption = Yes# Enable Data Encryption
  PKI Keypair = "C:\\Program Files\\Bacula\\fd-svrdc02.pem"# Public and 
Private Keys
  PKI Master Key = "C:\\Program Files\\Bacula\\master.cert"# ONLY the 
Public Key

Issue

I have received the following errors when restoring files from encrypted backups

Client 1
restore.c:542 Failed to initialize decryption context for .

and

Client 2
restore.c:534 Missing encryption session data stream

I have successfully restored to another client which also uses encryption

Any advice would be appreciated

Thanks
Declan
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Missing emails after upgrade to 5.0.2

2010-07-08 Thread Patric Buskas
Hi,
I just upgraded Bacula 3.0.3 to 5.0.2 on a Centos 5.4.
I followed the instructions to build the rpms @
http://wiki.bacula.org/doku.php?id=howto_install_bacula_5.0.2_from_src.rpm_on_rhel_5_or_centos_5
.
Now I don't get any emails sent from bacula.
Everything else seems to work like before upgrade.
I haven't changed anything in the Messages entry in bacula-dir.conf:

Messages {
  Name = Standard
  mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s
\"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\"
-s \"Bacula: Intervention needed for %j\" %r"
  mail = r...@localhost = all, !skipped
  operator = r...@localhost = mount
  console = all, !skipped, !saved
  append = "/var/lib/bacula/log" = all, !skipped
}

The messages are passed on to /var/lib/bacula/log and I've successfully sent
emails with bsmtp to the same recipient from command prompt.
Does anyone got any idea how to solve this problem?
Best Regards
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Client defs

2010-07-08 Thread Kevin Keane
I'm instead using a shell script to build the client defs. It's actually easier 
and more flexible. You simply include a shell script in your bacula-dir.conf 
with the @| syntax (like so:

@|/etc/bacula/jobs/alljobs.bash

A template approach for clients isn't all that useful because almost all the 
client information is individual from one client to the next. 

-Original Message-
From: Alex Huth [mailto:a.h...@tmr.net] 
Sent: Thursday, July 08, 2010 1:43 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Client defs

Hello!

Is it possible to build Client defaults like JobDefaults? I have nothing found 
in the doc and google. This would be good when having lots of clients.

Greetings

Alex Huth

--
This SF.net email is sponsored by Sprint What will you do first with EVO, the 
first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Client defs

2010-07-08 Thread Alex Huth
Hello!

Is it possible to build Client defaults like JobDefaults? I have nothing
found in the doc and google. This would be good when having lots of
clients.

Greetings

Alex Huth

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users