Re: [Bacula-users] Rebuilding 5.0.1-2 src rpm on Centos 5.4

2010-03-29 Thread Norberto Meijome
On 30 March 2010 10:19, Hugh Brown  wrote:

> Mark Nienberg wrote:
>
[...]

>
>
> * http://marc.info/?l=bacula-users&m=126910218517057&w=2
>
>  - May be a problem with a patch applied for OpenSSL v1; small patch
>  included to get around the problem for CentOS and OpenSSL 0.9.8
>

hmm the way i read the patch and some history behind it appearing in the
rpm.spec, it was added to support openssl v1.1 on FC11 and FC12 platforms. A
very cursory glance over the changes when I sent the original email about
this seemed to point to new/renamed methods / members in openssl1.1

FWIW, http://bugs.bacula.org/view.php?id=1539

{Beto|Norberto|Numard} Meijome

"The only people that never change are the stupid and the dead"
 Jorge Luis Borges.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with opensslv1.patch when openssl-0.9.8 installed (bacula 5.0.1-2, Centos 5.4 64 bit )

2010-03-29 Thread Norberto Meijome
Thanks Mark,

http://bugs.bacula.org/view.php?id=1539
_
{Beto|Norberto|Numard} Meijome

"The only people that never change are the stupid and the dead"
 Jorge Luis Borges.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Rebuilding 5.0.1-2 src rpm on Centos 5.4

2010-03-29 Thread Mark Nienberg
On 3/29/2010 4:19 PM, Hugh Brown wrote:

>
> This looks (to me, anyway) a lot like the problems reported earlier
> with OpenSSL:
>
> * http://marc.info/?l=bacula-users&m=126889471504505&w=2

Oh, I hadn't seen that one.  Yes it is the same problem and the fix proposed in 
that 
message worked for me too.

Thanks for your help!

-- 
Mark Nienberg
Sent from an invalid address. Please reply to the group.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with opensslv1.patch when openssl-0.9.8 installed (bacula 5.0.1-2, Centos 5.4 64 bit )

2010-03-29 Thread Mark Nienberg
On 3/17/2010 11:38 PM, Norberto Meijome wrote:
> Hi everyone,
> I am getting build errors when building 5.0.1-2 from src rpm on  Centos
> 5.4, 64 bit .
>
> rpmbuild line:
>
> rpmbuild --target=$(uname -m) --define build_centos5=1--define
> build_client_only=1   --define build_python=1 --define
> build_tcpwrappers=1 -bb /bacula.spec
>
> The error I get is , @ configure stage :
>
> checking for OpenSSL... checking for EVP_PKEY_encrypt_old in -lssl... no
> yes
> checking for library containing dlopen... -ldl
>
> (notice the 'no', then 'yes'... ??)
>
> then, @ build stage :
> Compiling smartall.c
> Compiling rblist.c
> Compiling tls.c
> tls.c: In function 'bool tls_postconnect_verify_host(JCR*,
> TLS_CONNECTION*, const char*)':
> tls.c:354: error: invalid conversion from 'const X509V3_EXT_METHOD*' to
> 'v3_ext_method*'
> make[1]: *** [tls.lo] Error 1
>
>
> I then found
> http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/fedora-12-and-opensslv1-bacula-5-0-1-2-rpm-release-104496/
>
>
> Question - is 5.0.1-2 ONLY meant for FC-11 / 12 ??
>
>
> I am not sure how to check, in an RPM Spec for version of openssl-devel
> installed , but blatingly forcing a OS / library specifc patch on any OS
> seems a bit much, IMHO.
>
> The patch below ( [1] ) for bacula.spec "Worked-For-Me (tm)".
>
> Please let me know if you want me to log this in Mantis.
>
> cheers,
> Beto


Confirming that I experienced the same problem on Centos 5.4 32-bit.  Your 
patch to 
the spec file solved the problem for me too.  I think this should be reported 
as a 
bug in the rpm spec file.

Thanks,


-- 
Mark Nienberg
Sent from an invalid address. Please reply to the group.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Vista 64 bit and sparse files

2010-03-29 Thread James Harper
> Hi everyone,
> 
> I am using Bacula 3.02 client and server to backup several machines on
my home
> network. It has been working great. Recently, I added my first Vista
machine
> which also happens to be 64-bit and now, although the backups
complete, it
> takes hours and the statistics are nonsense. I can only guess that
sparse
> files are at the root cause here, but cannot figure out how to track
this
> down.
> 

A backup of a Windows computer uses the BackupRead API to generate the
data to go to the SD. BackupRead reads a single stream of data that
includes the file attributes, ownership, acls, data, Alternate Data
Streams, and sparse information. Bacula shouldn't need to know or care
if the file is sparse or not, it just backs up the data that BackupRead
returns.

I wouldn't expect that 'sparse=yes' would have any useful impact unless
there is a bug in which case it will probably break things.

Can you restore the job somewhere else (another windows machine) and see
if the restored files match up with the backed up files? Look out for
any restore errors that say that the file sizes don't match.

James


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Tape changer with simultaneous jobs, using (but not actually using) a tape

2010-03-29 Thread Craig Miskell
Hi,
I have a TL-2000 tape changer with two drives.  I have two differential 
jobs which start at the same time, on different 
filesystems but the same client  (also happens to be the same server as the 
director/storage daemon).  This is bacula 5.0.0

Both jobs interleave to the same tape (this is good IMO, although I don't know 
which knob I tweaked to make that happen 
:)), but one of the jobs first seems to claim a second tape, purge/recycle it, 
log the following rows in jobmedia:
jobmediaid | jobid | mediaid | firstindex | lastindex | startfile | endfile | 
startblock | endblock | volindex
+---+-++---+---+-++--+--
   12953 |38 |   7 |  0 | 0 | 0 |   0 | 
 0 |0 |1
   12956 |38 |   8 |  1 |37 | 0 |   0 | 
 1 |14325 |2
   12957 |38 |   8 | 37 |50 | 1 |   1 | 
 1 |15499 |3


where mediaid 7 is the tape it just recycled and didn't use, and mediaid 8 is 
the tape it's sharing with the other job.

I'm happy for it to interleave, but I'm curious as to why it touches that first 
tape (7) but then decides not to use it. 
   It's effectively recycling/nuking a backup that doesn't need to be, 
requiring two tapes where one will do.   Anyone 
got any idea what's going on?  Happy to file a bug if it is one, but don't want 
to false report.

Thanks,

-- 
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
I hate Sharepoint
-Craig Miskell, repeatedly 2004-2007
-Also attributed to Stuart Dillon-Roberts, during the installation of 2007 Beta 
version
-Also by Dean Eidler, during installation of 2007 final release
-Also by Greg Peyroux, 2008 during MySites deployment
-Also Dee Milic, 2009, Superlinc project



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Rebuilding 5.0.1-2 src rpm on Centos 5.4

2010-03-29 Thread Hugh Brown
Mark Nienberg wrote:
> I haven't been able to get the src rpm for 5.0.1-2 to build on Centos 5.4.  I 
> have
> successfully built many prior versions of bacula on this machine, so I'm not 
> sure
> what is wrong.  I've read the previous posts and the wiki article about this 
> but none
> of them seems like the problem I have.
>
> I'm using the following command:
>
> rpmbuild --rebuild bacula-5.0.1-2.src.rpm
> --define "build_centos5 1" --define "build_mysql 1"
>
> The first errors appear here:
>
> Compiling rblist.c
> Compiling tls.c
> Compiling tree.c
> Compiling util.c
> tls.c: In function ‘bool tls_postconnect_verify_host(JCR*, TLS_CONNECTION*, 
> const
> char*)’:
> tls.c:354: error: invalid conversion from ‘const X509V3_EXT_METHOD*’ to 
> ‘v3_ext_method*’

This looks (to me, anyway) a lot like the problems reported earlier
with OpenSSL:

* http://marc.info/?l=bacula-users&m=126889471504505&w=2

  - also reports a problem with :

 tls.c: In function 'bool tls_postconnect_verify_host(JCR*, 
TLS_CONNECTION*,
 const char*)':
 tls.c:354: error: invalid conversion from 'const X509V3_EXT_METHOD*' to
 'v3_ext_method*'

* http://marc.info/?l=bacula-users&m=126910218517057&w=2

  - May be a problem with a patch applied for OpenSSL v1; small patch
  included to get around the problem for CentOS and OpenSSL 0.9.8

Thanks,
Hugh


--
Hugh Brown, Systems Manager
The Centre for High-Throughput Biology
hbr...@chibi.ubc.ca

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Tapes appearing in the wrong pool

2010-03-29 Thread Craig Miskell
Hi,
I am having a slightly intermittent problem with the storage Daemon 
thinking tapes are in a different pool from  what 
the catalog does.  Then, when the job comes to run, it hangs waiting for a tape 
in the correct pool.
E.g from last night, I have the following snippet of "list volumes" output:
Pool: Mondays
+-++---+-+-+--+--+-+--+---+---+-+
| mediaid | volumename | volstatus | enabled | volbytes| volfiles | 
volretention | recycle | slot | inchanger | 
mediatype | lastwritten |
+-++---+-+-+--+--+-+--+---+---+-+
|   6 | ComMon2| Used  |   1 |   1 |0 | 
 518,400 |   1 |0 | 0 | 
LTO4  | 2010-03-09 14:53:38 |
|  16 | ComMon1| Used  |   1 | 736,617,821,184 |  743 | 
 518,400 |   1 |0 | 0 | 
LTO4  | 2010-03-23 15:44:32 |
+-++---+-+-+--+--+-+--+---+---+-+
Pool: Weekly
+-++---+-+-+--+--+-+--+---+---+-+
| mediaid | volumename | volstatus | enabled | volbytes| volfiles | 
volretention | recycle | slot | inchanger | 
mediatype | lastwritten |
+-++---+-+-+--+--+-+--+---+---+-+
|   5 | ComFri1| Used  |   1 | 754,008,966,144 |  761 | 
 518,400 |   1 |0 | 0 | 
LTO4  | 2010-03-20 15:15:17 |
|  12 | ComFri2| Used  |   1 | 758,472,873,984 |  765 | 
 518,400 |   1 |0 | 0 | 
LTO4  | 2010-03-27 15:47:27 |
|  23 | ComFri3| Used  |   1 | 761,428,942,848 |  768 | 
 518,400 |   1 |0 | 0 | 
LTO4  | 2010-03-13 22:30:05 |
+-++---+-+-+--+--+-+--+---+---+-+

(plus other irrelevant pools not included)

and the relevant portion of the output of "status storage" immediately after 
that:

Device status:
Device "LTO4" (/dev/nst0) is mounted with:
 Volume:  ComMon2
 Pool:Weekly
 Media type:  LTO4
 Total Bytes Read=129,024 Blocks Read=2 Bytes/block=64,512
 Positioned at File=0 Block=0


Used Volume status:
ComMon2 on device "LTO4" (/dev/nst0)
 Reader=0 writers=0 devres=0 volinuse=0


So the catalog thinks ComMon2 is in the Mondays pool, and the storage daemon 
thinks it's in the Weekly pool.  Does the 
pool info get written to the tape itself?  I'm about 90% sure that ComMon2 has 
never been in the Weekly pool, but this 
is my first deployment, so stranger things might have happened along the way.

If there's no pool info on the tape directly, then where is it getting this 
erroneous idea from?  I'm happy to file a 
bug if it truly is one, but want to be sure I'm not missing the obvious first.

Thanks,

-- 
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
Rarely is the question asked: Is our children Learning
- George W Bush


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Vista 64 bit and sparse files

2010-03-29 Thread uhog-v9e4
Hi everyone,

I am using Bacula 3.02 client and server to backup several machines on my home 
network. It has been working great. Recently, I added my first Vista machine 
which also happens to be 64-bit and now, although the backups complete, it 
takes hours and the statistics are nonsense. I can only guess that sparse files 
are at the root cause here, but cannot figure out how to track this down.

Here is my fileset definition:
FileSet {
 Name = fb-802-fileset
 Include {
  Options {
   signature = MD5
   sparse = yes
   Exclude = yes
   IgnoreCase = yes
   checkfilechanges = yes
   # Exclude directories full of lots and lots of useless little files
   WildDir = "[A-Z]:/Users/*/Cookies"
...
  }
 File = "C:/"
 File = "C:/WINDOWS/system32/drivers/etc/hosts"
 File = "E:/"
 }

I added the "sparse = yes" statement hoping it would help but it has not.

The strange thing is that the "estimate" command does not show the excessive 
space consumed.

And here is what a #list media pool=90m shows. Note that these are 120m DDS 
tapes with a native storage capacity of 4Gb so obviously this can not be 
correct.
#list media pool=90m
...
|  38 | 120m_1_2   | Full  |   1 |  8,555,774,976 |   68 |
7,776,000 |   1 |2 | 1 | DDS-3 | 2010-03-01 14:59:13 |
|  39 | 120m_1_3   | Full  |   1 | 13,363,144,704 |   44 |
7,776,000 |   1 |3 | 1 | DDS-3 | 2010-03-10 22:02:52 |
|  40 | 120m_1_4   | Full  |   1 | 66,590,705,664 |   99 |
7,776,000 |   1 |4 | 1 | DDS-3 | 2010-03-19 20:08:02 |
|  41 | 120m_1_5   | Full  |   1 | 37,345,867,776 |   58 |
7,776,000 |   1 |5 | 1 | DDS-3 | 2010-03-26 17:05:10 |

This is pretty typical of one of the backups I am talking about:
#list jobid=457
+---+---+-+--+---+--++---+
| JobId | Name  | StartTime   | Type | Level | JobFiles | 
JobBytes   | JobStatus |
+---+---+-+--+---+--++---+
|   457 | fb-802-backup | 2010-03-23 17:30:03 | B| I |1,422 | 
15,581,607,358 | T |
+---+---+-+--+---+--++---+
#

Yet here is the estimate which is about what I would expect.
#estimate job=fb-802-backup fileset=fb-802-fileset level=Incremental 
storage=C1557A pool=90m
Using Catalog "MyCatalog"
Connecting to Client fb-802-fd at fb-802.mydomain.mrc:9102
2000 OK estimate files=1424 bytes=1,088,634,152

Doing an "estimate listing ..." does not really show anything unusual. The 
biggest files I can see in the list are related to my email at about 250Mb so I 
am not even sure how to identify the file(s) I might exclude if there is no way 
around the sparse file issue. Again, assuming this IS a sparse file issue which 
it really looks like it is to me.

Any ideas???

Thanks,
Mike

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Rebuilding 5.0.1-2 src rpm on Centos 5.4

2010-03-29 Thread Mark Nienberg
I haven't been able to get the src rpm for 5.0.1-2 to build on Centos 5.4.  I 
have 
successfully built many prior versions of bacula on this machine, so I'm not 
sure 
what is wrong.  I've read the previous posts and the wiki article about this 
but none 
of them seems like the problem I have.

I'm using the following command:

rpmbuild --rebuild bacula-5.0.1-2.src.rpm
--define "build_centos5 1" --define "build_mysql 1"

The first errors appear here:

Compiling rblist.c
Compiling tls.c
Compiling tree.c
Compiling util.c
tls.c: In function ‘bool tls_postconnect_verify_host(JCR*, TLS_CONNECTION*, 
const 
char*)’:
tls.c:354: error: invalid conversion from ‘const X509V3_EXT_METHOD*’ to 
‘v3_ext_method*’
make[1]: *** [tls.lo] Error 1
make[1]: *** Waiting for unfinished jobs
make[1]: Leaving directory `/usr/src/redhat/BUILD/bacula-5.0.1/src/lib'

   == Error in /usr/src/redhat/BUILD/bacula-5.0.1/src/lib ==

==>Entering directory /usr/src/redhat/BUILD/bacula-5.0.1/src/findlib
make[1]: Entering directory `/usr/src/redhat/BUILD/bacula-5.0.1/src/findlib'
Compiling find.c
Compiling match.c
Compiling find_one.c
Compiling attribs.c
Compiling create_file.c
Compiling bfile.c
Compiling drivetype.c
Compiling enable_priv.c
Compiling fstype.c
Compiling mkpath.c
make[1]: *** No rule to make target `../lib/libbac.la', needed by `all'.  Stop.
make[1]: *** Waiting for unfinished jobs
Compiling savecwd.c
make[1]: Leaving directory `/usr/src/redhat/BUILD/bacula-5.0.1/src/findlib'

   == Error in /usr/src/redhat/BUILD/bacula-5.0.1/src/findlib ==

and then it continues with many more errors like the previous.

Any help appreciated. I can send in a full log if that would be useful.
Thanks,

-- 
Mark Nienberg
Sent from an invalid address. Please reply to the group.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] switching between RAID-packs, marking Volume in Error

2010-03-29 Thread Josh Fisher

On 3/29/2010 3:05 PM, Paul Binkley wrote:
> Hi Folks,
>
> I have a backup scheme that has been working well, with 1 issue. We write to
> a 4.5 TB RAID pack for 30 days, then cycle it as offsite backup, replacing
> it with an identical array.
>
> Now obviously each RAID pack has a different set of volumes, so when I
> switch them, the first job can't seem to figure out which volume to use and
> it marks the one it expects as Error in the catalog. I have to force it to
> use a Volume on the new RAID and then it seems to work fine until I rotate
> it again. I am concerned that this one Volume is getting marked as
> erroneous, and would also like this to be as "hands-off" as possible. Has
> anyone done this sort of thing before, and did you experience similar
> issues?
>
> I may be missing something fundamental and your input is appreciated.
>
> SD and Director are both running 3.0.3 on separate CentOS 5.3 machines.
>
> Thanks!
>

When you swap RAID packs, go into bconsole and update the volume status 
for the last volume written in each pool from "Append" to "Used". This 
will prevent Bacula from attempting to use those volumes, and so prevent 
it from marking them in error when they aren't found. Instead, it will 
search for the next available volume and find one on the new RAID pack.

When you rotate the old RAID pack back online, you will either have to 
change the status of those volumes from "Used" back to "Append" or else 
setup retentions so that they are recycled by the time you rotate them 
back online. (Or manually purge the old volumes when they need to be 
re-used.)


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] switching between RAID-packs, marking Volume in Error

2010-03-29 Thread John Drescher
On Mon, Mar 29, 2010 at 3:05 PM, Paul Binkley  wrote:
> Hi Folks,
>
> I have a backup scheme that has been working well, with 1 issue. We write to
> a 4.5 TB RAID pack for 30 days, then cycle it as offsite backup, replacing
> it with an identical array.
>
> Now obviously each RAID pack has a different set of volumes, so when I
> switch them, the first job can't seem to figure out which volume to use and
> it marks the one it expects as Error in the catalog. I have to force it to
> use a Volume on the new RAID and then it seems to work fine until I rotate
> it again. I am concerned that this one Volume is getting marked as
> erroneous, and would also like this to be as "hands-off" as possible. Has
> anyone done this sort of thing before, and did you experience similar
> issues?
>
> I may be missing something fundamental and your input is appreciated.
>
> SD and Director are both running 3.0.3 on separate CentOS 5.3 machines.
>

You probably should use separate pools for each raid set.

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] switching between RAID-packs, marking Volume in Error

2010-03-29 Thread Paul Binkley
Hi Folks,

I have a backup scheme that has been working well, with 1 issue. We write to
a 4.5 TB RAID pack for 30 days, then cycle it as offsite backup, replacing
it with an identical array.

Now obviously each RAID pack has a different set of volumes, so when I
switch them, the first job can't seem to figure out which volume to use and
it marks the one it expects as Error in the catalog. I have to force it to
use a Volume on the new RAID and then it seems to work fine until I rotate
it again. I am concerned that this one Volume is getting marked as
erroneous, and would also like this to be as "hands-off" as possible. Has
anyone done this sort of thing before, and did you experience similar
issues?

I may be missing something fundamental and your input is appreciated.

SD and Director are both running 3.0.3 on separate CentOS 5.3 machines.

Thanks!



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't connect to FD after upgrade to 3.

2010-03-29 Thread Hugh Brown
Roland Roberts wrote:
> tcpdump is doing something weird; it won't show me the traffic for some
> reason (tcpdump -vv -n dst host 192.168.3.3 and src host 192.168.3.3);
> yet the client is clearly getting some message.

If the client and the director are on the same machine, you may need
to specify "-i lo" or something similar.

Thanks,
Hugh


--
Hugh Brown, Systems Manager
The Centre for High-Throughput Biology
hbr...@chibi.ubc.ca

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't connect to FD after upgrade to 3.

2010-03-29 Thread Roland Roberts
On 03/29/2010 02:01 PM, Hugh Brown wrote:
> Roland Roberts wrote:
>
>> Okay, so it didn't work, no big deal, the server was past due to be
>> upgraded.  So I upgraded to Fedora 12 on the server and picked up the
>> 3.0.3 bacula server.  But since this upgrade, the 3.0.3 server can't
>> talk to the 3.0.3 client.  But it does talk to a 2.4.4 client on a
>> Fedora 11 system.
>>  
> I presume you've tried "status client" in bconsole; what exactly do
> you see when you run that?  How long does it take to time out, if
> that's what it's doing?
>

I had, but I just did it again while I had the client in the foreground 
with verbose messages.  I had been getting

*status client
The defined Client resources are:
  1: archos-fd
  2: aristarchus-fd
  3: hipparchus-fd
  4: tycho-fd
  5: copernicus-fd
Select Client (File daemon) resource (1-5): 1
Connecting to Client archos-fd at archos.rlent.pnet:9102
Failed to connect to Client archos-fd.

You have messages.
*
29-Mar 14:10 archos-dir: *Console*.2010-03-29_14.08.08 Fatal error: File 
daemon on "archos.rlent.pnet:9102" rejected Hello command

But with verbose client, I get the above from the console but this in 
the client window:

archos-fd: cram-md5.c:73-0 send: auth cram-md5 
<1018903137.1269886...@archos-fd> ssl=0
archos-fd: cram-md5.c:152-0 sending resp to challenge: 
a9/LnX1KKQ/Gj6+qd++t1B

The password in bacula-dir.conf for archos-fd matches the password in 
bacula-fd.conf,


> If you run tcpdump on the client, do you see the connection from the
> director?  If you run it on the server, does it match up with what you
> see on the client?  What about if you run strace on bacula-fd on the
> client?
>

I ran strace which lead me to check hosts.allow/hosts.deny; both are empty.

tcpdump is doing something weird; it won't show me the traffic for some 
reason (tcpdump -vv -n dst host 192.168.3.3 and src host 192.168.3.3); 
yet the client is clearly getting some message.

roland

-
   PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD RL Enterprises
rol...@rlenter.com6818 Madeline Court
rol...@astrofoto.org   Brooklyn, NY 11220


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't connect to FD after upgrade to 3.

2010-03-29 Thread Prashant Ramhit




Hi Roland,
This is a small check list you can do following Hugh comment.

Assume the client passwd matches the director's passwd.

On backup server 
1. do a status client=ClientName from bconsole, (send the result from
that)
2. if 1 does not work, do a ping to Client IP
3. do a nmap -PO clientIP, you should see if the client port is
available

If not the there is an issue at your client
1. restart your bacula client
2. lsof -i:9102
You should get this.

COMMAND    PID USER   FD   TYPE DEVICE SIZE NODE NAME
bacula-fd 1796 root    3u  IPv4   4357   TCP *:bacula-fd (LISTEN)

3. then do a status client=ClientName from director and tcpdump on your
client
4. strace on your client for the bacula-client pid.

Well, there should at least be a reason for client not connecting,

Regards,
Prashant


Hugh Brown wrote:

  Roland Roberts wrote:
  
  
Okay, so it didn't work, no big deal, the server was past due to be
upgraded.  So I upgraded to Fedora 12 on the server and picked up the
3.0.3 bacula server.  But since this upgrade, the 3.0.3 server can't
talk to the 3.0.3 client.  But it does talk to a 2.4.4 client on a
Fedora 11 system.

  
  
I presume you've tried "status client" in bconsole; what exactly do
you see when you run that?  How long does it take to time out, if
that's what it's doing?

If you run tcpdump on the client, do you see the connection from the
director?  If you run it on the server, does it match up with what you
see on the client?  What about if you run strace on bacula-fd on the
client?

Thanks,
Hugh

--
Hugh Brown, Systems Manager
The Centre for High-Throughput Biology
hbr...@chibi.ubc.ca

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
  



  

  
  
  
  


  
  


  
   

  





--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't connect to FD after upgrade to 3.

2010-03-29 Thread Hugh Brown
Roland Roberts wrote:
> Okay, so it didn't work, no big deal, the server was past due to be
> upgraded.  So I upgraded to Fedora 12 on the server and picked up the
> 3.0.3 bacula server.  But since this upgrade, the 3.0.3 server can't
> talk to the 3.0.3 client.  But it does talk to a 2.4.4 client on a
> Fedora 11 system.

I presume you've tried "status client" in bconsole; what exactly do
you see when you run that?  How long does it take to time out, if
that's what it's doing?

If you run tcpdump on the client, do you see the connection from the
director?  If you run it on the server, does it match up with what you
see on the client?  What about if you run strace on bacula-fd on the
client?

Thanks,
Hugh

--
Hugh Brown, Systems Manager
The Centre for High-Throughput Biology
hbr...@chibi.ubc.ca

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client rejected Hello command

2010-03-29 Thread Roland Roberts
On 03/29/2010 11:26 AM, Steve Thompson wrote:
> On Mon, 29 Mar 2010, Roland Roberts wrote:
>
>
>> It was a major upgrade reboot was part of the process.  And it's been
>> rebooted since then.
>>  
> What does a "telnet archos.rlent.pnet 9102" give you?
>

Connected (from the telnet client), but no other response.  I am also 
connecting *from* archos.rlent.pnet.

257 roland> telnet archos.rlent.pnet 9102
Trying 192.168.3.3...
Connected to archos.rlent.pnet.
Escape character is '^]'.

I've tried running the client in the foreground with debugging turned up 
and verbose messages, but I'm not getting any more info:

[r...@archos bacula]# bacula-fd -f -d 99 -v
bacula-fd: filed_conf.c:452-0 Inserting director res: archos-mon
archos-fd: filed.c:259-0 filed: listening on port 9102


When I try to telnet, I get exactly the same response--connect, nothing 
more.

roland

-- 
   PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD RL Enterprises
rol...@rlenter.com6818 Madeline Court
rol...@astrofoto.org   Brooklyn, NY 11220


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Copy Jobs for replication

2010-03-29 Thread Thomas Mueller
Am Mon, 29 Mar 2010 12:18:18 +0200 schrieb My Name:

> Hi,
> 
> What: What I want to do is to replicate specific backup jobs to another
> bacula system (other Director & Storage). Is there a good solution to do
> this?
> 
> Why: Very important backups should be replicated to another backup
> system so that one system (director & storage) may crash (-> redundancy
> for high availability).

catalog: mysql has a built in replication feature. postrgres has this too 
(IMHO, not a pg user right now).

volumes (disk based): DRBD (raid1 over tcp/ip, www.drbd.org). If you go 
with drbd you could also put the mysql/posgressql data on drbd. if you 
want a cluster manager, have a look at pacemaker/corosync.

- Thomas


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client rejected Hello command

2010-03-29 Thread Steve Thompson
On Mon, 29 Mar 2010, Roland Roberts wrote:

> It was a major upgrade reboot was part of the process.  And it's been
> rebooted since then.

What does a "telnet archos.rlent.pnet 9102" give you?

Steve

Steve Thompson E-mail:  smt AT vgersoft DOT com
Voyager Software LLC   Web: http://www DOT vgersoft DOT com
39 Smugglers Path  VSW Support: support AT vgersoft DOT com
Ithaca, NY 14850
   "186,300 miles per second: it's not just a good idea, it's the law"


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Copy Jobs for replication

2010-03-29 Thread Phil Stracchino
On 03/29/10 06:18, My Name wrote:
> At 
> http://bacula.git.sourceforge.net/git/gitweb.cgi?p=bacula/bacula;a=blob;f=bacula/projects;hb=HEAD
> I have read about "Item 36: Job migration between different SDs". Will
> this also be possible with "Copy Jobs"? Would this be the proper
> solution? It would be good to know if replication will be implemented
> in a release in the near future.

Copy and migration are similar enough problems that implementing one
across multiple SDs should probably implement the other.

In the meantime, assuming you're using disk storage, what I would
probably do in your position is rsync the disk volumes and use sqld
replication to sync the catalogs.


-- 
  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.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client rejected Hello command

2010-03-29 Thread Roland Roberts
On 03/29/2010 11:11 AM, John Drescher wrote:
> On Mon, Mar 29, 2010 at 11:10 AM, Roland Roberts  wrote:
>
>> On 03/29/2010 10:38 AM, John Drescher wrote:
>>  
>>> On Mon, Mar 29, 2010 at 9:59 AM, Roland Roberts
>>>   wrote:
>>>
>>>
 I am routinely getting this after an upgrade of my server from Fedora 8
 to Fedora 12 so it is now running Bacula 3.0.3

 29-Mar 04:03 archos-dir: BackupCatalog.2010-03-29_01.05.05 Fatal error:
 File daemon on "archos.rlent.pnet:9102" rejected Hello command

 The message comes from the server trying to contact the client *on the
 same host*.

 The client is running, SELinux is in permissive mode, iptables shows no
 rules in place.  Both ipv4 and ipv6 are enabled.  Prior to the upgrade,
 everything worked fine.  I've been over the config files and can't find any
 substantial differences between what the old ones (bacula 2.0.3) have and
 what the new ones need, so I'm using the same configuration files.

 Any ideas?
  
>>> Is your director at least bacula 3.0.X?
>>>
>> Director and client are both 3.0.3.  The whole upgrade was via the stock
>> Fedora RPMs
>>  
> Did you make sure you restarted all bacula daemons on the director and client.
>

It was a major upgrade reboot was part of the process.  And it's been 
rebooted since then.

Right now I'm focusing on the clien and server that are running *on the 
same host*. I've got the same problem with clients on other hosts, but I 
figure if I can get the local one to work, I can figure out the rest.

roland

-- 
   PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD RL Enterprises
rol...@rlenter.com6818 Madeline Court
rol...@astrofoto.org   Brooklyn, NY 11220


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client rejected Hello command

2010-03-29 Thread John Drescher
On Mon, Mar 29, 2010 at 11:10 AM, Roland Roberts  wrote:
> On 03/29/2010 10:38 AM, John Drescher wrote:
>>
>> On Mon, Mar 29, 2010 at 9:59 AM, Roland Roberts
>>  wrote:
>>
>>>
>>> I am routinely getting this after an upgrade of my server from Fedora 8
>>> to Fedora 12 so it is now running Bacula 3.0.3
>>>
>>> 29-Mar 04:03 archos-dir: BackupCatalog.2010-03-29_01.05.05 Fatal error:
>>> File daemon on "archos.rlent.pnet:9102" rejected Hello command
>>>
>>> The message comes from the server trying to contact the client *on the
>>> same host*.
>>>
>>> The client is running, SELinux is in permissive mode, iptables shows no
>>> rules in place.  Both ipv4 and ipv6 are enabled.  Prior to the upgrade,
>>> everything worked fine.  I've been over the config files and can't find any
>>> substantial differences between what the old ones (bacula 2.0.3) have and
>>> what the new ones need, so I'm using the same configuration files.
>>>
>>> Any ideas?
>>>
>>>
>>
>> Is your director at least bacula 3.0.X?
>>
>
> Director and client are both 3.0.3.  The whole upgrade was via the stock
> Fedora RPMs
>

Did you make sure you restarted all bacula daemons on the director and client.

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client rejected Hello command

2010-03-29 Thread Roland Roberts
On 03/29/2010 10:38 AM, John Drescher wrote:
> On Mon, Mar 29, 2010 at 9:59 AM, Roland Roberts  wrote:
>
>> I am routinely getting this after an upgrade of my server from Fedora 8 to 
>> Fedora 12 so it is now running Bacula 3.0.3
>>
>> 29-Mar 04:03 archos-dir: BackupCatalog.2010-03-29_01.05.05 Fatal error: File 
>> daemon on "archos.rlent.pnet:9102" rejected Hello command
>>
>> The message comes from the server trying to contact the client *on the same 
>> host*.
>>
>> The client is running, SELinux is in permissive mode, iptables shows no 
>> rules in place.  Both ipv4 and ipv6 are enabled.  Prior to the upgrade, 
>> everything worked fine.  I've been over the config files and can't find any 
>> substantial differences between what the old ones (bacula 2.0.3) have and 
>> what the new ones need, so I'm using the same configuration files.
>>
>> Any ideas?
>>
>>  
> Is your director at least bacula 3.0.X?
>

Director and client are both 3.0.3.  The whole upgrade was via the stock 
Fedora RPMs

roland

-- 
   PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD RL Enterprises
rol...@rlenter.com6818 Madeline Court
rol...@astrofoto.org   Brooklyn, NY 11220


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client rejected Hello command

2010-03-29 Thread John Drescher
On Mon, Mar 29, 2010 at 9:59 AM, Roland Roberts  wrote:
> I am routinely getting this after an upgrade of my server from Fedora 8 to 
> Fedora 12 so it is now running Bacula 3.0.3
>
> 29-Mar 04:03 archos-dir: BackupCatalog.2010-03-29_01.05.05 Fatal error: File 
> daemon on "archos.rlent.pnet:9102" rejected Hello command
>
> The message comes from the server trying to contact the client *on the same 
> host*.
>
> The client is running, SELinux is in permissive mode, iptables shows no rules 
> in place.  Both ipv4 and ipv6 are enabled.  Prior to the upgrade, everything 
> worked fine.  I've been over the config files and can't find any substantial 
> differences between what the old ones (bacula 2.0.3) have and what the new 
> ones need, so I'm using the same configuration files.
>
> Any ideas?
>

Is your director at least bacula 3.0.X?

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 5.0.1 - Opensuse 11.1 - Building from src : Error during ./configure

2010-03-29 Thread jcdole
Hello. 
Want to install a Linux Server as SAMBA PDC. 


• OPENSUSE 11.1 + MySQL-5.1.45 + SAMBA-3.2.7 + PHP-5.2.12 + 
APACHE2-2-2.2.10 + OPENLDAP-openldap2-2.4.12 
• Bacula 5.0.1 
• Want to use the GUI 

Following the "main" document 
- Have de-tar Bacula 5.0.1 in Bacula directory 
- Have compile Qt lib and put depkgs-qt in Bacula directory 

( By the way, following tips found on internet 



[Bacula-devel] platforms/suse/bacula.spec.in missing by Philipp Storz - Mon, 15 
Feb 2010 00:16:19 -0800 I had to "touch" the file platforms/suse/bacula.spec.in 
) 

- As I tried more than one, have create a shell to start configure : 

#!/bin/sh 
# 
cd /local/download/bacula/compil/bacula/depkgs-qt 
./source qt4-paths 
# 
cd /local/download/bacula/compil/bacula 
./make distclean 
# 
# Recommended configure script for Bacula 
prefix=/opt/bacula 
email=r...@localhost 
CFLAGS="-g -O2 -Wall" \ 
./configure \ 
--sbindir=${prefix}/bin \ 
--sysconfdir=${prefix}/etc \ 
--docdir=${prefix}/html \ 
--htmldir=${prefix}/html \ 
--with-working-dir=${prefix}/working \ 
--with-pid-dir=${prefix}/working \ 
--with-subsys-dir=${prefix}/working \ 
--with-scriptdir=${prefix}/scripts \ 
--with-plugindir=${prefix}/plugins \ 
--libdir=${prefix}/lib \ 
--enable-smartalloc \ 
--enable-tray-monitor \ 
--enable-bat \ 
--with-mysql \ 
--with-dump-email=${email} \ 
--with-job-email=${email} \ 
--with-smtp-host=localhost \ 
--with-baseport=9101 

exit 0 


• Starting configure from command line 

SRV:/local/./bacula # 
SRV:/local/./bacula # 
SRV:/local/./bacula # make > my_re-configure.sh 
 
 
 
make[1]: Leaving directory 
`/local/download/bacula/compil/bacula/src/qt-console' 
==>Entering directory /local/download/bacula/compil/bacula/src/tray-monitor 
make[1]: Entering directory 
`/local/download/bacula/compil/bacula/src/tray-monitor' 
In file included from authenticate.c:42: 
tray-monitor.h:36:21: error: gtk/gtk.h: No such file or directory 
In file included from tray-monitor.c:39: 
tray-monitor.h:36:21: error: gtk/gtk.h: No such file or directory 
make[1]: *** [depend] Error 1 
make[1]: Leaving directory 
`/local/download/bacula/compil/bacula/src/tray-monitor' 
 
 
 
 
 
Configuration on Mon Mar 29 15:09:10 CEST 2010: 

Host: i686-pc-linux-gnu -- suse 11.1 
Bacula version: Bacula 5.0.1 (24 February 2010) 
Source code location: . 
Install binaries: /opt/bacula/bin 
Install libraries: /opt/bacula/lib 
Install config files: /opt/bacula/etc 
Scripts directory: /opt/bacula/scripts 
Archive directory: /tmp 
Working directory: /opt/bacula/working 
PID directory: /opt/bacula/working 
Subsys directory: /opt/bacula/working 
Man directory: ${datarootdir}/man 
Data directory: /usr/share 
Plugin directory: /opt/bacula/plugins 
C Compiler: gcc Linux) 
C++ Compiler: /usr/bin/g++ Linux) 
Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti 
Linker flags: 
Libraries: -lpthread -ldl 
Statically Linked Tools: no 
Statically Linked FD: no 
Statically Linked SD: no 
Statically Linked DIR: no 
Statically Linked CONS: no 
Database type: MySQL 
Database port: 
Database lib: -L/usr/lib/mysql -lmysqlclient_r -lz 
Database name: bacula 
Database user: bacula 

Job Output Email: r...@localhost 
Traceback Email: r...@localhost 
SMTP Host Address: localhost 

Director Port: 9101 
File daemon Port: 9102 
Storage daemon Port: 9103 

Director User: 
Director Group: 
Storage Daemon User: 
Storage DaemonGroup: 
File Daemon User: 
File Daemon Group: 

SQL binaries Directory /usr/bin 

Large file support: yes 
Bacula conio support: yes -lncurses 
readline support: no 
TCP Wrappers support: no 
TLS support: yes 
Encryption support: yes 
ZLIB support: yes 
enable-smartalloc: yes 
enable-lockmgr: no 
bat support: yes 
enable-gnome: no 
enable-bwx-console: no 
enable-tray-monitor: yes 
client-only: no 
build-dird: yes 
build-stored: yes 
Plugin support: yes 
ACL support: no 
XATTR support: yes 
Python support: no 
Batch insert enabled: yes 

SRV:/local/./bacula # 
SRV:/local/./bacula # 
SRV:/local/./bacula # 

tray-monitor.h:36:21: error: gtk/gtk.h: No such file or directory 
Of course because the file gtk.h is in /usr/include/gtk2.0/gtk /gtk.h 

How can I tell configure to search in /usr/include/gtk2.0/gtk/gtk.h 

Thank you for your help. 

JCD 

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] client rejected Hello command

2010-03-29 Thread Roland Roberts
I am routinely getting this after an upgrade of my server from Fedora 8 to 
Fedora 12 so it is now running Bacula 3.0.3

29-Mar 04:03 archos-dir: BackupCatalog.2010-03-29_01.05.05 Fatal error: File 
daemon on "archos.rlent.pnet:9102" rejected Hello command

The message comes from the server trying to contact the client *on the same 
host*.

The client is running, SELinux is in permissive mode, iptables shows no rules 
in place.  Both ipv4 and ipv6 are enabled.  Prior to the upgrade, everything 
worked fine.  I've been over the config files and can't find any substantial 
differences between what the old ones (bacula 2.0.3) have and what the new ones 
need, so I'm using the same configuration files.

Any ideas?

roland

-- 
   PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD RL Enterprises
rol...@rlenter.com6818 Madeline Court
rol...@astrofoto.org   Brooklyn, NY 11220


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore error on bacula sd 3.03 and bacula-dir 5.01

2010-03-29 Thread Koldo Santisteban
is very complicated in my case (to restore to another linux box), because
the network bandwith is not enough. Thanks for your answer John

On Mon, Mar 29, 2010 at 3:39 PM, John Drescher  wrote:

> On Mon, Mar 29, 2010 at 9:37 AM, John Drescher 
> wrote:
> >> not, is not include in the last release... :-( only bacula-fd
> >
> > Sorry I am not sure about windows release planning. I only use linux
> > for my bacula-sds with a mix of windows and linux clients.
> >
> >> Well, i have to find another backup solution for my small branches...
> >>
> >
> > Can you mount the windows storage on the linux server? cifs mount?
> >
>
> Also for the restore. You could restore to the linux box (not to / but
> a folder in the tree). And then copy the restored files to the windows
> machine.
>
> John
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore error on bacula sd 3.03 and bacula-dir 5.01

2010-03-29 Thread John Drescher
On Mon, Mar 29, 2010 at 9:37 AM, John Drescher  wrote:
>> not, is not include in the last release... :-( only bacula-fd
>
> Sorry I am not sure about windows release planning. I only use linux
> for my bacula-sds with a mix of windows and linux clients.
>
>> Well, i have to find another backup solution for my small branches...
>>
>
> Can you mount the windows storage on the linux server? cifs mount?
>

Also for the restore. You could restore to the linux box (not to / but
a folder in the tree). And then copy the restored files to the windows
machine.

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore error on bacula sd 3.03 and bacula-dir 5.01

2010-03-29 Thread John Drescher
> not, is not include in the last release... :-( only bacula-fd

Sorry I am not sure about windows release planning. I only use linux
for my bacula-sds with a mix of windows and linux clients.

> Well, i have to find another backup solution for my small branches...
>

Can you mount the windows storage on the linux server? cifs mount?


John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: Can someone help me to solve my logical problem... ?

2010-03-29 Thread gnowar

Yeah, you're right.. I'm dumb.

I did something like that :

Schedule {
  Name = "SchedTapeRetDay"
#  Run = Full mon-fri at 23:05
  Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41, w45,
w49, w53 tue-fri at 23:05
  Run = Full w02, w03, w04, w06, w07, w08, w10, w11, w12, w14, w15, w16,
w18, w19, w20, w22, w23, w24, w26, w27, w28, w30, w31, w32, w34, w35, w36,
w38, w49, w40, w42, w43, w44, w46, w47, w48, w50, w51, w52 mon-fri at 23:05
}

Schedule {
  Name = "SchedTapeRetYear"
  Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41, w45,
w49, w53 Mon at 23:05
}

That sould work fine.

Thank you John.

I'll be back in 1 month to confirm the process ;)



John M. Drescher wrote:
> 
> On Mon, Mar 29, 2010 at 4:40 AM, gnowar  wrote:
>>
>> Well, about that..
>>
>> Is there a way to use an exception for one or several days ?
>>
>> Schedule {
>>  Name = "SchedTapeRetDay"
>>  Run = Full mon-fri at 23:05
>> }
>>
>> Schedule {
>>  Name = "SchedTapeRetYear"
>>  Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41, w45,
>> w49, w53 Mon at 23:05
>> }
>>
>> You see the problem. For the mondays who are parts of w01, w05 etc.
>> bacula
>> will double the backup.
>>
> 
> I believe this will work if you use 1 schedule. I may be wrong.
> 
> Schedule {
> Name = "MySchedule"
> Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41,
> w45,  w49, w53 Mon at 23:05
> Run = Full mon-fri at 23:05
> }
> 
> Now if that does not work. You can select the weeks individually for
> Monday. Something like:
> 
> Schedule {
> Name = "MySchedule"
> Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41,
> w45,  w49, w53 Mon at 23:05
> Run = Full tue-fri at 23:05
> Run = Full w02, w03, w04, w06, w07, w08, w10, w11, w12, w14, w15,
> w16 Mon at 23:05
> }
> 
> And yes I stopped at week 16, you will have to fix that..
> 
> John
> 
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> 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/Can-someone-help-me-to-solve-my-logical-problem...---tp27864557p28069390.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore error on bacula sd 3.03 and bacula-dir 5.01

2010-03-29 Thread Koldo Santisteban
not, is not include in the last release... :-( only bacula-fd
Well, i have to find another backup solution for my small branches...

On Mon, Mar 29, 2010 at 3:08 PM, John Drescher  wrote:

> On Mon, Mar 29, 2010 at 9:04 AM, Koldo Santisteban
>  wrote:
> > and how i can upgrade bacula 3.03 to bacula 5.0.1?? i don´t see on
> > sourceforge the needed files...i only can see bacula-fd on windows for
> the
> > last version...
> >
>
> I believe its on the bacula page. Well there is a 5.0.1 32 or 64 bit
> but I am not sure if it has the sd because I have not tested it
> myself.
>
> http://www.bacula.org/en/?page=downloads
>
> John
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Backup Job Question

2010-03-29 Thread John Drescher
-- Forwarded message --
From: John Drescher 
Date: Mon, Mar 29, 2010 at 9:18 AM
Subject: Re: [Bacula-users] Backup Job Question
To: Achim Gottinger 


On Mon, Mar 29, 2010 at 5:31 AM, Achim Gottinger  wrote:
> Hi,
>
> I plan to backup a few virtual server guest system. Once in a week I
> want to shutdown the guest systems and export em to a file. Each day I
> want to create incremental backups with bacula. So I'd need a way to
> create an full-backup catalog only before I shutdown the guest systems
> for the xen backup job, which will be used a s a basis for the
> incremental backups. Is this possible?
>

Yes. Make sure you have only 1 job. You could set the schedule to
incremental always. And manually run a job when you shutdown the
servers. Or if you want you can script commands to bconsole.

John



-- 
John M. Drescher

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore error on bacula sd 3.03 and bacula-dir 5.01

2010-03-29 Thread John Drescher
On Mon, Mar 29, 2010 at 9:04 AM, Koldo Santisteban
 wrote:
> and how i can upgrade bacula 3.03 to bacula 5.0.1?? i don´t see on
> sourceforge the needed files...i only can see bacula-fd on windows for the
> last version...
>

I believe its on the bacula page. Well there is a 5.0.1 32 or 64 bit
but I am not sure if it has the sd because I have not tested it
myself.

http://www.bacula.org/en/?page=downloads

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup not working

2010-03-29 Thread John Drescher
On Mon, Mar 29, 2010 at 9:08 AM, Victor Sterpu  wrote:
> The problem appeared after a power failure.
> The output from  list media pool =PWin2000 is:
> +-+---+---+-++--+--+-+--+---+---+-+
> | MediaId | VolumeName    | VolStatus | Enabled | VolBytes   | VolFiles
> | VolRetention | Recycle | Slot | InChanger | MediaType |
> LastWritten |
> +-+---+---+-++--+--+-+--+---+---+-+
> |   8 | FSWin2000_001 | Error |   1 | 48,211,169,498 |   11
> |   31,536,000 |   1 |    0 | 0 | File  | 2010-02-02
> 21:38:17 |
> |  14 | FSWin2000_002 | Error |   1 |  2,710,006,688 |    0
> |   31,536,000 |   1 |    0 | 0 | File  | 2010-03-02
> 21:34:41 |
> +-+---+---+-++--+--+-+--+---+---+-+
> To fix the problem I labeled new volumes.
> I can backup now but I don't know exactly what is heappening with the volume
> named FSWin2000_002(status is Error).
> I can restore from this volume, even if the status is Error.
>

Check the logs. A job terminating unexpectedly by a network error can
cause this.

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: Can someone help me to solve my logical problem... ?

2010-03-29 Thread John Drescher
On Mon, Mar 29, 2010 at 4:40 AM, gnowar  wrote:
>
> Well, about that..
>
> Is there a way to use an exception for one or several days ?
>
> Schedule {
>  Name = "SchedTapeRetDay"
>  Run = Full mon-fri at 23:05
> }
>
> Schedule {
>  Name = "SchedTapeRetYear"
>  Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41, w45,
> w49, w53 Mon at 23:05
> }
>
> You see the problem. For the mondays who are parts of w01, w05 etc. bacula
> will double the backup.
>

I believe this will work if you use 1 schedule. I may be wrong.

Schedule {
Name = "MySchedule"
Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41,
w45,  w49, w53 Mon at 23:05
Run = Full mon-fri at 23:05
}

Now if that does not work. You can select the weeks individually for
Monday. Something like:

Schedule {
Name = "MySchedule"
Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41,
w45,  w49, w53 Mon at 23:05
Run = Full tue-fri at 23:05
Run = Full w02, w03, w04, w06, w07, w08, w10, w11, w12, w14, w15,
w16 Mon at 23:05
}

And yes I stopped at week 16, you will have to fix that..

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup not working

2010-03-29 Thread Victor Sterpu

The problem appeared after a power failure.
The output from  list media pool =PWin2000 is:
+-+---+---+-++--+--+-+--+---+---+-+
| MediaId | VolumeName| VolStatus | Enabled | VolBytes   | 
VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |

+-+---+---+-++--+--+-+--+---+---+-+
|   8 | FSWin2000_001 | Error |   1 | 48,211,169,498 |   
11 |   31,536,000 |   1 |0 | 0 | File  | 2010-02-02 
21:38:17 |
|  14 | FSWin2000_002 | Error |   1 |  2,710,006,688 
|0 |   31,536,000 |   1 |0 | 0 | File  | 
2010-03-02 21:34:41 |

+-+---+---+-++--+--+-+--+---+---+-+
To fix the problem I labeled new volumes.
I can backup now but I don't know exactly what is heappening with the 
volume named FSWin2000_002(status is Error).

I can restore from this volume, even if the status is Error.

Thank you
Victor

John Drescher wrote:

I use bacula 3.0.1.
All the volumes are marked with VolStatus = Error.



You need to fix that. Why are they marked this way? I mean did bacula
crash when doing a backup?

  

I can restore from all the volumes, but I can't backup.
The volumes are files on a hdd. The volumes are always mounted.
When I try to backup any of my clients I receive the following email:

29-Mar 14:20 192.168.0.191-sd JobId 1473: Job 
Backup_Server_Win_2000.2010-03-29_14.20.35_06 waiting. Cannot find any 
appendable volumes.



This means there are no volumes that bacula can use.

Post the output of list media pool =PWin2000

John
  


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore error on bacula sd 3.03 and bacula-dir 5.01

2010-03-29 Thread Koldo Santisteban
and how i can upgrade bacula 3.03 to bacula 5.0.1?? i don´t see on
sourceforge the needed files...i only can see bacula-fd on windows for the
last version...

On Mon, Mar 29, 2010 at 2:54 PM, John Drescher  wrote:

> 2010/3/29 Koldo Santisteban :
> > Hello
> >
> > I have a windows server 2003 with bacula sd and fd 3.03a installed with a
> > bacula-dir 5.01 on centos. All is working fine, but when i want to
> restore a
> > file from remote  windows server i obtain this error:
> >
> > zanburu.batz.es-dir JobId 1018: Start Restore Job
> > RestoreFiles.2010-03-29_14.28.16_16
> > zanburu.batz.es-dir JobId 1018: Using Device "FileStorage"
> > launa-sd JobId 1018: Fatal error: Bootstrap file error: Keyword Storage
> not
> > found
> >
> > : Line 1, col 7 of file C:\Documents and Settings\All
> > Users\Datos de
> >
> programa\Bacula\Work/server2-sd.RestoreFiles.2010-03-29_14.28.16_16.6.bootstrap
> > Storage="FileMbtRioja"
> >
> > launa-sd JobId 1018: Fatal error: Error parsing bootstrap file.
> >
> > zanburu.batz.es-dir JobId 1018: Fatal error: Bad response to Bootstrap
> > command: wanted 3000 OK bootstrap
> > , got 3904 Error bootstrap
> >
> > zanburu.batz.es-dir JobId 1018: Error: Bacula server1-dir 5.0.1
> (24Feb10):
> > 29-Mar-2010 14:28:20
> >
> >   Build OS:   x86_64-unknown-linux-gnu redhat
> >   JobId:  1018
> >   Job:RestoreFiles.2010-03-29_14.28.16_16
> >   Restore Client: server3
> >   Start time: 29-Mar-2010 14:28:18
> >
> >   End time:   29-Mar-2010 14:28:20
> >   Files Expected: 1
> >   Files Restored: 0
> >   Bytes Restored: 0
> >   Rate:   0.0 KB/s
> >   FD Errors:  0
> >   FD termination status:
> >
> >   SD termination status:
> >   Termination:*** Restore Error ***
> >
> > zanburu.batz.es-dir JobId 1018: Error: Bacula zanburu.batz.es-dir 5.0.1
> > (24Feb10): 29-Mar-2010 14:28:21
> >   Build OS:   x86_64-unknown-linux-gnu redhat
> >
> >   JobId:  1018
> >   Job:RestoreFiles.2010-03-29_14.28.16_16
> >   Restore Client: gomare
> >   Start time: 29-Mar-2010 14:28:18
> >   End time:   29-Mar-2010 14:28:21
> >
> >   Files Expected: 1
> >   Files Restored: 0
> >   Bytes Restored: 0
> >   Rate:   0.0 KB/s
> >   FD Errors:  1
> >   FD termination status:
> >   SD termination status:
> >
> >   Termination:*** Restore Error ***
> >
> > I have tried to restore using bweb, bconsole and bacula console with no
> > success. I hope someone could help me with this issue.
> >
> > Regards and thanks in advance
> >
> >
>
> Upgrade the windows server to have bacula 5.0.1 sd. I believe you
> generally are supposed to have the same director major version as all
> storage that you use. The fd can be lower however.
>
> John
>
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore error on bacula sd 3.03 and bacula-dir 5.01

2010-03-29 Thread John Drescher
2010/3/29 Koldo Santisteban :
> Hello
>
> I have a windows server 2003 with bacula sd and fd 3.03a installed with a
> bacula-dir 5.01 on centos. All is working fine, but when i want to restore a
> file from remote  windows server i obtain this error:
>
> zanburu.batz.es-dir JobId 1018: Start Restore Job
> RestoreFiles.2010-03-29_14.28.16_16
> zanburu.batz.es-dir JobId 1018: Using Device "FileStorage"
> launa-sd JobId 1018: Fatal error: Bootstrap file error: Keyword Storage not
> found
>
> : Line 1, col 7 of file C:\Documents and Settings\All
> Users\Datos de
> programa\Bacula\Work/server2-sd.RestoreFiles.2010-03-29_14.28.16_16.6.bootstrap
> Storage="FileMbtRioja"
>
> launa-sd JobId 1018: Fatal error: Error parsing bootstrap file.
>
> zanburu.batz.es-dir JobId 1018: Fatal error: Bad response to Bootstrap
> command: wanted 3000 OK bootstrap
> , got 3904 Error bootstrap
>
> zanburu.batz.es-dir JobId 1018: Error: Bacula server1-dir 5.0.1 (24Feb10):
> 29-Mar-2010 14:28:20
>
>   Build OS:   x86_64-unknown-linux-gnu redhat
>   JobId:  1018
>   Job:RestoreFiles.2010-03-29_14.28.16_16
>   Restore Client: server3
>   Start time: 29-Mar-2010 14:28:18
>
>   End time:   29-Mar-2010 14:28:20
>   Files Expected: 1
>   Files Restored: 0
>   Bytes Restored: 0
>   Rate:   0.0 KB/s
>   FD Errors:  0
>   FD termination status:
>
>   SD termination status:
>   Termination:*** Restore Error ***
>
> zanburu.batz.es-dir JobId 1018: Error: Bacula zanburu.batz.es-dir 5.0.1
> (24Feb10): 29-Mar-2010 14:28:21
>   Build OS:   x86_64-unknown-linux-gnu redhat
>
>   JobId:  1018
>   Job:RestoreFiles.2010-03-29_14.28.16_16
>   Restore Client: gomare
>   Start time: 29-Mar-2010 14:28:18
>   End time:   29-Mar-2010 14:28:21
>
>   Files Expected: 1
>   Files Restored: 0
>   Bytes Restored: 0
>   Rate:   0.0 KB/s
>   FD Errors:  1
>   FD termination status:
>   SD termination status:
>
>   Termination:*** Restore Error ***
>
> I have tried to restore using bweb, bconsole and bacula console with no
> success. I hope someone could help me with this issue.
>
> Regards and thanks in advance
>
>

Upgrade the windows server to have bacula 5.0.1 sd. I believe you
generally are supposed to have the same director major version as all
storage that you use. The fd can be lower however.

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore error on bacula sd 3.03 and bacula-dir 5.01

2010-03-29 Thread Koldo Santisteban
Hello

I have a windows server 2003 with bacula sd and fd 3.03a installed with a
bacula-dir 5.01 on centos. All is working fine, but when i want to restore a
file from remote  windows server i obtain this error:

*zanburu.batz.es-dir JobId 1018: Start Restore Job
RestoreFiles.2010-03-29_14.28.16_16
zanburu.batz.es-dir JobId 1018: Using Device "FileStorage"
launa-sd JobId 1018: Fatal error: Bootstrap file error: Keyword
Storage not found
: Line 1, col 7 of file C:\Documents and Settings\All
Users\Datos de 
programa\Bacula\Work/server2-sd.RestoreFiles.2010-03-29_14.28.16_16.6.bootstrap
Storage="FileMbtRioja"

launa-sd JobId 1018: Fatal error: Error parsing bootstrap file.
zanburu.batz.es-dir JobId 1018: Fatal error: Bad response to Bootstrap
command: wanted 3000 OK bootstrap
, got 3904 Error bootstrap

zanburu.batz.es-dir JobId 1018: Error: Bacula server1-dir 5.0.1
(24Feb10): 29-Mar-2010 14:28:20
  Build OS:   x86_64-unknown-linux-gnu redhat
  JobId:  1018
  Job:RestoreFiles.2010-03-29_14.28.16_16
  Restore Client: server3
  Start time: 29-Mar-2010 14:28:18
  End time:   29-Mar-2010 14:28:20
  Files Expected: 1
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:
  SD termination status:
  Termination:*** Restore Error ***

zanburu.batz.es-dir JobId 1018: Error: Bacula zanburu.batz.es-dir
5.0.1 (24Feb10): 29-Mar-2010 14:28:21
  Build OS:   x86_64-unknown-linux-gnu redhat
  JobId:  1018
  Job:RestoreFiles.2010-03-29_14.28.16_16
  Restore Client: gomare
  Start time: 29-Mar-2010 14:28:18
  End time:   29-Mar-2010 14:28:21
  Files Expected: 1
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  1
  FD termination status:
  SD termination status:
  Termination:*** Restore Error 

I have tried to restore using bweb, bconsole and bacula console with
no success. I hope someone could help me with this issue.
Regards and thanks in advance
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup not working

2010-03-29 Thread John Drescher
> I use bacula 3.0.1.
> All the volumes are marked with VolStatus = Error.

You need to fix that. Why are they marked this way? I mean did bacula
crash when doing a backup?

> I can restore from all the volumes, but I can't backup.
> The volumes are files on a hdd. The volumes are always mounted.
> When I try to backup any of my clients I receive the following email:
>
> 29-Mar 14:20 192.168.0.191-sd JobId 1473: Job 
> Backup_Server_Win_2000.2010-03-29_14.20.35_06 waiting. Cannot find any 
> appendable volumes.

This means there are no volumes that bacula can use.

Post the output of list media pool =PWin2000

John

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup not working

2010-03-29 Thread Victor Sterpu
I use bacula 3.0.1.
All the volumes are marked with VolStatus = Error.
I can restore from all the volumes, but I can't backup.
The volumes are files on a hdd. The volumes are always mounted.
When I try to backup any of my clients I receive the following email:

29-Mar 14:20 192.168.0.191-sd JobId 1473: Job 
Backup_Server_Win_2000.2010-03-29_14.20.35_06 waiting. Cannot find any 
appendable volumes.
Please use the "label"  command to create a new Volume for:
Storage:  "FSWinServer2000" (/var/bacula-work/backups/FSWinServer2000)
Pool: PWin2000
Media type:   File

The command "status dir" returns:
 JobId Level   Name   Status
==
  1473 Increme  Backup_Server_Win_2000.2010-03-29_14.20.35_06 is waiting 
for an appendable Volume

The command "status storage" returns:
Device status:
Device "FileStorage" is not open or does not exist.
Device "FSZimbra" (/var/bacula-work/backups/FSZimbra) is not open.
Device "FSArhiva" (/var/bacula-work/backups/FSArhiva) is not open.
Device "FSWinServer2000" (/var/bacula-work/backups/FSWinServer2000) is 
not open.
Device is BLOCKED waiting to create a volume for:
   Pool:PWin2000
   Media type:  File
Device "FSWinServer2003" (/var/bacula-work/backups/FSWinServer2003) is 
not open.
Device "FSUrgo" (/var/bacula-work/backups/FSUrgo) is not open.
Device "FSServer2000" is not open or does not exist.


Thank you
Victor Sterpu

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Feature Request: allow writing to multiplevolumes concurrently on file-type devices

2010-03-29 Thread Kern Sibbald
On Monday 29 March 2010 12:48:14 James Harper wrote:
> > In addition, one should take care in using multipe disk Devices that
>
> write to
>
> > the same physical disk drive.  Depending how you set it up and how
>
> many you
>
> > have, you may create severe disk fragmentation and performance
>
> problems.
>
>
> I use 1 disk device per client (and 1 job per volume) and had never
> considered that fragmentation could be a problem... In retrospect I
> guess it was pretty obvious. 

For most people, it may not be so obvious, but for someone like me who thinks 
about Bacula all the time (too much), it is a concern.

> xfs_db tells me I have 99.94% fragmentation 
> - I guess it couldn't get much worse :)

Yes, I have recently run into a case, where one site is trying to 
simultaneously write to 120 different disk devices.  IMO, this is a far from 
optimum Bacula configuration.

Some sites for reasons of security or separation of data may need to use a 
different disk device per client, and that will work fine until you get up to 
50 or 100 clients, then the performance problems will begin to show up.

>
> Backup performance isn't an issue at this time but it's something to
> think about in the future.

Bacula permits sys admins to configure it in many different ways -- it is very 
flexible which is good, but can also lead to bad configurations.  However, as 
backup jobs get larger and larger over the years (bigger computers, ...), and 
the number of users increases, configurations that previously worked well 
will no longer serve.   Unfortunately, because the project is much bigger, 
certain developer's such as my self are no longer able to provide this kind 
of support, but I think that more experienced people who are on the 
bacula-users list can help a lot, and there are a good number of those 
experienced users willing to help.

Best regards,

Kern

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mysql-> postgres conversion. Problems...

2010-03-29 Thread Alan Brown
On Fri, 26 Mar 2010, Matija Nalis wrote:

> have you perhaps succeded in transition from MySQL to PostgreSQL for
> bacula ?

Eventually...

> An update to the documentation (or your explanation about problems
> and what you did) would be greately appreciated, as we're also being
> pinned down with extreme MySQL slowdowns in 5.0.x (bacula bug 1472)
> and must move to PostgreSQL without losing catalog data (or die
> trying, which I'd like to avoid if at all possible :)

The single biggest problem is that mysql's "compatible" dumps contain "
characters, which cause an exact match in postgres on inserts. The way to
fix that is " perl -pi.bak s/\"/\'/g "

I spent a lot of time and effort case smashing the inserts, but changing
the character works better.

The other thing you need to do is tune postgres. There are a couple of
perversities - #1 is that if vaccuum is slow, you need to run it more
often and #2 is that if you assign too much memory to the engine it can
die on lack of memory errors for large inserts as it won't try to use
system ram.

AB




--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] PostgreSQL & dbcheck query

2010-03-29 Thread Alan Brown
On Fri, 26 Mar 2010, Xavier Romero wrote:

> Hi all,
>
> I've detected serious problems on my PostgreSQL to manage following query
> SELECT Filename.FilenameId,File.FilenameId FROM Filename LEFT OUTER JOIN File 
> ON (Filename.FilenameId=File.FilenameId) WHERE File.FilenameId IS NULL LIMIT 
> 30


What are your work_mem and maintenance_work_mem parameters set to?




--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Copy Jobs for replication

2010-03-29 Thread My Name
Hi,

What: What I want to do is to replicate specific backup jobs to
another bacula system (other Director & Storage). Is there a good
solution to do this?

Why: Very important backups should be replicated to another backup
system so that one system (director & storage) may crash (->
redundancy for high availability).

At 
http://bacula.git.sourceforge.net/git/gitweb.cgi?p=bacula/bacula;a=blob;f=bacula/projects;hb=HEAD
I have read about "Item 36: Job migration between different SDs". Will
this also be possible with "Copy Jobs"? Would this be the proper
solution? It would be good to know if replication will be implemented
in a release in the near future.

Thanks in advance,
Mathias

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backup Job Question

2010-03-29 Thread Achim Gottinger
Hi,

I plan to backup a few virtual server guest system. Once in a week I 
want to shutdown the guest systems and export em to a file. Each day I 
want to create incremental backups with bacula. So I'd need a way to 
create an full-backup catalog only before I shutdown the guest systems 
for the xen backup job, which will be used a s a basis for the 
incremental backups. Is this possible?

thanks in advance
achim~

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] recover volume deleted by error

2010-03-29 Thread Jean-François Leroux
Actually, yes. I have changed the names of the user/machine in the
output above, but I have have created a user in mysql database and add
all privileges on bacula whith grant.
I wonder if bscan can find the mysql server. I have used the option -h
machinename.mydomain.com. Is that correct?

BTW here's the command I'm using:
bscan -c /etc/bacula/bacula-sd.conf -h machinename.mydomain.com -u
r...@machinename.mydomain.com -P password -v -V Machine10-Diff-0002
/data/machine10

r...@machinename.mydomain.com has all privileges on bacula database on
machinename.mydomain.com


2010/3/29 Phil Stracchino :
> On 03/28/10 17:02, Jean-François Leroux wrote:
>> Oops, when I try and connect from my sd machine to the director I get this:
>>
>> bscan: butil.c:269 Using device: "/data/machine10" for reading.
>> 28-Mar 22:58 bscan: Ready to read from volume "Machine10-Diff-0002" on
>> device "Machine10-Device" (/data/machine10).
>> bscan: acquire.c:200 jcr->dcr=0x80bcd08
>> 28-Mar 22:58 bscan: ERROR TERMINATION at bscan.c:277
>> mysql.c:164 Unable to connect to MySQL server.
>> Database=bacula user=r...@machine10.mydomain.com
>> It is probably not running or your password is incorrect.
>>
>> Mysql is running however end password is correct...
>
> But does that user *from that machine* have permissions to access the
> database?  You may have to perform a GRANT.
>
>
> --
>  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.
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: Can someone help me to solve my logical problem... ?

2010-03-29 Thread gnowar

Well, about that..

Is there a way to use an exception for one or several days ?

Schedule {
  Name = "SchedTapeRetDay"
  Run = Full mon-fri at 23:05
}

Schedule {
  Name = "SchedTapeRetYear"
  Run = Full w01, w05, w09, w13, w17, w21, w25, w29, w33, w37, w41, w45,
w49, w53 Mon at 23:05
}

You see the problem. For the mondays who are parts of w01, w05 etc. bacula
will double the backup.

My only issue at this point is to stop the backup manually when this
configuration appears.

Any idea ?


I just need to create 2 pools / 2 jobs now, one for 365 days vol retention
(schedule for w01, w04 etc..) and the other one for 21 days vol retention.

-- 
View this message in context: 
http://old.nabble.com/Can-someone-help-me-to-solve-my-logical-problem...---tp27864557p28066342.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users