Re: [Bacula-users] mount command error does not cancel backup

2014-04-28 Thread le dahut
Hi Kern, thank you for answering.

24/04/2014 22:51, Kern Sibbald wrote :
> On 04/23/2014 11:00 AM, le dahut wrote:
>> Sorry to insist but am I the only one who've noticed that ?
>>
>> How can I solve this problem ?
>
> I am not sure those commands are used internally by Bacula anymore. They
> were originally written to support writing to CD drives, which is no
> longer implemented.

"Mount command" and "Unmount command" are still documented here :
http://www.bacula.org/5.2.x-manuals/en/main/main/Storage_Daemon_Configuratio.html


>  And so, I imagine that no one else uses them.

Thousands of servers will use it in a few months.

But maybe you have an idea on how to acheive this otherwise :
* DIR, SD and FD are on 3 different machines
* SD uses a Samba share
* Samba share must be mounted before backup and umounted after
?


> Are you sure that you python script is actually returning a "system"  or
> standard shell script error status?

Very very sure ;-)


>  If not, it is clear that Bacula
> won't know there is an error.  If you can absolutely show that your
> script returns a correct error status, or provide some script that does
> and the job is not failed, then it is probably worth submitting to the
> bugs database.

Done. http://bugs.bacula.org/view.php?id=2053

>
> Best regards,
> Kern
>>
>>
>> 14/04/2014 11:44, le dahut wrote :
>>> Hello,
>>>
>>> Bacula 5.2.5-0ubuntu6.2 (on 12.04 LTS)
>>>
>>> In bacula-sd.conf I have :
>>>  Name = FileStorage
>>>  LabelMedia = yes
>>>  Automatic Mount = yes
>>>  Archive Device = /mnt/backup
>>>  Media Type = File
>>>  Device type = File
>>>  Mount Point = /mnt/backup
>>>  Mount Command = "sudo /sbin/baculamount.py --mount"
>>>  Unmount Command = "sudo /sbin/baculamount.py --umount"
>>>  Maximum Open Wait = 60
>>>  Requires Mount = yes
>>>  Random Access = yes
>>>  Removable Media = yes
>>>  Always Open = no
>>>
>>> But even if "sudo /sbin/baculamount.py --mount" makes an error and exits
>>> with code 1, backup is not cancelled/marked as error but still happens.
>>>
>>>
>>> Why ?
>>> Is there a way to make backup NOT happen if "mount command" has failed ?
>>>
>>>
>>> Thanks,
>>> Klaas
>> --
>> Start Your Social Network Today - Download eXo Platform
>> Build your Enterprise Intranet with eXo Platform Software
>> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
>> Get Started Now And Turn Your Intranet Into A Collaboration Platform
>> http://p.sf.net/sfu/ExoPlatform
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>

--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mount command error does not cancel backup

2014-04-23 Thread le dahut
23/04/2014 16:44, Téïcée Bacula wrote :
>
>
> Le 23/04/2014 16:05, le dahut a écrit :
>> 23/04/2014 15:07, Téïcée Bacula wrote :
>>> Hello Klaas
>>>
>>>>> Sorry to insist but am I the only one who've noticed that ?
>>>
>>> Notice what? The mount command used in a device don't fail the job? Well
>>> I never needed it.
>>> Having the detail of your mount operation would probably help a bit or
>>> at least knowing in  which context you are trying to do this. In other
>>> words: what put you in this situation? What are your *real* needs?
>>> It seems to me your problem is "elsewhere".
>>
>> My problem is that when, for a random reason, SD cannot mount the backup
>> device, backup still occurs.
>>
>> DIR, SD and FD are on a different machine. One or more firewall(s) may
>> be installed between each daemon, therefore using only Bacula network
>> communication system is mandatory (no SSH or else).
>>
>>
>> Backup device is an SMB/CIFS share or an external USB drive.
>>
>> Command :
>>   /sbin/baculamount.py --mount
>> mounts the support, if mount succeeds it exits with 0, if mount
>> encounters an error, it exits with 1.
>>
>>
>> The goal is to use Bacula with its own functionalities/tools, eventually
>> contribute by testing and fixing bugs like this
> If you think this is a bug, you should open a ticket into the bacula bug
> database.


I've mailed Kern about this thread but didn't get any answer yet. I'm 
waiting for his comment before submitting a report.


Thanks for your (and other's) help.


--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mount command error does not cancel backup

2014-04-23 Thread le dahut
23/04/2014 15:07, Téïcée Bacula wrote :
> Hello Klaas
>
>>> Sorry to insist but am I the only one who've noticed that ?
>
> Notice what? The mount command used in a device don't fail the job? Well
> I never needed it.
> Having the detail of your mount operation would probably help a bit or
> at least knowing in  which context you are trying to do this. In other
> words: what put you in this situation? What are your *real* needs?
> It seems to me your problem is "elsewhere".

My problem is that when, for a random reason, SD cannot mount the backup 
device, backup still occurs.

DIR, SD and FD are on a different machine. One or more firewall(s) may 
be installed between each daemon, therefore using only Bacula network 
communication system is mandatory (no SSH or else).


Backup device is an SMB/CIFS share or an external USB drive.

Command :
  /sbin/baculamount.py --mount
mounts the support, if mount succeeds it exits with 0, if mount 
encounters an error, it exits with 1.


The goal is to use Bacula with its own functionalities/tools, eventually 
contribute by testing and fixing bugs like this (I've already 
contributed to ACLs management some years ago, it's in the list 
archives). But I would like to avoid making workarounds.


>>> How can I solve this problem ?
>>>
>>
>> I would try creating a run before job that uses ssh to connect to the
>> remote machine with the SD and in this run before job check if the
>> mount succeeds.
>
> There could be several ways to manage this and IMHO the following should
> be valid:
> - based on John's answer, you might run a "script before" on the FD
> hosted by your SD which will fail the job accordingly. The matter here
> is not to actually mount the drive rather  than testing the fact the
> mount operation is doing well. If the command fails, then your mount
> command will too.
> - you might want to use an Admin job too to do the same and managing
> enabled parameter accordingly e.g.
> - you might also consider to use Messages resource and then "capture"
> the mount message and do the appropriate commands / actions accordingly
>
> and there is a lot more to suggest..  If you don't find any help here, I
> guess you should explain more on your work.
>
> Greg.
>>
>> John
>
> /snip/
>>

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mount command error does not cancel backup

2014-04-23 Thread le dahut
23/04/2014 13:23, John Drescher wrote :
>> Sorry to insist but am I the only one who've noticed that ?
>>
>> How can I solve this problem ?
>>
>
> I would try creating a run before job that uses ssh to connect to the
> remote machine with the SD and in this run before job check if the
> mount succeeds.
>
> John
>

Making a workaround is a problem, it will add too much complexity/work.

It would be better that Bacula works as expected (I cannot imagine that 
"mount" is optionnal in a backup process).

Ubuntu 12.04 LTS' Bacula version is Bacula 5.2.5. Maybe this is fixed in 
higher versions ? (in which case we will recompile a newer Bacula)


--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mount command error does not cancel backup

2014-04-23 Thread le dahut
Sorry to insist but am I the only one who've noticed that ?

How can I solve this problem ?


14/04/2014 11:44, le dahut wrote :
> Hello,
>
> Bacula 5.2.5-0ubuntu6.2 (on 12.04 LTS)
>
> In bacula-sd.conf I have :
> Name = FileStorage
> LabelMedia = yes
> Automatic Mount = yes
> Archive Device = /mnt/backup
> Media Type = File
> Device type = File
> Mount Point = /mnt/backup
> Mount Command = "sudo /sbin/baculamount.py --mount"
> Unmount Command = "sudo /sbin/baculamount.py --umount"
> Maximum Open Wait = 60
> Requires Mount = yes
> Random Access = yes
> Removable Media = yes
> Always Open = no
>
> But even if "sudo /sbin/baculamount.py --mount" makes an error and exits
> with code 1, backup is not cancelled/marked as error but still happens.
>
>
> Why ?
> Is there a way to make backup NOT happen if "mount command" has failed ?
>
>
> Thanks,
> Klaas

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mount command error does not cancel backup

2014-04-15 Thread le dahut
Ok, so this is not an issue for me since SD does not run on the same 
machine than DIR and FD.

Thank you anyway.



Le 14/04/2014 21:49, Ana Emília M. Arruda a écrit :
> Sorry Klass,
>
> I forgot to tell you that the "Run Script" directive you should put in
> the job resource definition.
>
> Regards,
> Ana
>
>
> On Mon, Apr 14, 2014 at 1:30 PM, Ana Emília M. Arruda
> mailto:emiliaarr...@gmail.com>> wrote:
>
> Hi Klaas,
>
> I don´t know if there is a better solution, but I think you can call
> the mount script inside a "run script" like:
>
> RunScript{
>  RunsWhen=  Before
>  FailJobOnError=  Yes
>  Command=  "sudo /sbin/baculamount.py --mount"
> }
>
> (from http://wiki.bacula.org/doku.php?id=bacula_manual:the_job_resource)
>
> Regards,
> Ana
>
>
> On Mon, Apr 14, 2014 at 6:44 AM, le dahut  <mailto:le.da...@laposte.net>> wrote:
>
> Hello,
>
> Bacula 5.2.5-0ubuntu6.2 (on 12.04 LTS)
>
> In bacula-sd.conf I have :
> Name = FileStorage
> LabelMedia = yes
> Automatic Mount = yes
> Archive Device = /mnt/backup
> Media Type = File
> Device type = File
> Mount Point = /mnt/backup
> Mount Command = "sudo /sbin/baculamount.py --mount"
> Unmount Command = "sudo /sbin/baculamount.py --umount"
> Maximum Open Wait = 60
> Requires Mount = yes
> Random Access = yes
> Removable Media = yes
> Always Open = no
>
> But even if "sudo /sbin/baculamount.py --mount" makes an error
> and exits
> with code 1, backup is not cancelled/marked as error but still
> happens.
>
>
> Why ?
> Is there a way to make backup NOT happen if "mount command" has
> failed ?
>
>
> Thanks,
> Klaas
>
>
> 
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases
> and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> <mailto:Bacula-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
>
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mount command error does not cancel backup

2014-04-15 Thread le dahut
Hi,

SD (Storage Daemon) is running on a different machine than FD and DIR. 
Can RunScript be used inside a Storage configuration ?


Le 14/04/2014 18:30, Ana Emília M. Arruda a écrit :
> Hi Klaas,
>
> I don´t know if there is a better solution, but I think you can call the
> mount script inside a "run script" like:
>
> RunScript{
>  RunsWhen=  Before
>  FailJobOnError=  Yes
>  Command=  "sudo /sbin/baculamount.py --mount"
> }
>
> (from http://wiki.bacula.org/doku.php?id=bacula_manual:the_job_resource)
>
> Regards,
> Ana
>
>
> On Mon, Apr 14, 2014 at 6:44 AM, le dahut  <mailto:le.da...@laposte.net>> wrote:
>
> Hello,
>
> Bacula 5.2.5-0ubuntu6.2 (on 12.04 LTS)
>
> In bacula-sd.conf I have :
> Name = FileStorage
> LabelMedia = yes
> Automatic Mount = yes
> Archive Device = /mnt/backup
> Media Type = File
> Device type = File
> Mount Point = /mnt/backup
> Mount Command = "sudo /sbin/baculamount.py --mount"
> Unmount Command = "sudo /sbin/baculamount.py --umount"
> Maximum Open Wait = 60
> Requires Mount = yes
> Random Access = yes
> Removable Media = yes
> Always Open = no
>
> But even if "sudo /sbin/baculamount.py --mount" makes an error and exits
> with code 1, backup is not cancelled/marked as error but still happens.
>
>
> Why ?
> Is there a way to make backup NOT happen if "mount command" has failed ?
>
>
> Thanks,
> Klaas
>
>
> 
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> <mailto:Bacula-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
>
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] mount command error does not cancel backup

2014-04-14 Thread le dahut
Hello,

Bacula 5.2.5-0ubuntu6.2 (on 12.04 LTS)

In bacula-sd.conf I have :
   Name = FileStorage
   LabelMedia = yes
   Automatic Mount = yes
   Archive Device = /mnt/backup
   Media Type = File
   Device type = File
   Mount Point = /mnt/backup
   Mount Command = "sudo /sbin/baculamount.py --mount"
   Unmount Command = "sudo /sbin/baculamount.py --umount"
   Maximum Open Wait = 60
   Requires Mount = yes
   Random Access = yes
   Removable Media = yes
   Always Open = no

But even if "sudo /sbin/baculamount.py --mount" makes an error and exits 
with code 1, backup is not cancelled/marked as error but still happens.


Why ?
Is there a way to make backup NOT happen if "mount command" has failed ?


Thanks,
Klaas


--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job dependency

2014-03-18 Thread le dahut
Le 18/03/2014 15:41, John Drescher a écrit :
> On Tue, Mar 18, 2014 at 9:49 AM, le dahut  wrote:
>> Hi,
>>
>> Is it possible to make 2 jobs dependent ?
>> I mean is it possible to make a second job not happen when the first has
>> ended in error status ?
>
>
> You could simulate that with a run before script
>
> John
>

Of course I could, but for some reasons I would like to keep 2 separate 
jobs.


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


[Bacula-users] Job dependency

2014-03-18 Thread le dahut
Hi,

Is it possible to make 2 jobs dependent ?
I mean is it possible to make a second job not happen when the first has 
ended in error status ?


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


[Bacula-users] fixup_device_block_write_error

2013-05-28 Thread le dahut
Hi,

I have an error I do not understand, what means :
  26-May-2013 21:57:33 127.0.0.1-sd: device.c:100-148 === Enter 
fixup_device_block_write_error

?

Regards,
KT


--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Broken Pipe "network send error"

2013-04-30 Thread le dahut
Some more logs :

DIR :
26-Apr-2013 22:49:51 127.0.0.1-dir: getmsg.c:138-66 bget_dirmsg 162: 
Jmsg Job=JobSauvegarde.2013-04-26_21.00.00_52 type=3 level=1367009391 
127.0.0.1-fd JobId 66: Fatal error: backup.c:1019 Network send error to 
SD. ERR=Broken pipe

FD :
26-Apr-2013 22:49:51 127.0.0.1-fd: heartbeat.c:91-0 Got BNET_SIG 0 from SD
26-Apr-2013 22:49:51 127.0.0.1-fd: heartbeat.c:96-0 wait_intr=1 stop

SD :
26-Apr-2013 22:49:51 127.0.0.1-sd: askdir.c:426-66 >dird CatReq 
Job=JobSauvegarde.2013-04-26_21.00.00_52 CreateJobMedia 
FirstIndex=370775 LastIndex=378221 StartFile=0 EndFile=0 
StartBlock=35978 EndBlock=1999871930 Copy=0 Strip=0 MediaId=60
26-Apr-2013 22:49:51 127.0.0.1-sd: askdir.c:433-66 dird CatReq 
Job=JobSauvegarde.2013-04-26_21.00.00_52 UpdateMedia 
VolName=127.0.0.1-dir-full-0060 VolJobs=1 VolFiles=0 VolBlocks=31000 
VolBytes=1999871931 VolMounts=4 VolErrors=0 VolWrites=124007 
MaxVolBytes=20 EndTime=1367009391 VolStatus=Append Slot=0 
relabel=0 InChanger=0 VolReadTime=0 VolWriteTime=447282741 
VolFirstWritten=0 VolParts=0
26-Apr-2013 22:49:51 127.0.0.1-sd: askdir.c:182-66 dird CatReq 
Job=JobSauvegarde.2013-04-26_21.00.00_52 CreateJobMedia 
FirstIndex=378221 LastIndex=378221 StartFile=0 EndFile=0 
StartBlock=1999871931 EndBlock=136442 Copy=0 Strip=0 MediaId=60
26-Apr-2013 22:49:51 127.0.0.1-sd: askdir.c:433-66 dird CatReq 
Job=JobSauvegarde.2013-04-26_21.00.00_52 UpdateMedia 
VolName=127.0.0.1-dir-full-0060 VolJobs=1 VolFiles=0 VolBlocks=31001 
VolBytes=136443 VolMounts=4 VolErrors=0 VolWrites=124008 
MaxVolBytes=20 EndTime=1367009391 VolStatus=Full Slot=0 
relabel=0 InChanger=0 VolReadTime=0 VolWriteTime=447292980 
VolFirstWritten=0 VolParts=0
26-Apr-2013 22:49:51 127.0.0.1-sd: askdir.c:182-66  A precision : in this case "/mnt/sauvegardes" is not a Samba share, it
> is an external USB hard drive.
>
>
> "Broken pipe"s occur also on CIFS mounted share.
>
>
> 04/29/2013 16:12, le dahut wrote :
>> Hi,
>>
>> The "broken pipe"s continue to happen. Here are some debug informations
>> retrieved with 'strace'. I hope this will help, we have about 1 crash
>> per week per server and we run hundreds.
>>
>> We use :
>> dpkg -l |grep bacula
>> ii  bacula-common5.0.1-1ubuntu1
>>   network backup, recovery and verification -
>> ii  bacula-common-sqlite35.0.1-1ubuntu1
>>   network backup, recovery and verification -
>> ii  bacula-console   5.0.1-1ubuntu1
>>   network backup, recovery and verification -
>> ii  bacula-director-common   5.0.1-1ubuntu1
>>   network backup, recovery and verification -
>> ii  bacula-director-sqlite3  5.0.1-1ubuntu1
>>   network backup, recovery and verification -
>> ii  bacula-fd5.0.1-1ubuntu1
>>   network backup, recovery and verification -
>> ii  bacula-pkg   2.3-eole54~3.gbpf865a6
>>   Configuration (dictionnaire et templates) et
>> ii  bacula-sd5.0.1-1ubuntu1
>>   network backup, recovery and verification -
>> ii  bacula-sd-sqlite35.0.1-1ubuntu1
>>   network backup, recovery and verification -
>>
>> linux-image-2.6.32-46-server SMP x86_64 GNU/Linux
>>
>> SD, FD and DIR are on the same computer.
>>
>> "/mnt/sauvegardes" is the directory where SD writes its volumes and this
>> directory is a SMB share mounted using "mount -t cifs".
>>
>>
>> Command used to retrieve debug :
>> strace -s 1000 -ttT -f -o /tmp/.out -p
>>
>>
>> * bacula-fd :
>> 13814 13:57:40.339464 write(5,
>> "\0\1\0\32x\234\0\t@\366\277\302\236m\312\256\30\217\273\233\340\310\352\353~\276f\4\273\273w4\26\221O\263\315-D\364\226\347HKYN\305\373\247\326\357\217\210\313f\245\0212e\vm\3
>> 55\34\200:l}:\327G\345\320\376\345\263:\244\335\322(\300\232\302\330/\323`w\225\224\223+\261\254\355sb8\350f\234V\270\275\275\354\22\373{\300\216\351J\v\34\304S\352\320)6zP\254\267\33\32\364\372\2\273\37Hj\2
>> 642&\36:93\342\203\251\351^\272l\254'66\335\345\302ME\341\310\t\262\334\237\242\246\262\371\343u\2537l\232kU\220\345\317cAK\274\f\362\372\345\36R\230\272\0332\360\20\301\304\312\6\340A\rm\213R\352
>> z,\346\220
>> \30)\"3\221j\22)<\304\271\220i\33\r2\212H\24\221q\300\351\203\":P\371\376?\330\206\357\v\331F\347\361\377c\305s\1\17n%\26\343P\177C\243\224I&VqU\211\205\200\203\366\312(\3306[\330W\353\340\21~\371\312LU\rO\2
>> 74\262rX\275\246\267\246<(\310\30\204i\327\274R\206\354K\213\267\236\232W\316T\200\360\325\276G{Q\270C\361\204\254\267\276\34

Re: [Bacula-users] Broken Pipe "network send error"

2013-04-30 Thread le dahut
A precision : in this case "/mnt/sauvegardes" is not a Samba share, it 
is an external USB hard drive.


"Broken pipe"s occur also on CIFS mounted share.


04/29/2013 16:12, le dahut wrote :
> Hi,
>
> The "broken pipe"s continue to happen. Here are some debug informations
> retrieved with 'strace'. I hope this will help, we have about 1 crash
> per week per server and we run hundreds.
>
> We use :
> dpkg -l |grep bacula
> ii  bacula-common5.0.1-1ubuntu1
>  network backup, recovery and verification -
> ii  bacula-common-sqlite35.0.1-1ubuntu1
>  network backup, recovery and verification -
> ii  bacula-console   5.0.1-1ubuntu1
>  network backup, recovery and verification -
> ii  bacula-director-common   5.0.1-1ubuntu1
>  network backup, recovery and verification -
> ii  bacula-director-sqlite3  5.0.1-1ubuntu1
>  network backup, recovery and verification -
> ii  bacula-fd5.0.1-1ubuntu1
>  network backup, recovery and verification -
> ii  bacula-pkg   2.3-eole54~3.gbpf865a6
>  Configuration (dictionnaire et templates) et
> ii  bacula-sd5.0.1-1ubuntu1
>  network backup, recovery and verification -
> ii  bacula-sd-sqlite35.0.1-1ubuntu1
>  network backup, recovery and verification -
>
> linux-image-2.6.32-46-server SMP x86_64 GNU/Linux
>
> SD, FD and DIR are on the same computer.
>
> "/mnt/sauvegardes" is the directory where SD writes its volumes and this
> directory is a SMB share mounted using "mount -t cifs".
>
>
> Command used to retrieve debug :
>strace -s 1000 -ttT -f -o /tmp/.out -p
>
>
> * bacula-fd :
> 13814 13:57:40.339464 write(5,
> "\0\1\0\32x\234\0\t@\366\277\302\236m\312\256\30\217\273\233\340\310\352\353~\276f\4\273\273w4\26\221O\263\315-D\364\226\347HKYN\305\373\247\326\357\217\210\313f\245\0212e\vm\3
> 55\34\200:l}:\327G\345\320\376\345\263:\244\335\322(\300\232\302\330/\323`w\225\224\223+\261\254\355sb8\350f\234V\270\275\275\354\22\373{\300\216\351J\v\34\304S\352\320)6zP\254\267\33\32\364\372\2\273\37Hj\2
> 642&\36:93\342\203\251\351^\272l\254'66\335\345\302ME\341\310\t\262\334\237\242\246\262\371\343u\2537l\232kU\220\345\317cAK\274\f\362\372\345\36R\230\272\0332\360\20\301\304\312\6\340A\rm\213R\352
> z,\346\220
> \30)\"3\221j\22)<\304\271\220i\33\r2\212H\24\221q\300\351\203\":P\371\376?\330\206\357\v\331F\347\361\377c\305s\1\17n%\26\343P\177C\243\224I&VqU\211\205\200\203\366\312(\3306[\330W\353\340\21~\371\312LU\rO\2
> 74\262rX\275\246\267\246<(\310\30\204i\327\274R\206\354K\213\267\236\232W\316T\200\360\325\276G{Q\270C\361\204\254\267\276\344\0\0\206\t\367\223/\30\355n\325\257\20\27\233\255QV\26\365a\\VvFaO\275d\3447\26\"
> \366|\26\37\326\353~\34\354aD\207\302=E\300\"D\267\204\30\2359$\306\16
> [\31\236\246T\32\323G<\321\213'\300a\262+\215V\353\235\377\354\335\306\t\214\231\f\361]%LT\224\277\4\207\256}\377Z\253\225h\33\266\336\2
> 67\331;#\313\306I#Dm\3429\317\250\0]\362\340\31\321#\317\241|Q\227)\24\220\366\352m\22G\313\16A\3103\277R\256+\373\224\177N/\354\263,\t\325\311\345\225I\364\24\373\27\355\350IJ+\"}~c\257\206\245\361\302u\37\
> 372Vw\343\204\211\374\244\363]\231\376\221n5\253\16l\241\205v\355[\37\35\264]\303\221\233\fp\0jv^\232-\260j\2034\206\356\351\":]\262<\357y\2262\353\177\300\v\371\365Q`/\273\226G\332L_\342.\375.\263\20~h\333\
> 346\223\262Z\277\0173s\255\360\321\307[\225F\375\211\330\366\340\344\216\272\222S\310\2069?N\177\366D\235s\222\261\360#cBF\320r\260\4R@\201w\366\254\240t\32|\"\t\361\203\3\231\260\267X\376$[\347b9\7\373\235\
> 355\251\1\205\36\3441V\260F\340N\177\322\206'\220eC\232Vv|=zO\370Ls|Y\231\376\364\17\311Z\336\230\216\23\235l\212kh:\271cdS\335o.\t\313\353u\1\262\233\202~\0\307\337\201\375\224\36\17\373\0227}\261\34\367R\2
> 211\353\260\324\351\311\364\204Zx\356n:I\232.)k\302\205\311H\305\20\240\224\10M\220.\304+9y\265}\244|NA3\207\304\25\35\265\333\331\30\342\317k\2z\267p\23Q\361\361\260\323\2273d\34\200\277\326C)u\217\2\201\32
> 4\25\375\r\226\310\335\311*d#\371\20\211\204\363\331}\352;\337\254\24\244\252\266\2142n\243[\r\212}9\222\367\\,\231\356\3016\25\255\360Z\302\254\304\36Q\35\244\2371\347c\220\272\2\330\253\344\331\241\210\213
> \320\302'\356mz=$\224L\314\345f\307F<\270H\262l\272\361\247S\16\fv\1\327aoL]\336i\324\ft\312\327\24^\345\272If\233u\213\300\222rn\350\25\322b\340~\351>=o\24\367C\6\276\353\231\377p:J?\30\230\303\366\2339\352
> +\320M\36s\233\237\332z\215\227p\31\353\206\240\353$Mub\f\310\353;~\216"...,
> 65566) = 65566 <0.000128>
> 13814 13:57:40.339965 read(16,

Re: [Bacula-users] Broken Pipe "network send error"

2013-04-29 Thread le dahut
EALTIME, 1301, {1366977465, 
290146000},  
14391 13:57:40.290237 socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 11 
<0.16>
14391 13:57:40.290294 connect(11, {sa_family=AF_FILE, path="/dev/log"}, 
110) = 0 <0.19>
14391 13:57:40.290359 sendto(11, "<27>Apr 26 13:57:40 bacula-sd: 
Shutting down Bacula service: 127.0.0.1-sd ...\n", 78, MSG_NOSIGNAL, 
NULL, 0) = 78 <0.39>
14391 13:57:40.290467 futex(0x7feeb67fd624, FUTEX_WAKE_OP_PRIVATE, 1, 1, 
0x7feeb67fd620, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 0 <0.11>
14391 13:57:40.290517 nanosleep({0, 10}, NULL) = 0 <0.000165>
14391 13:57:40.290759 tgkill(14391, 14391, SIGUSR2) = 0 <0.11>
14391 13:57:40.290803 nanosleep({0, 5000}, NULL) = 0 <0.050106>
14391 13:57:40.341067 shutdown(6, 2 /* send and receive */) = 0 <0.000120>
14391 13:57:40.341281 close(6)  = 0 <0.52>
14391 13:57:40.341514 unlink("/var/lib/bacula/bacula-sd.9103.state") = 0 
<0.79>
14391 13:57:40.341658 open("/var/lib/bacula/bacula-sd.9103.state", 
O_WRONLY|O_CREAT, 0640) = 6 <0.32>
14391 13:57:40.341730 write(6, "Bacula 
State\n\0\0\0\4\0\0\0\0\0\0\0\300\0\0\0\0\0\0\0\224\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 
192) = 192 <0.26>
14391 13:57:40.341845 lseek(6, 192, SEEK_SET) = 192 <0.10>
14391 13:57:40.341887 write(6, "\n\0\0\0", 4) = 4 <0.14>


Le 26/03/2013 11:31, le dahut a écrit :
> Hi,
>
> I have :
> * Bacula 5.0.1-1ubuntu1
> * Ubuntu 10.04
>
> Sometimes, not always, I get this error :
>25-Mar 20:46 127.0.0.1-fd JobId 210: Fatal error: backup.c:1019
> Network send error to SD. ERR=Broken pipe
>
>
> Any idea ?
>
>
> Debug (-d 99 -dt) has been enabled on FD and SD and shows :
> FD :
> 25-mars-2013 20:43:28 127.0.0.1-fd: cram-md5.c:73-0 send: auth cram-md5
> <1671005128.1364240608@127.0.0.1-fd> ssl=0
> 25-mars-2013 20:43:28 127.0.0.1-fd: cram-md5.c:152-0 sending resp to
> challenge: n6A1g//3Y3Rp551zi+/V3A
> 25-mars-2013 20:45:23 127.0.0.1-fd: cram-md5.c:73-0 send: auth cram-md5
> <783764871.1364240723@127.0.0.1-fd> ssl=0
> 25-mars-2013 20:45:23 127.0.0.1-fd: cram-md5.c:152-0 sending resp to
> challenge: +xIuXS+ObG/kF8ZWtiIc7D
> 25-mars-2013 20:46:50 127.0.0.1-fd: cram-md5.c:73-0 send: auth cram-md5
> <817676241.1364240810@127.0.0.1-fd> ssl=0
> 25-mars-2013 20:46:50 127.0.0.1-fd: cram-md5.c:152-0 sending resp to
> challenge: n7+zG5k9K60pZ/pNXG+lAB
> 25-mars-2013 20:46:51 127.0.0.1-fd: cram-md5.c:152-38 sending resp to
> challenge: 8+4K0S/3O/9lG5+lB9wmKB
> 25-mars-2013 20:46:51 127.0.0.1-fd: cram-md5.c:80-38 send: auth cram-md5
> <868595135.1364240811@127.0.0.1-fd> ssl=0
> 25-mars-2013 20:46:51 127.0.0.1-fd: cram-md5.c:99-38 Authenticate OK
> mjZjqzckW99/X++fn6+C1D
> 25-mars-2013 20:47:18 127.0.0.1-fd: cram-md5.c:73-0 send: auth cram-md5
> <1676509308.1364240838@127.0.0.1-fd> ssl=0
> 25-mars-2013 20:47:18 127.0.0.1-fd: cram-md5.c:152-0 sending resp to
> challenge: EkJV79/BX//3V+Ecyi/BkD
> 25-mars-2013 20:49:13 127.0.0.1-fd: cram-md5.c:73-0 send: auth cram-md5
> <1557604326.1364240953@127.0.0.1-fd> ssl=0
> 25-mars-2013 20:49:13 127.0.0.1-fd: cram-md5.c:152-0 sending resp to
> challenge: 55+5Q+/qvh+yKk/ID+lvxA
>
> SD :
> 25-mars-2013 20:37:44 127.0.0.1-sd: cram-md5.c:73-0 send: auth cram-md5
> <67756834.1364240264@127.0.0.1-sd> ssl=0
> 25-mars-2013 20:37:44 127.0.0.1-sd: cram-md5.c:152-0 sending resp to
> challenge: j+stRB8R/FVUs7/qj6FbOD
> 25-mars-2013 20:37:44 127.0.0.1-sd: dircmd.c:211-0 Message channel init
> completed.
> 25-mars-2013 20:38:23 127.0.0.1-sd: block.c:788-37 *** Leave
> terminate_writing_volume -- OK
> 25-mars-2013 20:38:23 127.0.0.1-sd: device.c:125-37 set_unload
>
> Volume Label:
> Id: Bacula 1.0 immortal
> VerNo : 11
> VolName   : 127.0.0.1-dir-full-0151
> PrevVolName   :
> VolFile   : 0
> LabelType : PRE_LABEL
> LabelSize : 0
> PoolName  : Full-Pool
> MediaType : File
> PoolType  : Backup
> HostName  : ng371378
> Date label written: 25-mars-2013 20:38
>
> Volume Label:
> Id: Bacula 1.0 immortal
> VerNo : 11
> VolName   : 127.0.0.1-dir-full-0151
> PrevVolName   :
> VolFile   : 0
> LabelType : PRE_LABEL
> LabelSize : 0
> PoolName  : Full-Pool
> MediaType : 

[Bacula-users] Broken Pipe "network send error"

2013-03-26 Thread le dahut
Hi,

I have :
* Bacula 5.0.1-1ubuntu1
* Ubuntu 10.04

Sometimes, not always, I get this error :
  25-Mar 20:46 127.0.0.1-fd JobId 210: Fatal error: backup.c:1019 
Network send error to SD. ERR=Broken pipe


Any idea ?


Debug (-d 99 -dt) has been enabled on FD and SD and shows :
FD :
25-mars-2013 20:43:28 127.0.0.1-fd: cram-md5.c:73-0 send: auth cram-md5 
<1671005128.1364240608@127.0.0.1-fd> ssl=0
25-mars-2013 20:43:28 127.0.0.1-fd: cram-md5.c:152-0 sending resp to 
challenge: n6A1g//3Y3Rp551zi+/V3A
25-mars-2013 20:45:23 127.0.0.1-fd: cram-md5.c:73-0 send: auth cram-md5 
<783764871.1364240723@127.0.0.1-fd> ssl=0
25-mars-2013 20:45:23 127.0.0.1-fd: cram-md5.c:152-0 sending resp to 
challenge: +xIuXS+ObG/kF8ZWtiIc7D
25-mars-2013 20:46:50 127.0.0.1-fd: cram-md5.c:73-0 send: auth cram-md5 
<817676241.1364240810@127.0.0.1-fd> ssl=0
25-mars-2013 20:46:50 127.0.0.1-fd: cram-md5.c:152-0 sending resp to 
challenge: n7+zG5k9K60pZ/pNXG+lAB
25-mars-2013 20:46:51 127.0.0.1-fd: cram-md5.c:152-38 sending resp to 
challenge: 8+4K0S/3O/9lG5+lB9wmKB
25-mars-2013 20:46:51 127.0.0.1-fd: cram-md5.c:80-38 send: auth cram-md5 
<868595135.1364240811@127.0.0.1-fd> ssl=0
25-mars-2013 20:46:51 127.0.0.1-fd: cram-md5.c:99-38 Authenticate OK 
mjZjqzckW99/X++fn6+C1D
25-mars-2013 20:47:18 127.0.0.1-fd: cram-md5.c:73-0 send: auth cram-md5 
<1676509308.1364240838@127.0.0.1-fd> ssl=0
25-mars-2013 20:47:18 127.0.0.1-fd: cram-md5.c:152-0 sending resp to 
challenge: EkJV79/BX//3V+Ecyi/BkD
25-mars-2013 20:49:13 127.0.0.1-fd: cram-md5.c:73-0 send: auth cram-md5 
<1557604326.1364240953@127.0.0.1-fd> ssl=0
25-mars-2013 20:49:13 127.0.0.1-fd: cram-md5.c:152-0 sending resp to 
challenge: 55+5Q+/qvh+yKk/ID+lvxA

SD :
25-mars-2013 20:37:44 127.0.0.1-sd: cram-md5.c:73-0 send: auth cram-md5 
<67756834.1364240264@127.0.0.1-sd> ssl=0
25-mars-2013 20:37:44 127.0.0.1-sd: cram-md5.c:152-0 sending resp to 
challenge: j+stRB8R/FVUs7/qj6FbOD
25-mars-2013 20:37:44 127.0.0.1-sd: dircmd.c:211-0 Message channel init 
completed.
25-mars-2013 20:38:23 127.0.0.1-sd: block.c:788-37 *** Leave 
terminate_writing_volume -- OK
25-mars-2013 20:38:23 127.0.0.1-sd: device.c:125-37 set_unload

Volume Label:
Id: Bacula 1.0 immortal
VerNo : 11
VolName   : 127.0.0.1-dir-full-0151
PrevVolName   :
VolFile   : 0
LabelType : PRE_LABEL
LabelSize : 0
PoolName  : Full-Pool
MediaType : File
PoolType  : Backup
HostName  : ng371378
Date label written: 25-mars-2013 20:38

Volume Label:
Id: Bacula 1.0 immortal
VerNo : 11
VolName   : 127.0.0.1-dir-full-0151
PrevVolName   :
VolFile   : 0
LabelType : PRE_LABEL
LabelSize : 0
PoolName  : Full-Pool
MediaType : File
PoolType  : Backup
HostName  : ng371378
Date label written: 25-mars-2013 20:38

Volume Label:
Id: Bacula 1.0 immortal
VerNo : 11
VolName   : 127.0.0.1-dir-full-0151
PrevVolName   :
VolFile   : 0
LabelType : PRE_LABEL
LabelSize : 181
PoolName  : Full-Pool
MediaType : File
PoolType  : Backup
HostName  : ng371378
Date label written: 25-mars-2013 20:38
25-mars-2013 20:38:24 127.0.0.1-sd: device.c:133-37 must_unload=0
25-mars-2013 20:39:38 127.0.0.1-sd: cram-md5.c:73-0 send: auth cram-md5 
<1028214411.1364240378@127.0.0.1-sd> ssl=0
25-mars-2013 20:39:38 127.0.0.1-sd: cram-md5.c:152-0 sending resp to 
challenge: 6B/qhC/ZyghPDjURZ3+KrC
25-mars-2013 20:39:38 127.0.0.1-sd: dircmd.c:211-0 Message channel init 
completed.
25-mars-2013 20:41:33 127.0.0.1-sd: cram-md5.c:73-0 send: auth cram-md5 
<1607966024.1364240493@127.0.0.1-sd> ssl=0
25-mars-2013 20:41:33 127.0.0.1-sd: cram-md5.c:152-0 sending resp to 
challenge: iX+Z80/F2l/0f61re6/DUB
25-mars-2013 20:41:33 127.0.0.1-sd: dircmd.c:211-0 Message channel init 
completed.
25-mars-2013 20:43:28 127.0.0.1-sd: cram-md5.c:73-0 send: auth cram-md5 
<1118591179.1364240608@127.0.0.1-sd> ssl=0
25-mars-2013 20:43:28 127.0.0.1-sd: cram-md5.c:152-0 sending resp to 
challenge: Q7/1I8+LO++bK7+4MQ/IGD
25-mars-2013 20:43:28 127.0.0.1-sd: dircmd.c:211-0 Message channel init 
completed.
25-mars-2013 20:45:23 127.0.0.1-sd: cram-md5.c:73-0 send: auth cram-md5 
<362267873.1364240723@127.0.0.1-sd> ssl=0
25-mars-2013 20:45:23 127.0.0.1-sd: cram-md5.c:152-0 sending resp to 
challenge: J+90J5tLb5+tJihH15/gLA
25-mars-2013 20:45:23 127.0.0.1-sd: dircmd.c:211-0 Message channel init 
completed.
25-mars-2013 20:46:04 127.0.0.1-sd: block.c:788-37 *** Leave 
terminate_writing_volume -- OK
25-mars-2013 20:46:04 127.0.0.1-sd: device.c:125-37 set_unload
Orphaned buffer:  127.0.0.1-sd272 bytes buf=857d358 allocated at 
../lib/mem_pool.h:93
Orphaned buffer:  127.0.0.1-sd   1040 bytes buf=857d920 allocated at 
../lib/berrno.h:77
Orphaned buffer:  127.0.0.1-sd272 bytes buf=857ca60 allocated at 
bpipe.c:82
Orphaned buffer:  127.0.0.1-sd   1040 by

Re: [Bacula-users] Problem with acl

2011-04-28 Thread le dahut

On 27/04/2011 18:08, Martin Simmons wrote :
>>>>>> On Wed, 27 Apr 2011 17:26:45 +0200, le dahut said:
>>
>> On 15/04/2011 16:12, Bruno Friedmann wrote :
>>> On 04/15/2011 03:10 PM, laurent flori wrote:
>>>> Le jeudi 14 avril 2011 à 20:19 +0200, Bruno Friedmann a écrit :
>>>>> On 04/14/2011 02:57 PM, laurent flori wrote:
>>>>>> Hello,
>>>>>>
>>>>>> We are using bacula for system and datas backup for all our modules here
>>>>>> and we have problems for restoring acls. Even with these stanzas in the
>>>>>> configuration file, no acls are restored.
>>>>>> We have this in our config file:
>>>>>>
>>>>>> Include {
>>>>>> Options {
>>>>>>   aclsupport = yes
>>>>>>   xattrsupport = yes
>>>>>>   @/etc/bacula/include-options.conf
>>>>>> }
>>>>>>
>>>>>> We are using bacula version 5.0.1 in ubuntu.
>>>>>>
>>>>>> Are we missing something ?
>>>>>>
>>>>>> Thanks in advance for any clue about this problem.
>>>>>>
>>>>>> Cordially
>>>>>> Laurent Flori
>>>>>> EOLE Team
>>>>>> http://eole.orion.education.fr/
>>>>>>
>>>>>>
>>>>>
>>>>> Just be sure where you restore is mounted by a filesystem with acl enable
>>>>>
>>>>> a mount command should show for ext3/4 fs a acl,user_xattr option
>>>>> xfs is native, and also latest btrfs build.
>>>>>
>>>>>
>>>> Yes the filesystem where we restore have acl and user_xattr enabled but
>>>> even with these options, no acl are restored.
>>>>
>>>>
>>> So in that case did the acl exist in source ?
>>> What's the output of a subset of backuped folders from
>>> getfacl -R -n *
>>>
>>> Other stupid question, if bacula is compiled from source did you check if 
>>> you have enabled acl/xattr, and have corresponding
>>> -devel package installed, otherwise you wouldn't get them inside bacula.
>>>
>>> As you see a bit more information about bacula, distribution, environnment 
>>> etc would help to solve your trouble.
>>>
>>> Here acl works from 1.3x series without any glitches ;-)
>>
>>
>> I've made some tests and ACLs are not backuped/restored if there are
>> multiple "Options" entries in an "Include" entrie.
>>
>> Example #1 of configuration where acls are NOT saved/restored :
>> Include {
>> Options {
>>   aclsupport = yes
>>   xattrsupport = yes
>>   @/etc/bacula/include-options.conf
>> }
>> Options {
>>   wildfile = "*/.virus:*"
>>   wildfile = "*/.scanned:*"
>>   exclude = yes
>> }
>> File = /home
>> }
>
> You need to swap the two Options clauses to make it work (search for "the last
> Options resource" in the documentation to see why).

Ok ! that's why ...
After some tests, it seems to work.


>> Example #2 of configuration where acls are CORRECTLY saved/restored :
>> Include {
>> Options {
>>   aclsupport = yes
>>   xattrsupport = yes
>>   @/etc/bacula/include-options.conf
>>   wildfile = "*/.virus:*"
>>   wildfile = "*/.scanned:*"
>>   exclude = yes
>> }
>> File = /home
>> }
>
> I think this combination is horrible, because it looks like it adds options to
> files that will be excluded :-)

But it isn't the case, it really saves/restores ACLs for included files 
:-) (just for people who will read this post in the future)


>> But the official documentation explains that example #1 should work :
>> http://www.bacula.org/manuals/en/install/install/Configuring_Director.html#SECTION0068
>
> The examples are different from your case because they use multiple Include
> clauses, not multiple Options clauses.

There is one :
"""
[...]
To accomplish what we want, we must explicitly exclude all other files. 
We do this with the following:

FileSet {
   Name = "Full Set"
   Include {
  Options {
 wildfile = "*.Z"
 wildfile = "*.gz"
  }
  Options {
 Exclude = yes
 RegexFile = ".*"
  }
  File = /myfile
   }
}
[...]
"""

>
> __Martin

Thank you for those clarifications.



--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with acl

2011-04-27 Thread le dahut



On 15/04/2011 16:12, Bruno Friedmann wrote :
> On 04/15/2011 03:10 PM, laurent flori wrote:
>> Le jeudi 14 avril 2011 à 20:19 +0200, Bruno Friedmann a écrit :
>>> On 04/14/2011 02:57 PM, laurent flori wrote:
 Hello,

 We are using bacula for system and datas backup for all our modules here
 and we have problems for restoring acls. Even with these stanzas in the
 configuration file, no acls are restored.
 We have this in our config file:

 Include {
Options {
  aclsupport = yes
  xattrsupport = yes
  @/etc/bacula/include-options.conf
}

 We are using bacula version 5.0.1 in ubuntu.

 Are we missing something ?

 Thanks in advance for any clue about this problem.

 Cordially
 Laurent Flori
 EOLE Team
 http://eole.orion.education.fr/


>>>
>>> Just be sure where you restore is mounted by a filesystem with acl enable
>>>
>>> a mount command should show for ext3/4 fs a acl,user_xattr option
>>> xfs is native, and also latest btrfs build.
>>>
>>>
>> Yes the filesystem where we restore have acl and user_xattr enabled but
>> even with these options, no acl are restored.
>>
>>
> So in that case did the acl exist in source ?
> What's the output of a subset of backuped folders from
> getfacl -R -n *
>
> Other stupid question, if bacula is compiled from source did you check if you 
> have enabled acl/xattr, and have corresponding
> -devel package installed, otherwise you wouldn't get them inside bacula.
>
> As you see a bit more information about bacula, distribution, environnment 
> etc would help to solve your trouble.
>
> Here acl works from 1.3x series without any glitches ;-)


I've made some tests and ACLs are not backuped/restored if there are 
multiple "Options" entries in an "Include" entrie.

Example #1 of configuration where acls are NOT saved/restored :
Include {
   Options {
 aclsupport = yes
 xattrsupport = yes
 @/etc/bacula/include-options.conf
   }
   Options {
 wildfile = "*/.virus:*"
 wildfile = "*/.scanned:*"
 exclude = yes
   }
   File = /home
}


Example #2 of configuration where acls are CORRECTLY saved/restored :
Include {
   Options {
 aclsupport = yes
 xattrsupport = yes
 @/etc/bacula/include-options.conf
 wildfile = "*/.virus:*"
 wildfile = "*/.scanned:*"
 exclude = yes
   }
   File = /home
}


But the official documentation explains that example #1 should work :
http://www.bacula.org/manuals/en/install/install/Configuring_Director.html#SECTION0068


I've made my tests with following :
* always used the same directory to save (where 'getfacl' shows some 
acls of course)
* always used the same directory to restore (some successful tests prove 
that this directory is on a filesystem that supports acls)
* at every configuration change, I've deleted and re-created bacula 
sqlite3 catalog and deleted existing backup volumes on backup

This bug appeared between bacula 3.0.1 and bacula 3.0.3.

Bacula version is 5.0.1 (5.0.1-1ubuntu1)
Ubuntu version is 10.04 LTS

Hope this helps.


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-dir 3.0.3 dies on second job run or manual reload.

2010-02-24 Thread le dahut

Hello,

Janusz Syrytczyk wrote :

On Monday 14 December 2009 09:27:40 Bruno Friedmann wrote:

On 12/09/2009 12:11 AM, Janusz Syrytczyk wrote:

Hi,

I've upgraded to 3.0.3  from 3.0.2 a while ago and I'm facing serious
problems with bacula-dir stability.

Just after its start,  Director is able to perform any request I have
(perform a backup, restore, reload etc.). But once I've got the task
done, Director stops listening me - the second job is not starting when
requested. Then bconsole stops, I have to exit ctrl+c, but reissuing
bconsle and here typing status dir gives that the backup is running.

The problem is that the backup is not running. Director keeps it almost
fully silent. When I try to reload through bconsole, I'm experiencing
Director going like zombie - cannot connect. Debugging gives only this:

atom-dir: bnet.c:670-0 who=client host=192.168.1.150 port=36131

What's interesting, when I leave the Director alone it works OK, it
schedules backups and performs them. I had previously suspected that
something is wrong with scheduler as on before this troubleshooting I
couldn't even get the Director scheduling, but since few days it goes
right.

This is the same issue as the guy here, but he hasn't found a clue:

http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg38279.h
tml

I've just moved backups and database, recompiled Bacula, recreated the
database and started backups  but the same history goes. What this could
be, anyone?

Don't know if it's your case.

We have same trouble here with dir hanging after having run the first job.
I've restart it with -d100 just to check what's happen.
In the meantime, on the bacula server (which has been upgraded from
 opensuse 11.1 to 11.2 ) I have found that postfix is throttling ... (
 missing relay.db file in /etc/postfix : issue a postmap relay and restart
 postfix ) After that all emails are working.

As inside my dir-config message bsmtp are connected to the internal
 postfix, bsmtp was hanging ! And perharps bacula-dir too.

I've now running three scheduled jobs, and bacula-dir have done it's jobs.

What I suspect is : there's no bsmtp timeout ( if it could not connect it
 return, but if it connect and nothing goes right in postfix (the
 throttling case) it wait indefinitely and also the director 

I will leave this configuration running 2 to 3 days just to be sure it was
 that.

In the meantime, if you can check on your side, if you get some trouble
 with bstmp to infirm or confirm.


True, I've verified this too.

bsmtp goes zombie and bacula-dir waits on it. Solution is to usea another app 
for sending email or drop email notifications at all.


I wonder if its not a candidate to bug report?


Did you report the bug ?

I encounter the same problem with bacula-3.0.3, bsmtp goes zombie when 
it prints output (i.e. when it prints an error). I tested to call a bash 
script that simply does 'echo hello' and it goes zombie too so the 
problem seems to be bacula-dir, not bsmtp.


I've attached a script that disables any output from bsmtp. Call it with 
the same args as bsmtp. The -dt argument is not supported since it is 
not optparse compatible.





sendmsg.tgz
Description: application/compressed
--
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] bconsole cannot connect director

2010-01-28 Thread le dahut
I have exactly the same :
* vmware ESXi
* Intel 64bit processor
* bacula 3.0.3 from official sources, without any patch

but I'm running Hardy/8.04.

Did you build something else on your server or is everything out of the 
box from Ubuntu ?


I tested Mandriva X64, bacula seems to work well.

I really don't know what's happening.


mehma sarja wrote :
> I built 3.0.3 myself with no changes to source code. I am using 
> postgresql which I installed using a binary file - the Ubuntu install 
> would not run right. 
> 
> Now to the question of amd vs intel. The processor is Intel 64 bit, I 
> think that's called amd64. I am on a Vmware esxi VM (Ubuntu 64 bit 9.0.4)
> 
> Mehma
> ===
> 
> On Wed, Jan 27, 2010 at 9:21 AM, le dahut  <mailto:le.da...@laposte.net>> wrote:
> 
> A last question, are you sure that you're running a Ubuntu amd64
> version and not just a x86 version on a 64bit hardware ?
> 
> 
> mehma sarja wrote :
> 
> I run dir and sd on ubuntu 9.0.4 amd64 using bacula 3.0.3 - no
>     problems.
> Mehma
> ===
> 
> On Wed, Jan 27, 2010 at 3:12 AM, le dahut  <mailto:le.da...@laposte.net> <mailto:le.da...@laposte.net
>     <mailto:le.da...@laposte.net>>> wrote:
> 
> 
> 
>le dahut wrote :
> >
> > le dahut wrote :
> >> Hello,
> >>
> >> I'm using bacula 3.0.3 on Ubuntu Hardy and I have a
> strange problem.
> >>
> >> I cannot connect bacula-dir with bconsole.
> >>
> >
> > I've some additional informations :
> > * all iptables rules are flushed/erased, all policies are
> on ACCEPT
> > * hosts.allow and hosts.deny are OK
> > * bacula-dir and bconsole are running on the same machine
> (as it
>appears
> > with 127.0.0.1 in the debug log)
> >
> > With 'strace bconsole' the end of the debug is :
> > """
> > socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
> > setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
> > connect(3, {sa_family=AF_INET, sin_port=htons(9101),
> > sin_addr=inet_addr("127.0.0.1")}, 16) = 0
> > setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
> > futex(0x7f695e5da584, 0x85 /* FUTEX_??? */, 1) = 1
> > futex(0x7f695e5da540, 0x81 /* FUTEX_??? */, 1) = 1
> > nanosleep({0, 10}, NULL)= 0
> > futex(0x7f695e5da584, 0x85 /* FUTEX_??? */, 1) = 1
> > futex(0x7f695e5da540, 0x81 /* FUTEX_??? */, 1) = 1
> > nanosleep({0, 10}, NULL)= 0
> > write(3, "\0\0\0\32Hello *UserAgent* calling\n", 30) = 30
> > read(3,
> > """
> > and then nothing else, bconsole seems to wait for
> bacula-dir to
>answer
> 
> 
>This bug occurs on amd64 only. Bacula on X86 runs well.
> 
> 
>* The connection with bconsole to an amd64 DIRECTOR is impossible
> 
>* The connection from a x86 DIRECTOR to an amd64 SD fails
> with "bad
>password" (but the password are the same, the same conf file
> runs on
>x86)
> 
>* The connection from a x86 DIRECTOR to as amd64 FD is OK =>
> I can
>backup if DIR and SD are on x86 and FD on amd64.
> 
> 
>Did someone test bacula on amd64 ?
>On Ubuntu/amd64 ? If yes, which version ?
> 
> 
> 

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole cannot connect director

2010-01-27 Thread le dahut


le dahut wrote :
> 
> le dahut wrote :
>> Hello,
>>
>> I'm using bacula 3.0.3 on Ubuntu Hardy and I have a strange problem.
>>
>> I cannot connect bacula-dir with bconsole.
>>
> 
> I've some additional informations :
> * all iptables rules are flushed/erased, all policies are on ACCEPT
> * hosts.allow and hosts.deny are OK
> * bacula-dir and bconsole are running on the same machine (as it appears 
> with 127.0.0.1 in the debug log)
> 
> With 'strace bconsole' the end of the debug is :
> """
> socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
> setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
> connect(3, {sa_family=AF_INET, sin_port=htons(9101), 
> sin_addr=inet_addr("127.0.0.1")}, 16) = 0
> setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
> futex(0x7f695e5da584, 0x85 /* FUTEX_??? */, 1) = 1
> futex(0x7f695e5da540, 0x81 /* FUTEX_??? */, 1) = 1
> nanosleep({0, 10}, NULL)= 0
> futex(0x7f695e5da584, 0x85 /* FUTEX_??? */, 1) = 1
> futex(0x7f695e5da540, 0x81 /* FUTEX_??? */, 1) = 1
> nanosleep({0, 10}, NULL)= 0
> write(3, "\0\0\0\32Hello *UserAgent* calling\n", 30) = 30
> read(3,
> """
> and then nothing else, bconsole seems to wait for bacula-dir to answer


This bug occurs on amd64 only. Bacula on X86 runs well.


* The connection with bconsole to an amd64 DIRECTOR is impossible

* The connection from a x86 DIRECTOR to an amd64 SD fails with "bad 
password" (but the password are the same, the same conf file runs on x86)

* The connection from a x86 DIRECTOR to as amd64 FD is OK => I can 
backup if DIR and SD are on x86 and FD on amd64.


Did someone test bacula on amd64 ?
On Ubuntu/amd64 ? If yes, which version ?



--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole cannot connect director

2010-01-26 Thread le dahut

le dahut wrote :
> Hello,
> 
> I'm using bacula 3.0.3 on Ubuntu Hardy and I have a strange problem.
> 
> I cannot connect bacula-dir with bconsole.
> 
> * bconsole and director passwords are the same
> * bacula-dir has a new catalog
> * port 9101 is listening
> 
> 
> when I execute 'bacula-dir -d 999 -v -f' and 'bconsole -d 999' I get :
> * in bacula-dir debug output :
>   127.0.0.1-dir: bnet.c:670-0 who=client host=127.0.0.1 port=36131
> 
> * in bconsole debug output :
>   ...
>   26-jan-2010 12:30:11 bconsole: parse_conf.c:962-0 T_EOB => define new 
> resource
> 26-jan-2010 12:30:11 bconsole: parse_conf.c:888-0 parse state=0 pass=2 
> got token=T_EOL
> No record for 1001 console
> Director: name=127.0.0.1-dir address=127.0.0.1 DIRport=9101
> 26-jan-2010 12:30:11 bconsole: parse_conf.c:996-0 Leave parse_config()
> Connexion au Director 127.0.0.1:9101
> 26-jan-2010 12:30:11 bconsole: watchdog.c:78-0 Initialising NicB-hacked 
> watchdog thread
> 26-jan-2010 12:30:11 bconsole: watchdog.c:250-0 NicB-reworked watchdog 
> thread entered
> 26-jan-2010 12:30:11 bconsole: watchdog.c:193-0 Registered watchdog 
> 655d68, interval 15 one shot
> 26-jan-2010 12:30:11 bconsole: btimers.c:155-0 Start thread timer 655cf8 
> tid 7fe2ed0e06f0 for 15 secs.
> 26-jan-2010 12:30:11 bconsole: bsock.c:221-0 Current 
> host[ipv4:127.0.0.1:9101] All host[ipv4:127.0.0.1:9101]
> 26-jan-2010 12:30:11 bconsole: bsock.c:155-0 who=Director daemon 
> host=127.0.0.1 port=9101
> 26-jan-2010 12:30:11 bconsole: btimers.c:212-0 Stop thread timer 655cf8 
> tid=7fe2ed0e06f0.
> 26-jan-2010 12:30:11 bconsole: watchdog.c:213-0 Unregistered watchdog 655d68
> 26-jan-2010 12:30:11 bconsole: watchdog.c:193-0 Registered watchdog 
> 655cf8, interval 300 one shot
> 26-jan-2010 12:30:11 bconsole: btimers.c:184-0 Start bsock timer 656008 
> tid=7fe2ed0e06f0 for 300 secs at 1264505411
> 
> and here it freezes.
> 
> There is nothing about bacula or bconsole in "/var/log* -r".

I've some additional informations :
* all iptables rules are flushed/erased, all policies are on ACCEPT
* hosts.allow and hosts.deny are OK
* bacula-dir and bconsole are running on the same machine (as it appears 
with 127.0.0.1 in the debug log)

With 'strace bconsole' the end of the debug is :
"""
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
connect(3, {sa_family=AF_INET, sin_port=htons(9101), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
futex(0x7f695e5da584, 0x85 /* FUTEX_??? */, 1) = 1
futex(0x7f695e5da540, 0x81 /* FUTEX_??? */, 1) = 1
nanosleep({0, 10}, NULL)= 0
futex(0x7f695e5da584, 0x85 /* FUTEX_??? */, 1) = 1
futex(0x7f695e5da540, 0x81 /* FUTEX_??? */, 1) = 1
nanosleep({0, 10}, NULL)= 0
write(3, "\0\0\0\32Hello *UserAgent* calling\n", 30) = 30
read(3,
"""
and then nothing else, bconsole seems to wait for bacula-dir to answer


but 'tcpdump' shows that bacula-dir is the last to answer, here is the 
complete log for an execution of bconsole :
"""
16:09:17.435756 IP 127.0.0.1.53054 > 127.0.0.1.9101: F 
3289592864:3289592864(0) ack 3302469973 win 257
16:09:17.476094 IP 127.0.0.1.9101 > 127.0.0.1.53054: . ack 1 win 257
16:09:18.585127 IP 127.0.0.1.53055 > 127.0.0.1.9101: S 
3970700469:3970700469(0) win 32792 
16:09:18.585154 IP 127.0.0.1.9101 > 127.0.0.1.53055: S 
3973170139:3973170139(0) ack 3970700470 win 32792 
16:09:18.585170 IP 127.0.0.1.53055 > 127.0.0.1.9101: . ack 1 win 257
16:09:18.585681 IP 127.0.0.1.53055 > 127.0.0.1.9101: P 1:31(30) ack 1 
win 257
16:09:18.585704 IP 127.0.0.1.9101 > 127.0.0.1.53055: . ack 31 win 257
"""


I don't know what to do else. If someone has any idea, he is welcome.


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bconsole cannot connect director

2010-01-26 Thread le dahut
Hello,

I'm using bacula 3.0.3 on Ubuntu Hardy and I have a strange problem.

I cannot connect bacula-dir with bconsole.

* bconsole and director passwords are the same
* bacula-dir has a new catalog
* port 9101 is listening


when I execute 'bacula-dir -d 999 -v -f' and 'bconsole -d 999' I get :
* in bacula-dir debug output :
  127.0.0.1-dir: bnet.c:670-0 who=client host=127.0.0.1 port=36131

* in bconsole debug output :
  ...
  26-jan-2010 12:30:11 bconsole: parse_conf.c:962-0 T_EOB => define new 
resource
26-jan-2010 12:30:11 bconsole: parse_conf.c:888-0 parse state=0 pass=2 
got token=T_EOL
No record for 1001 console
Director: name=127.0.0.1-dir address=127.0.0.1 DIRport=9101
26-jan-2010 12:30:11 bconsole: parse_conf.c:996-0 Leave parse_config()
Connexion au Director 127.0.0.1:9101
26-jan-2010 12:30:11 bconsole: watchdog.c:78-0 Initialising NicB-hacked 
watchdog thread
26-jan-2010 12:30:11 bconsole: watchdog.c:250-0 NicB-reworked watchdog 
thread entered
26-jan-2010 12:30:11 bconsole: watchdog.c:193-0 Registered watchdog 
655d68, interval 15 one shot
26-jan-2010 12:30:11 bconsole: btimers.c:155-0 Start thread timer 655cf8 
tid 7fe2ed0e06f0 for 15 secs.
26-jan-2010 12:30:11 bconsole: bsock.c:221-0 Current 
host[ipv4:127.0.0.1:9101] All host[ipv4:127.0.0.1:9101]
26-jan-2010 12:30:11 bconsole: bsock.c:155-0 who=Director daemon 
host=127.0.0.1 port=9101
26-jan-2010 12:30:11 bconsole: btimers.c:212-0 Stop thread timer 655cf8 
tid=7fe2ed0e06f0.
26-jan-2010 12:30:11 bconsole: watchdog.c:213-0 Unregistered watchdog 655d68
26-jan-2010 12:30:11 bconsole: watchdog.c:193-0 Registered watchdog 
655cf8, interval 300 one shot
26-jan-2010 12:30:11 bconsole: btimers.c:184-0 Start bsock timer 656008 
tid=7fe2ed0e06f0 for 300 secs at 1264505411

and here it freezes.

There is nothing about bacula or bconsole in "/var/log* -r".


Any idea ?


K.


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] test communication between dir, fd and sd

2009-10-30 Thread le dahut
Hello,

How I can test the communication between bacula-director and fd and sd ?
This without doing a backup or a restore, just connect and disconnect.

I've searched on internet for "test communication site:bacula.org" 
without success.


K.


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Unchanged files still saved in incremental backup

2009-10-05 Thread le dahut
The problem occurred after a while, here's an history that illustrates 
what's happening :

09/14:
Backup Level:   Full
FD Files Written:   6,489

on 09/15 and 09/16:
Backup Level:   Incremental, since=2009-09-15 23:00:15
FD Files Written:   50

09/17:
Backup Level:   Incremental, since=2009-09-16 23:00:19
FD Files Written:   6,403



le dahut wrote :
> Hello,
> 
> I have some unchanged files that are saved in incremental backup.
> 
> I've joined a screenshot of BAT where :
> * all backup are selected
> * a file is selected
> as you can see the file has been saved by a Full backup and then by all 
> the Incremental backups while its HASH didn't change.
> 
> 
> Any idea about this ?
> 
> 
> Klaas
> 
> 
> 

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Lock file during backup/restore

2009-02-02 Thread le dahut
My question was more "is there any check other programs can do to know 
if a bacula jobs is running ?"
On the bacula-dir side ?
On the bacula-fd side ?

Thanks for your answer.


Kevin Keane wrote :
> No, that would be difficult to do because you can't simply say "ALL 
> other programs" need to be locked out. Some would have to stay running 
> just to keep the system going. If you are backing up things such as 
> databases or email systems, and are using snapshots, such a lockout 
> would defeat the purpose of the snapshot.
> 
> If you do have such a conflict, you will need to resolve it on a 
> case-by-case basis. Usually, the ClientRunBeforeJob and 
> ClientRunAfterJob scripts can be used for that purpose.
> 
> Restore doesn't need locks anyway because by default you are not 
> restoring to the same location where the file came from. Bacula expects 
> you to manually move it back in place - and shut down whatever program 
> may need to be shut down.
> 
> le dahut wrote:
>> Hello,
>>
>> Does bacula manage locks Before/After Backup/Restore ?
>>
>> The idea is :
>> * prevent other programs to run if a backup/restore is in process
>> * prevent bacula to run backup/restore if another program is running
>>
>> the second point could also be :
>> * make bacula backup/restore wait until another program has released its 
>> lock
>>
>>
>> K.T.
>>   
> 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Lock file during backup/restore

2009-01-30 Thread le dahut
Hello,

Does bacula manage locks Before/After Backup/Restore ?

The idea is :
* prevent other programs to run if a backup/restore is in process
* prevent bacula to run backup/restore if another program is running

the second point could also be :
* make bacula backup/restore wait until another program has released its 
lock


K.T.


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ACLs restore only

2008-10-15 Thread le dahut
Ok, thanks.

John Drescher wrote :
> On Wed, Oct 15, 2008 at 9:22 AM, le dahut <[EMAIL PROTECTED]> wrote:
>> Sorry for the multipost, my mail client has bugged...
>>
>> Is it possible to extract ACLs informations regardless of the output
>> format (which can be read by a script using 'setfacl') ?
>>
> You would have to restore the files somewhere to do this.
> 
> John
> 
> 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ACLs restore only

2008-10-15 Thread le dahut
Sorry for the multipost, my mail client has bugged...

Is it possible to extract ACLs informations regardless of the output 
format (which can be read by a script using 'setfacl') ?

John Drescher wrote :
> On Tue, Oct 14, 2008 at 5:23 AM, le dahut <[EMAIL PROTECTED]> wrote:
>> I re-ask my question, is there any way to restore only ACLs of files ?
>> Maybe is it possible to export the ACLs in a file that can then be used
>> by 'setfacl' ?
>>
> I do not think this is possible at the moment.
> 
> John
> 
> 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ACLs restore only

2008-10-14 Thread le dahut
I re-ask my question, is there any way to restore only ACLs of files ?
Maybe is it possible to export the ACLs in a file that can then be used 
by 'setfacl' ?

le dahut wrote :
> Hello,
> 
> Is it possible to restore only ACLs ?
> The files are there but with wrongs access parameters that I want to 
> correct by restoring only ACLs.
> 
> K.
> 
> 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] ACLs restore only

2008-10-09 Thread le dahut
Hello,

Is it possible to restore only ACLs ?
The files are there but with wrongs access parameters that I want to 
correct by restoring only ACLs.

K.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature Request : "unfile" command line argument

2008-02-25 Thread le dahut
Item 1: Adding "unfile" to unmark files on "restore all" cmd
Origin: Klaas [EMAIL PROTECTED]

Date:  February 25th 2008

Status:

What: Adding a command line argument to unmark files when doing a full 
restore with "restore all".

Why: When using command line to script the restoring of files, it is 
difficult to unmark files and very easy to make a mistake. For example 
to unmark only 2 files, you have to put this in command line :
"restore FileSet=Complete Client=127.0.0.1-fd select current all yes\ncd 
home\nsav\nunmark sauv_ldap.ldif\ncd /\ncd home\ncd sql_sav\nunmark 
sauv_mysql.sql\ndone\n3\n"
I'd like to permit users to unmark other files by putting them in a list 
and use this list with :
"unfiles= restore to type :
restore all
cd home/onedir/secdir/thirddir
...

you must type :
restore all
cd home
cd onedir
cd secdir
cd thirddir
...

which make it especially difficult to unmark files.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] files to unmark

2008-02-19 Thread le dahut
I use command line with bconsole like this :
echo -e "restore FileSet=Complete Client=127.0.0.1-fd select current yes 
file=/data/home/sauv_ldap.ldif done\n1\n"|bconsole -c 
/etc/bacula/bconsole.conf

or

echo -e "restore FileSet=Complete Client=127.0.0.1-fd select current all 
yes\ncd data\ncd home\nunmark sauv_ldap.ldif\ndone\n2\n"|bconsole -c 
/etc/bacula/bconsole.conf

I'd like to use something like :
echo -e "restore FileSet=Complete Client=127.0.0.1-fd select current all 
yes unfiles=/data/home/sauv_ldap.ldif done\n2\n"|bconsole -c 
/etc/bacula/bconsole.conf

In other configurations I have more than one file to unmark so I'd use :
unfiles= On Tue, 19 Feb 2008 17:33:46 +0200, le dahut <[EMAIL PROTECTED]> wrote:
> 
>> Hello,
>>
>> A remark concerning bconsole command line arguments.
>> Could it be possible to add an "unfile" argument which would act like
>> "file" but for files to unmark (to use with "restore all" for ex.) ?
>>
>>
> 
> 
> You can unmark files for restoring with unmark and unmarkdir.
> 
> unmark The unmark is identical to the mark command, except that it
>unmarks the speci?ed ?le or ?les so that they will not be restored.
>Note: the unmark command works from the current directory, so it
>does not unmark any ?les at a higher level. First do a cd / before the
>unmark * command if you want to unmark everything.
> 
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] files to unmark

2008-02-19 Thread le dahut
Hello,

A remark concerning bconsole command line arguments.
Could it be possible to add an "unfile" argument which would act like 
"file" but for files to unmark (to use with "restore all" for ex.) ?


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Transport endpoint is not connected

2008-02-13 Thread le dahut
During a restore, this happened but only on the very first file.

13-fév 14:42 127.0.0.1-dir JobId 10: BeforeJob: Stopping mailing list 
manager: sympa.
13-fév 14:42 127.0.0.1-dir JobId 10: Start Restore Job 
RestoreAll.2008-02-13_14.42.33
13-fév 14:42 127.0.0.1-dir JobId 10: Using Device "FileStorage"
127.0.0.1-fd JobId 10: drwxr-x---   2 root root  4096 
2008-02-08 09:32:11  /home/f/fanny.bedos/.ftp/
13-fév 14:42 127.0.0.1-fd JobId 10: Error: acl.c:224 acl_from_text error 
on file "/home/f/fanny.bedos/.ftp/": ERR=Noeud final de transport n'est 
pas connecté
127.0.0.1-fd JobId 10: drwxrwx---   2 fanny.be root  4096 
2008-02-08 09:32:11  /home/f/fanny.bedos/perso/prive/
127.0.0.1-fd JobId 10: drwxrwx---   3 fanny.be root  4096 
2008-02-08 09:32:11  /home/f/fanny.bedos/perso/
127.0.0.1-fd JobId 10: drwxrwx---   2 root root  4096 
2007-12-17 14:02:33  /home/f/fanny.bedos/profiles/
127.0.0.1-fd JobId 10: drwxrwx---   2 mail mail  4096 
2008-02-08 09:32:11  /home/f/fanny.bedos/MailDir/cur/



User "fanny.bedos" is in an ldap database. "slapd" has been restarted. 
I've tested slapd before restore, it was ok.

What's happening ?


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore from command line

2008-02-13 Thread le dahut
cat file.txt | bconsole -c /etc/bacula/bconsole.conf
seems to work. So I'll generate it using templates and file lists.

But is there a way to write it in a file included in 
/etc/bacula/bacula-dir.conf and then :
echo -e "reload\n" | bconsole
echo -e "restore myrestore\n" | bconsole
which seems cleaner for me ?


Rich a écrit :
> On 2008.02.13. 12:53, le dahut wrote:
>> but :
>> 'unmark /home/myfolder'
>> 'unmark home/myfolder'
>> don't work
> 
> that's unfortunate, if this is the latest version of bacula, it would be 
> a welcome improvement
> 
>> 'cd home'
>> 'unmark myfolder'
>> works
>>
>> so 'unmark $(cat file)' doesn't work (I've tested it to be sure and 
>> confirm).
> 
> you could try "cd home\nunmark whatever" in the included file - but 
> you'll probably have to be careful with quoting/escaping.
> creating such a file might be quite a hassle, so in that case a wrapper 
> script could take simple list and construct a file for inclusion (using 
> basename/dirname) - but that's a workaround for a workaround, so 
> bconsole taking full paths would be ven more welcome ;)
> ...

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore from command line

2008-02-13 Thread le dahut
but :
'unmark /home/myfolder'
'unmark home/myfolder'
don't work

'cd home'
'unmark myfolder'
works

so 'unmark $(cat file)' doesn't work (I've tested it to be sure and 
confirm).


Rich a écrit :
> unmark $(cat file) ?
> if i understood the question :)
> 
> On 2008.02.13. 12:14, le dahut wrote:
>> Hello,
>>
>> I'm launching 'restore' from command line with :
>> echo -e "restore all\n5\ncd var\ncd lib\nunmark 
>> ldap\ndone\n2\nyes\n"|bconsole -c /etc/bacula/bconsole.conf
>>
>> As you can see, I unmark some files, but I've more files to unmark and 
>> this way looks very ugly to me. Is there a way to specify all those 
>> arguments in a file and only launch one command in bconsole to run the 
>> restore job ?

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore from command line

2008-02-13 Thread le dahut
Hello,

I'm launching 'restore' from command line with :
echo -e "restore all\n5\ncd var\ncd lib\nunmark 
ldap\ndone\n2\nyes\n"|bconsole -c /etc/bacula/bconsole.conf

As you can see, I unmark some files, but I've more files to unmark and 
this way looks very ugly to me. Is there a way to specify all those 
arguments in a file and only launch one command in bconsole to run the 
restore job ?




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Concurrent jobs and priority

2008-02-12 Thread le dahut
Does this mean that the second job (the one with a higher priority 
number) will be "forgotten" ? or that it will be run once the first job 
has finished ?


Alan Brown a écrit :
> On Fri, 8 Feb 2008, le dahut wrote:
> 
>> I'll use priority, since both jobs must be based on the same schedule
>> included file.
> 
> If you use differing priorities, only one job will run at a time.
> 
> 
> 
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Concurrent jobs and priority

2008-02-08 Thread le dahut


Dan Langille a écrit :
> le dahut wrote:
>> Hello,
>>
>> I've a question about running 2 jobs at the same time.
>>
>> Here's my problem :
>> - a simple web interface lets users schedule a backup job
>> - this interface writes in "/etc/bacula/myschedule.conf" (which is 
>> included in bacula-dir.conf) and restarts bacula-dir
> 
> Instead of restarting, you could issue a reload command:
> 
> echo reload | bconsole
> 
>> - 2 types of jobs are defined, ServerDataBackup and CatalogBackup
>> - I want ServerDataBackup and CatalogBackup running both based on 
>> "/etc/bacula/myschedule.conf"
>> - I want also that my data being backuped before the catalog so that 
>> this last job appears in the catalog for a futur restore so 
>> ServerDataBackup must be run before CatalogBackup
>>
>> Can I solve this with priority ? with the order the jobs appear in 
>> bacula-dir.conf ? something else ?
> 
> Priority or time.  Either set them at different times or set them at the 
> same time with different priorities.

I'll use priority, since both jobs must be based on the same schedule 
included file.

> 
>>
>> Thanks.
>>
>>

Thanks for your quick answer.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Concurrent jobs and priority

2008-02-08 Thread le dahut
Hello,

I've a question about running 2 jobs at the same time.

Here's my problem :
- a simple web interface lets users schedule a backup job
- this interface writes in "/etc/bacula/myschedule.conf" (which is 
included in bacula-dir.conf) and restarts bacula-dir
- 2 types of jobs are defined, ServerDataBackup and CatalogBackup
- I want ServerDataBackup and CatalogBackup running both based on 
"/etc/bacula/myschedule.conf"
- I want also that my data being backuped before the catalog so that 
this last job appears in the catalog for a futur restore so 
ServerDataBackup must be run before CatalogBackup

Can I solve this with priority ? with the order the jobs appear in 
bacula-dir.conf ? something else ?

Thanks.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread le dahut
Here you can find it
http://eole.orion.education.fr/depot/listing.php?repname=Eole&path=%2FOutils%2Feole-bacula%2Ftrunk%2Fbacula%2F&rev=0&sc=0

take a look at baculaservice.sh which is a the script used to manage 
pre/post-backup/restore (services stop and start)


Frank Sweetser a écrit :
> le dahut wrote:
>> Let me explain it all again :
>>
>> - bacula-dir uses DirStartUp.py
>> - Dirstartup.py stop/starts services (samba, ldap, mysql) before/after 
>> backup
> 
> Can you post DirStartUp.py?
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread le dahut
Let me explain it all again :

- bacula-dir uses DirStartUp.py
- Dirstartup.py stop/starts services (samba, ldap, mysql) before/after 
backup
- sometimes on '/etc/init.d/bacula-dir restart' I get "Cannot bind port 
9101: ERR=Address already in use"

'netstat -anpe|grep 9101' shows that one of the stopped/started service 
by Dirstartup.py has taken the port 9101.

When I restart the service, let's say for example samba, the port is 
again available. Sometimes I have to restart several services because 
after I restarted samba, ldap ot another service (always one of those 
which are managed by DirStartUp.py) has taken the port.
And finally, I get port 9101 free and can restart bacula-dir.

As long as I don't do any backup, I can restart manually every service 
without any problem.

The file /etc/services is available here :
ftp://dev-eole.ac-dijon.fr/Dev/services
but I'm sure it is not the source of this problem.


Frank Sweetser a écrit :
> le dahut wrote:
>> It happens again during some quick test (several bacula-dir restart).
>>
>> I've written a DirStartUp.py that stops services before and starts them 
>> after backup. It seems that the services that take the bacula port are 
>> those which are stopped/started by DirStartUp.py.
> 
> Do the programs still exhibit the same behavior when started manually, rather
> than from within DirStartUp.py?
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread le dahut
It happens again during some quick test (several bacula-dir restart).

I've written a DirStartUp.py that stops services before and starts them 
after backup. It seems that the services that take the bacula port are 
those which are stopped/started by DirStartUp.py.

Hopping this can help.


le dahut wrote :
> Does someone see any error in my services file ?
> 
> le dahut wrote :
>> You can take a look at /etc/services here 
>> ftp://dev-eole.ac-dijon.fr/Dev/services
>>
>> Frank Sweetser a écrit :
>>> le dahut wrote:
>>>> Has I said (not directly I assume), it is not corrupted and indeed, many 
>>>> random processes take successively port 9101 and when I finally restart 
>>>> all the incriminated services, it ends on a bacula-dir process that 
>>>> seems not to have been properly killed/closed by the init script.
>>>>
>>>> So why do I get this very strange behavior ?
>>> Either a) every one of those programs has been configured to use 9101, 
>>> which I
>>> highly doubt, or b) when each one of those programs goes to look up its
>>> default port, it is always getting 9101.  Unless you have NIS configured on
>>> your system, the canonical source for service name to port number mappings 
>>> in
>>> /etc/services file.
>>>
>>> If you like, you could post your /etc/services file on a web site or
>>> pastebin.ca somewhere, and others could then take a look to see what hidden
>>> faults there might be.
>>>


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-10 Thread le dahut
Does someone see any error in my services file ?

le dahut wrote :
> You can take a look at /etc/services here 
> ftp://dev-eole.ac-dijon.fr/Dev/services
> 
> Frank Sweetser a écrit :
>> le dahut wrote:
>>> Has I said (not directly I assume), it is not corrupted and indeed, many 
>>> random processes take successively port 9101 and when I finally restart 
>>> all the incriminated services, it ends on a bacula-dir process that 
>>> seems not to have been properly killed/closed by the init script.
>>>
>>> So why do I get this very strange behavior ?
>> Either a) every one of those programs has been configured to use 9101, which 
>> I
>> highly doubt, or b) when each one of those programs goes to look up its
>> default port, it is always getting 9101.  Unless you have NIS configured on
>> your system, the canonical source for service name to port number mappings in
>> /etc/services file.
>>
>> If you like, you could post your /etc/services file on a web site or
>> pastebin.ca somewhere, and others could then take a look to see what hidden
>> faults there might be.
>>
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-09 Thread le dahut
You can take a look at /etc/services here 
ftp://dev-eole.ac-dijon.fr/Dev/services

Frank Sweetser a écrit :
> le dahut wrote:
>> Has I said (not directly I assume), it is not corrupted and indeed, many 
>> random processes take successively port 9101 and when I finally restart 
>> all the incriminated services, it ends on a bacula-dir process that 
>> seems not to have been properly killed/closed by the init script.
>>
>> So why do I get this very strange behavior ?
> 
> Either a) every one of those programs has been configured to use 9101, which I
> highly doubt, or b) when each one of those programs goes to look up its
> default port, it is always getting 9101.  Unless you have NIS configured on
> your system, the canonical source for service name to port number mappings in
> /etc/services file.
> 
> If you like, you could post your /etc/services file on a web site or
> pastebin.ca somewhere, and others could then take a look to see what hidden
> faults there might be.
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-07 Thread le dahut
Has I said (not directly I assume), it is not corrupted and indeed, many 
random processes take successively port 9101 and when I finally restart 
all the incriminated services, it ends on a bacula-dir process that 
seems not to have been properly killed/closed by the init script.

So why do I get this very strange behavior ?


Frank Sweetser a écrit :
> le dahut wrote:
>> No it is not the problem, when I restart ldap, it is Mysql that listens 
>> on 9101, when I restart Mysql, Sympa listens on 9101, when I restart 
>> Sympa, etc... finally I get to the process bacula-dir, and when I kill 
>> its PID, nothing listens on port 9101 any more and THEN I can restart 
>> bacula-dir and find a well working bacula-director.
>>
>> This appears on many servers.
>>
>> What's happening with port 9101 ?
> 
> As someone else said, you should definitely check the contents of
> /etc/services to see if the file has been corrupted.
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] port 9101 not closed after bacula-director stop

2008-01-07 Thread le dahut
No it is not the problem, when I restart ldap, it is Mysql that listens 
on 9101, when I restart Mysql, Sympa listens on 9101, when I restart 
Sympa, etc... finally I get to the process bacula-dir, and when I kill 
its PID, nothing listens on port 9101 any more and THEN I can restart 
bacula-dir and find a well working bacula-director.

This appears on many servers.

What's happening with port 9101 ?


Martin Simmons a écrit :
>>>>>> On Wed, 02 Jan 2008 15:23:09 +0100, le dahut said:
>> Hello,
>>
>> I wrote a few weeks ago about the error "Cannot bind port 9101".
>>
>> Here is an output from once I have stopped bacula-director using the 
>> standard inti scripts :
>>
>> And from :
>> [EMAIL PROTECTED]:~# netstat -anpee|grep 91
>> tcp0  0 0.0.0.0:91010.0.0.0:* LISTEN 0   
>>10165548   20136/slapd
> 
> That is bizare, slapd (presumably) is actually listening on that port.  Maybe
> your /etc/services is corrupted so all names map to 9101?  Or you get the
> services db from NIS etc and that is corrupt (check the "services" line in
> /etc/nsswitch.conf)?
> 
> __Martin
> 
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] port 9101 not closed after bacula-director stop

2008-01-02 Thread le dahut
Hello,

I wrote a few weeks ago about the error "Cannot bind port 9101".

Here is an output from once I have stopped bacula-director using the 
standard inti scripts :

[EMAIL PROTECTED]:~# netstat -n
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp0  0 10.121.58.5:45190   10.121.58.5:80 
TIME_WAIT
tcp0  0 127.0.0.1:389   127.0.0.1:43841 
ESTABLISHED
tcp0  0 10.121.58.5:50670   10.121.58.5:389 
TIME_WAIT
tcp0  0 127.0.0.1:389   127.0.0.1:43843 
ESTABLISHED
tcp0  0 10.121.58.5:34909   10.121.58.5:139 
TIME_WAIT
tcp0  0 127.0.0.1:389   127.0.0.1:43845 
ESTABLISHED
tcp1  0 127.0.0.1:57803 127.0.0.1:389 
CLOSE_WAIT
tcp0  0 127.0.0.1:41113 127.0.0.1:389 
ESTABLISHED
tcp0  0 127.0.0.1:41115 127.0.0.1:389 
ESTABLISHED
tcp0  0 10.121.58.5:139 10.21.58.10:34726 
ESTABLISHED
tcp0  0 10.121.58.5:53886   10.121.58.5:631 
TIME_WAIT
tcp0  0 127.0.0.1:389   127.0.0.1:43847 
ESTABLISHED
tcp1  0 127.0.0.1:49762 127.0.0.1:389 
CLOSE_WAIT
tcp1  0 127.0.0.1:49808 127.0.0.1:389 
CLOSE_WAIT
tcp0  0 127.0.0.1:389   127.0.0.1:43849 
ESTABLISHED
tcp   31  0 127.0.0.1:9101  127.0.0.1:44267 
CLOSE_WAIT
tcp1  0 127.0.0.1:36690 127.0.0.1:389 
CLOSE_WAIT
tcp1  0 127.0.0.1:36756 127.0.0.1:389 
CLOSE_WAIT
tcp1  0 127.0.0.1:51514 127.0.0.1:389 
CLOSE_WAIT
tcp0  0 127.0.0.1:43849 127.0.0.1:389 
ESTABLISHED
tcp0  0 127.0.0.1:43847 127.0.0.1:389 
ESTABLISHED
tcp0  0 127.0.0.1:43845 127.0.0.1:389 
ESTABLISHED
tcp0  0 127.0.0.1:43843 127.0.0.1:389 
ESTABLISHED
tcp0  0 127.0.0.1:43841 127.0.0.1:389 
ESTABLISHED
tcp1  0 127.0.0.1:43946 127.0.0.1:389 
CLOSE_WAIT
tcp1  0 127.0.0.1:43945 127.0.0.1:389 
CLOSE_WAIT
tcp1  0 127.0.0.1:43944 127.0.0.1:389 
CLOSE_WAIT
tcp1  0 127.0.0.1:43942 127.0.0.1:389 
CLOSE_WAIT
tcp1  0 127.0.0.1:43941 127.0.0.1:389 
CLOSE_WAIT
tcp   31  0 127.0.0.1:9101  127.0.0.1:44269 
CLOSE_WAIT
tcp0  0 127.0.0.1:389   127.0.0.1:45680 
ESTABLISHED
tcp1  0 127.0.0.1:54929 127.0.0.1:389 
CLOSE_WAIT
tcp1  0 127.0.0.1:54925 127.0.0.1:389 
CLOSE_WAIT
tcp0  0 10.121.58.5:33253   10.121.58.5:8501 
TIME_WAIT
tcp0  0 127.0.0.1:389   127.0.0.1:56468 
ESTABLISHED
tcp0  0 127.0.0.1:37823 127.0.0.1:389 
TIME_WAIT


And from :
[EMAIL PROTECTED]:~# netstat -anpee|grep 91
tcp0  0 0.0.0.0:91010.0.0.0:* 
LISTEN 0  10165548   20136/slapd
tcp0  0 0.0.0.0:91020.0.0.0:* 
LISTEN 0  10165570   20559/bacula-fd
tcp0  0 0.0.0.0:91030.0.0.0:* 
LISTEN 0  10165624   20589/bacula-sd
tcp   31  0 127.0.0.1:9101  127.0.0.1:44267 
CLOSE_WAIT 0  0  -
tcp   31  0 127.0.0.1:9101  127.0.0.1:44269 
CLOSE_WAIT 0  0  -
tcp0  0 10.121.58.5:47491   194.167.18.15:80 
TIME_WAIT  0  0  -
tcp6   0  0 :::143  :::* 
LISTEN 0  10164949   20291/couriertcpd
unix  3  [ ] STREAM CONNECTED 10164914 
3876/syslog-ng  /dev/log
unix  3  [ ] STREAM CONNECTED 10164913 
20264/courierlogger

[EMAIL PROTECTED]:~# /etc/init.d/slapd restart
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd.

[EMAIL PROTECTED]:~# netstat -anpee|grep 91
tcp0  0 0.0.0.0:91010.0.0.0:* 
LISTEN 0  10165548   20169/sh
tcp0  0 0.0.0.0:91020.0.0.0:* 
LISTEN 0  10165570   20559/bacula-fd
tcp0  0 0.0.0.0:91030.0.0.0:* 
LISTEN 0  10165624   20589/bacula-sd
tcp   31  0 127.0.0.1:9101  127.0.0.1:44267 
CLOSE_WAIT 0  0  -
tcp   31  0 127.0.0.1:9101  127.0.0.1:44269 
CLOSE_WAIT 0  0  -
tcp0  0 10.121.58.5:47491   194.167.18.15:80 
TIME_WAIT  0  0  -
tcp6   0  0 :::143  :::* 
LISTEN 0  10164949   20291/couriertcpd
unix  3  [ ] STREAM CONNECTED 10164914 
3876/syslog-ng  /dev/log
unix  3  [ ] STREAM CONNECTED 10164913 
20264/courierlogger

Every time another process takes the port 9101, after identifying them 
and restarting them, I finally get to a bacula-director process that 
seems not having been properly killed.
Since 

Re: [Bacula-users] Cannot bind port 9101

2007-12-04 Thread le dahut
It returns me this :
"""
[EMAIL PROTECTED]:~# sysctl net.ipv4.ip_local_port_range
net.ipv4.ip_local_port_range = 3276861000
"""

What do you mean with "you have configured the machine like that" ?


Martin Simmons a écrit :
>>>>>> On Mon, 03 Dec 2007 14:06:15 +0100, le dahut said:
>> Hello
>> I experience a problem on bacula 2.0.3 (Ubuntu) with the error message 
>> "Warning: Cannot bind port 9101: ERR=Address already in use.".
>> This message appear randomly after several days/weeks of good work. Once 
>> this appears, 'netstat -anpe' shows that for example smbd (it can be 
>> something else) uses the port 9101. After samba restart, slapd uses it, 
>> then mysql etc. I have to reboot the server for things returning in order.
>>
>> What's happening ?
> 
> Maybe you have configured the machine like that?  Try checking
> 
> sysctl net.ipv4.ip_local_port_range
> 
> __Martin
> 
> 

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot bind port 9101

2007-12-03 Thread le dahut
Bacula services (dir, fd, sd) are started at boot time and restarted 
using '/etc/init.d/bacula-X restart'.

I have a preexec job and a postexec job and I've found this 
http://osdir.com/ml/bacula.user/2003-10/msg00270.html
(unfortunately it is a little bit old : 2003)

Christof Klaus a écrit :
> le dahut schrieb:
>> Hello
>> I experience a problem on bacula 2.0.3 (Ubuntu) with the error message 
>> "Warning: Cannot bind port 9101: ERR=Address already in use.".
>> This message appear randomly after several days/weeks of good work. Once 
>> this appears, 'netstat -anpe' shows that for example smbd (it can be 
>> something else) uses the port 9101. After samba restart, slapd uses it, 
>> then mysql etc. I have to reboot the server for things returning in order.
>>
>> What's happening ?
>>
>> K.
>>
>>
>> P.S. : I already sent this message this morning but I've just seen I 
>> hadn't subscribe to the list, sorry if you've received this mail twice.
>>
>>   
> sounds like the process which started bacula died and afterwards bacula
> itself died..
> ive only seen this phenomenon in correlation to zombie-processes.
> 
> you maybe have your own management tool to start / stop daemons ? (cause
> "init" normally shouldnt die ;))
> hope this helps.
> 
> greets, christof
> 
> 
> 

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Cannot bind port 9101

2007-12-03 Thread le dahut
Hello
I experience a problem on bacula 2.0.3 (Ubuntu) with the error message 
"Warning: Cannot bind port 9101: ERR=Address already in use.".
This message appear randomly after several days/weeks of good work. Once 
this appears, 'netstat -anpe' shows that for example smbd (it can be 
something else) uses the port 9101. After samba restart, slapd uses it, 
then mysql etc. I have to reboot the server for things returning in order.

What's happening ?

K.


P.S. : I already sent this message this morning but I've just seen I 
hadn't subscribe to the list, sorry if you've received this mail twice.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula-fd maximum memory usage

2007-10-09 Thread le dahut
Hello,

We have some problems with bacula-fd. On many sites where bacula is 
used, we see some servers going on alert due to more than 95% of swap 
usage. top says :

top - 11:09:27 up 84 days,  2:46,  1 user,  load average: 0.86, 0.31, 0.10
Tasks: 175 total,   2 running, 172 sleeping,   0 stopped,   1 zombie
Cpu(s):  50.5% user,   5.0% system,   0.0% nice,  44.6% idle
Mem:   1032140k total,  1021716k used,10424k free, 3652k buffers
Swap:   257000k total,   237160k used,19840k free,57004k cached

   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  Command
20820 root   9   0  565m 358m 1720 S  0.0 35.6   0:00.00 bacula-fd
20824 root   9   0  565m 358m 1720 S  0.0 35.6   0:11.45 bacula-fd
20825 root   9   0  565m 358m 1720 S  0.0 35.6   0:01.58 bacula-fd
  9356 root  14   0  179m 179m 1304 R 99.9 17.8  29:01.89 clamd
  9454 root   8   0  179m 179m 1304 S  0.0 17.8   0:00.31 clamd
23599 sympa  9   0 26256  25m 2480 S  0.0  2.5   0:03.12 perl5.8.0
23601 sympa  9   0 26256  25m 2480 S  0.0  2.5   0:03.30 perl5.8.0
23603 sympa  9   0 26256  25m 2480 S  0.0  2.5   0:03.28 perl5.8.0
19654 sympa  9   0 23680  23m 3220 S  0.0  2.3  10:46.90 task_manager.pl
20779 root   9   0 16888  16m 2408 S  0.0  1.6   0:01.99 bacula-dir
20788 root   9   0 16888  16m 2408 S  0.0  1.6   0:12.14 bacula-dir
20789 root   9   0 16888  16m 2408 S  0.0  1.6   0:00.00 bacula-dir
20790 root   9   0 16888  16m 2408 S  0.0  1.6   0:01.58 bacula-dir
19621 sympa  9   0 15884  15m 2992 S  0.0  1.5   0:36.45 sympa.pl
19632 sympa  9   0 15500  15m 2900 S  0.0  1.5   0:17.02 archived.pl
19643 sympa  9   0 15036  14m 2908 S  0.0  1.5   0:28.19 bounced.pl
19590 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.67 mysqld
19597 mysql  8   0 14928  14m 3824 S  0.0  1.4   0:04.22 mysqld
19598 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
19599 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
19600 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
19601 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld
19605 mysql  9   0 14928  14m 3824 S  0.0  1.4   1:24.20 mysqld
19606 mysql  9   0 14928  14m 3824 S  0.0  1.4   1:05.15 mysqld
19607 mysql  9   0 14928  14m 3824 S  0.0  1.4   0:00.00 mysqld


I have to restart bacula-fd, why ? what's happening ?!

K.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Console messages

2007-06-14 Thread le dahut
Must the console messages (bconsole => "messages") be flushed regularly 
or is there a configuration option telling not to store the messages or 
can it stay "as it is" ?


K.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Volume errors since update to 2.0.3

2007-05-31 Thread le dahut
I've read with attention the doc about Automatic volume recycling and my 
configuration seems to be exactly what's described in this doc.

On the backup disk, there are volumes from ScribeVol0001 to 
ScribeVol0109 with 10 missing numbers (which makes a total of 99 
volumes). Those 10 missing volumes has been deleted from database using 
command "delete volume". So now bacula has 99 volumes in its database 
and the last one has the number 109.

So this make me ask the question : why does bacula try to create volumes 
with names already present in its database ? Why doesn't it use the free 
available number (in my case 35 to 40) ?


K.

P.S. : you could ask me why I removed those volumes, I did this for some 
good reasons that I don't remember any more ;-) .



Martin Simmons a écrit :
> Bacula recycles "purged" volumes, so I'm not sure what you mean by "pruned"
> here.  What is their volstatus?
> 
> Note that a volume is not purged until its volume retention period expires,
> even if all the jobs have been pruned.  See "Recycling Algorithm" in
> <http://www.bacula.org/rel-manual/Automatic_Volume_Recycling.html>.
> 
> To prevent Bacula from creating more than 99 volumes, then you should set the
> Maximum Volumes in the pool.
> 
> __Martin
> 
> 
>>>>>> On Wed, 30 May 2007 09:35:44 +0200, le dahut said:
>> I've set LabelMedia = yes and Recycle = yes and there are pruned volumes 
>> on my backup media so why doesn't bacula use those volumes instead 
>> creating new ones ?
>>
>> My objective is to make backup totally automatic using a USB hd. It's to 
>> make users able to backup their server without having a root access to 
>> it, nor using the command line (web apps have been written to let users 
>> schedule some backups).
>>
>> What should be the best solution (I've apparently missed something) ?
>>
>>
>> K.
>>
>>
>>
>> Martin Simmons a écrit :
>>> Hmm, you are right, Bacula does set the NumVols itself.
>>>
>>> So the problem is that you have less that 109 volumes in the media table
>>> (i.e. some missing in the sequence 1...109).  The "simple" LabelFormat with 
>>> no
>>> variable expansion characters expects NumVols to match the pool.  There is a
>>> hack to allow some mismatch (up to 10 missing volumes) but you have reached
>>> this now.
>>>
>>> I think you need to create the missing volumes manually using the label
>>> command.
>>>
>>> __Martin
>>>
>>>
>>>>>>>> On Tue, 29 May 2007 14:22:29 +0200, le dahut said:
>>>> As you can see below, when I update NumVols to reflect the reality from 
>>>> 99 to 109, NumVols value is updated by Bacula : when it starts it's put 
>>>> back to 99.
>>>> I really don't understand why Bacula rewrites the value of NumVols and 
>>>> so then generates errors about already existing volume Bacula tries to 
>>>> create !!!
>>>>
>>>> Can someone tell me what's happening here ? I'm becoming really nervous 
>>>> about our backups that don't occur since a week now !
>>>>
>>>>
>>>> le dahut wrote :
>>>>> I tried but :
>>>>> [EMAIL PROTECTED] bacula]# /usr/lib/bacula/sqlite/sqlite 
>>>>> /var/bacula/bacula.db
>>>>> sqlite> select * from pool;
>>>>> 1|Default|99|0|0|1|1|864|518400|0|0|20|1|1|Backup|0|ScribeVolume|1|0|0|0|0|0|0
>>>>>
>>>>> sqlite> UPDATE Pool SET NumVols=109 WHERE Name='Default';
>>>>> sqlite> select * from pool;
>>>>> 1|Default|109|0|0|1|1|864|518400|0|0|20|1|1|Backup|0|ScribeVolume|1|0|0|0|0|0|0
>>>>>
>>>>> (here it has been correctly changed)
>>>>> [EMAIL PROTECTED] bacula]# /etc/init.d/bacula-dir start
>>>>> Starting the Bacula Director:   [  OK  ]
>>>>>
>>>>> *list pool
>>>>> Automatically selected Catalog: MyCatalog
>>>>> Using Catalog "MyCatalog"
>>>>> ++-+-+-+--+--+
>>>>> | PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat  |
>>>>> ++-+-+-+--+--+
>>>>> | 1  | Default | 99  | 0   | Backup   | ScribeVolume |
>>>>> ++-+-+-+

Re: [Bacula-users] Volume errors since update to 2.0.3

2007-05-30 Thread le dahut
I've set LabelMedia = yes and Recycle = yes and there are pruned volumes 
on my backup media so why doesn't bacula use those volumes instead 
creating new ones ?

My objective is to make backup totally automatic using a USB hd. It's to 
make users able to backup their server without having a root access to 
it, nor using the command line (web apps have been written to let users 
schedule some backups).

What should be the best solution (I've apparently missed something) ?


K.



Martin Simmons a écrit :
> Hmm, you are right, Bacula does set the NumVols itself.
> 
> So the problem is that you have less that 109 volumes in the media table
> (i.e. some missing in the sequence 1...109).  The "simple" LabelFormat with no
> variable expansion characters expects NumVols to match the pool.  There is a
> hack to allow some mismatch (up to 10 missing volumes) but you have reached
> this now.
> 
> I think you need to create the missing volumes manually using the label
> command.
> 
> __Martin
> 
> 
>>>>>> On Tue, 29 May 2007 14:22:29 +0200, le dahut said:
>> As you can see below, when I update NumVols to reflect the reality from 
>> 99 to 109, NumVols value is updated by Bacula : when it starts it's put 
>> back to 99.
>> I really don't understand why Bacula rewrites the value of NumVols and 
>> so then generates errors about already existing volume Bacula tries to 
>> create !!!
>>
>> Can someone tell me what's happening here ? I'm becoming really nervous 
>> about our backups that don't occur since a week now !
>>
>>
>> le dahut wrote :
>>> I tried but :
>>> [EMAIL PROTECTED] bacula]# /usr/lib/bacula/sqlite/sqlite 
>>> /var/bacula/bacula.db
>>> sqlite> select * from pool;
>>> 1|Default|99|0|0|1|1|864|518400|0|0|20|1|1|Backup|0|ScribeVolume|1|0|0|0|0|0|0
>>>
>>> sqlite> UPDATE Pool SET NumVols=109 WHERE Name='Default';
>>> sqlite> select * from pool;
>>> 1|Default|109|0|0|1|1|864|518400|0|0|20|1|1|Backup|0|ScribeVolume|1|0|0|0|0|0|0
>>>
>>> (here it has been correctly changed)
>>> [EMAIL PROTECTED] bacula]# /etc/init.d/bacula-dir start
>>> Starting the Bacula Director:   [  OK  ]
>>>
>>> *list pool
>>> Automatically selected Catalog: MyCatalog
>>> Using Catalog "MyCatalog"
>>> ++-+-+-+--+--+
>>> | PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat  |
>>> ++-+-+-+--+--+
>>> | 1  | Default | 99  | 0   | Backup   | ScribeVolume |
>>> ++-+-+-+--+--+
>>>
>>>
>>> Is there a limit on NumVols when using SQLITE ?
>>>
>>> K.
>>>
>>>
>>>
>>> Martin Simmons a écrit :
>>>>>>>>> On Thu, 24 May 2007 09:35:18 +0200, le dahut said:
>>>>> Here are some additional informations :
>>>>>
>>>>> *list volumes
>>>>> Pool: Default
>>>>> ...
>>>>> | 108 | ScribeVolume0108 | Full  | 1   | 149066 | 0 
>>>>> | 5184000  | 1   | 0| 0 | File  | 2007-05-06 
>>>>> 02:01:39 |
>>>>> | 109 | ScribeVolume0109 | Full  | 1   | 136408 | 0 
>>>>> | 5184000  | 1   | 0| 0 | File  | 2007-05-13 
>>>>> 02:20:23 |
>>>>> ...
>>>>>
>>>>> *list pools
>>>>> ++-+-+-+--+--+
>>>>> | PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat  |
>>>>> ++-+-+-+--+--+
>>>>> | 1  | Default | 99  | 0   | Backup   | ScribeVolume |
>>>>> ++-+-+-+--+--+
>>>>>
>>>>> *show pools
>>>>> Pool: name=Default PoolType=Backup
>>>>>use_cat=1 use_once=0 cat_files=1
>>>>>max_vols=0 auto_prune=1 VolRetention=3 months 10 days
>>>>>VolUse=6 days  recycle=1 LabelFormat=ScribeVolume
>>>>>CleaningPrefix=*None* LabelType=0
>>>>>RecyleOldest=1 PurgeOldest=0 MaxVolJobs=0 MaxVolFiles=0
>>>>>MigTime=0 secs MigHiBytes=0 MigLoBytes=0
>&g

Re: [Bacula-users] Volume errors since update to 2.0.3

2007-05-29 Thread le dahut
As you can see below, when I update NumVols to reflect the reality from 
99 to 109, NumVols value is updated by Bacula : when it starts it's put 
back to 99.
I really don't understand why Bacula rewrites the value of NumVols and 
so then generates errors about already existing volume Bacula tries to 
create !!!

Can someone tell me what's happening here ? I'm becoming really nervous 
about our backups that don't occur since a week now !


le dahut wrote :
> I tried but :
> [EMAIL PROTECTED] bacula]# /usr/lib/bacula/sqlite/sqlite /var/bacula/bacula.db
> sqlite> select * from pool;
> 1|Default|99|0|0|1|1|864|518400|0|0|20|1|1|Backup|0|ScribeVolume|1|0|0|0|0|0|0
> 
> sqlite> UPDATE Pool SET NumVols=109 WHERE Name='Default';
> sqlite> select * from pool;
> 1|Default|109|0|0|1|1|864|518400|0|0|20|1|1|Backup|0|ScribeVolume|1|0|0|0|0|0|0
> 
> (here it has been correctly changed)
> [EMAIL PROTECTED] bacula]# /etc/init.d/bacula-dir start
> Starting the Bacula Director:   [  OK  ]
> 
> *list pool
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> ++-+-+-+--+--+
> | PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat  |
> ++-+-+-+--+--+
> | 1  | Default | 99  | 0   | Backup   | ScribeVolume |
> ++-+-+-+--+--+
> 
> 
> Is there a limit on NumVols when using SQLITE ?
> 
> K.
> 
> 
> 
> Martin Simmons a écrit :
>>>>>>> On Thu, 24 May 2007 09:35:18 +0200, le dahut said:
>>> Here are some additional informations :
>>>
>>> *list volumes
>>> Pool: Default
>>> ...
>>> | 108 | ScribeVolume0108 | Full  | 1   | 149066 | 0 
>>> | 5184000  | 1   | 0| 0 | File  | 2007-05-06 
>>> 02:01:39 |
>>> | 109 | ScribeVolume0109 | Full  | 1   | 136408 | 0 
>>> | 5184000  | 1   | 0| 0 | File  | 2007-05-13 
>>> 02:20:23 |
>>> ...
>>>
>>> *list pools
>>> ++-+-+-+--+--+
>>> | PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat  |
>>> ++-+-+-+--+--+
>>> | 1  | Default | 99  | 0   | Backup   | ScribeVolume |
>>> ++-+-+-+--+--+
>>>
>>> *show pools
>>> Pool: name=Default PoolType=Backup
>>>use_cat=1 use_once=0 cat_files=1
>>>max_vols=0 auto_prune=1 VolRetention=3 months 10 days
>>>VolUse=6 days  recycle=1 LabelFormat=ScribeVolume
>>>CleaningPrefix=*None* LabelType=0
>>>RecyleOldest=1 PurgeOldest=0 MaxVolJobs=0 MaxVolFiles=0
>>>MigTime=0 secs MigHiBytes=0 MigLoBytes=0
>>>
>>>
>>> This night, Bacula tried again to create those volumes, why ???!
>> Because the NumVols is 99 in the catalog.  You could try setting this to 109
>> using an sql command such as
>>
>> UPDATE Pool SET NumVols=109 WHERE Name='Default';
>>
>> Do you have 109 volumes or did the Pool and Media tables get out-of-sync
>> somehow?
>>
>> __Martin
>>
>>
>>> K.
>>>
>>>
>>>
>>> le dahut wrote :
>>>> Hello,
>>>>
>>>> I used bacula-1.38, since I updated it to 2.0.3, it backuped 4 times ok 
>>>> and then it errors with :
>>>> """
>>>> 23-May 15:53 127.0.0.1-dir: Client1.2007-05-23_15.32.54 Warning: Wanted 
>>>> to create Volume "ScribeVolume0109", but it already exists. Trying
>>>> again.
>>>> 23-May 15:53 127.0.0.1-dir: Client1.2007-05-23_15.32.54 Error: Too many 
>>>> failures. Giving up creating Volume name.
>>>> """
>>>>
>>>>
>>>> I noticed that that the concerned volumes are not always the same. For 
>>>> example today bacula errors about "ScribeVolume0100" to 
>>>> "ScribeVolume0109" and on may 20th it errored on "ScribeVolume0090 to 
>>>> ScribeVolume0097".
>>>>
>>>> Here's part of my SD configuration :
>>>> Device {
>>>>Name = FileStorage
>>>>Media Type = File
>>>>Archive Device = /var/sauvegardes
>>>>

Re: [Bacula-users] Volume errors since update to 2.0.3

2007-05-25 Thread le dahut
I tried but :
[EMAIL PROTECTED] bacula]# /usr/lib/bacula/sqlite/sqlite /var/bacula/bacula.db
sqlite> select * from pool;
1|Default|99|0|0|1|1|864|518400|0|0|20|1|1|Backup|0|ScribeVolume|1|0|0|0|0|0|0

sqlite> UPDATE Pool SET NumVols=109 WHERE Name='Default';
sqlite> select * from pool;
1|Default|109|0|0|1|1|864|518400|0|0|20|1|1|Backup|0|ScribeVolume|1|0|0|0|0|0|0

(here it has been correctly changed)
[EMAIL PROTECTED] bacula]# /etc/init.d/bacula-dir start
Starting the Bacula Director:   [  OK  ]

*list pool
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
++-+-+-+--+--+
| PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat  |
++-+-+-+--+--+
| 1  | Default | 99  | 0   | Backup   | ScribeVolume |
++-+-+-+--+--+


Is there a limit on NumVols when using SQLITE ?

K.



Martin Simmons a écrit :
>>>>>> On Thu, 24 May 2007 09:35:18 +0200, le dahut said:
>> Here are some additional informations :
>>
>> *list volumes
>> Pool: Default
>> ...
>> | 108 | ScribeVolume0108 | Full  | 1   | 149066 | 0 
>> | 5184000  | 1   | 0| 0 | File  | 2007-05-06 
>> 02:01:39 |
>> | 109 | ScribeVolume0109 | Full  | 1   | 136408 | 0 
>> | 5184000  | 1   | 0| 0 | File  | 2007-05-13 
>> 02:20:23 |
>> ...
>>
>> *list pools
>> ++-+-+-+--+--+
>> | PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat  |
>> ++-+-+-+--+--+
>> | 1  | Default | 99  | 0   | Backup   | ScribeVolume |
>> ++-+-+-+--+--+
>>
>> *show pools
>> Pool: name=Default PoolType=Backup
>>use_cat=1 use_once=0 cat_files=1
>>max_vols=0 auto_prune=1 VolRetention=3 months 10 days
>>VolUse=6 days  recycle=1 LabelFormat=ScribeVolume
>>CleaningPrefix=*None* LabelType=0
>>RecyleOldest=1 PurgeOldest=0 MaxVolJobs=0 MaxVolFiles=0
>>MigTime=0 secs MigHiBytes=0 MigLoBytes=0
>>
>>
>> This night, Bacula tried again to create those volumes, why ???!
> 
> Because the NumVols is 99 in the catalog.  You could try setting this to 109
> using an sql command such as
> 
> UPDATE Pool SET NumVols=109 WHERE Name='Default';
> 
> Do you have 109 volumes or did the Pool and Media tables get out-of-sync
> somehow?
> 
> __Martin
> 
> 
>>
>> K.
>>
>>
>>
>> le dahut wrote :
>>> Hello,
>>>
>>> I used bacula-1.38, since I updated it to 2.0.3, it backuped 4 times ok 
>>> and then it errors with :
>>> """
>>> 23-May 15:53 127.0.0.1-dir: Client1.2007-05-23_15.32.54 Warning: Wanted 
>>> to create Volume "ScribeVolume0109", but it already exists. Trying
>>> again.
>>> 23-May 15:53 127.0.0.1-dir: Client1.2007-05-23_15.32.54 Error: Too many 
>>> failures. Giving up creating Volume name.
>>> """
>>>
>>>
>>> I noticed that that the concerned volumes are not always the same. For 
>>> example today bacula errors about "ScribeVolume0100" to 
>>> "ScribeVolume0109" and on may 20th it errored on "ScribeVolume0090 to 
>>> ScribeVolume0097".
>>>
>>> Here's part of my SD configuration :
>>> Device {
>>>Name = FileStorage
>>>Media Type = File
>>>Archive Device = /var/sauvegardes
>>>LabelMedia = yes;   # lets Bacula label unlabeled media
>>>Random Access = Yes;
>>>AutomaticMount = yes;   # when device opened, read it
>>>RemovableMedia = no;
>>>AlwaysOpen = no;
>>> }
>>>
>>> the DIR conf :
>>> Pool {
>>>Name = Default
>>>Pool Type = Backup
>>>Recycle = yes
>>>AutoPrune = yes
>>>Volume Retention = 100 days
>>>LabelFormat = "ScribeVolume"
>>>Recycle Oldest Volume = yes
>>>Maximum Volume Bytes = 2 gb
>>>Volume Use Duration = 6 days
>>> }
>>>
>>>
>>> liste volumes shows all the concerned volumes in database ... what's 
>>> happening ?
>>>
>>>
>>> K.
>

Re: [Bacula-users] Volume errors since update to 2.0.3

2007-05-24 Thread le dahut
Here are some additional informations :

*list volumes
Pool: Default
...
| 108 | ScribeVolume0108 | Full  | 1   | 149066 | 0 
| 5184000  | 1   | 0| 0 | File  | 2007-05-06 
02:01:39 |
| 109 | ScribeVolume0109 | Full  | 1   | 136408 | 0 
| 5184000  | 1   | 0| 0 | File  | 2007-05-13 
02:20:23 |
...

*list pools
++-+-+-+--+--+
| PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat  |
++-+-+-+--+--+
| 1  | Default | 99  | 0   | Backup   | ScribeVolume |
++-+-+-+--+--+

*show pools
Pool: name=Default PoolType=Backup
   use_cat=1 use_once=0 cat_files=1
   max_vols=0 auto_prune=1 VolRetention=3 months 10 days
   VolUse=6 days  recycle=1 LabelFormat=ScribeVolume
   CleaningPrefix=*None* LabelType=0
   RecyleOldest=1 PurgeOldest=0 MaxVolJobs=0 MaxVolFiles=0
   MigTime=0 secs MigHiBytes=0 MigLoBytes=0


This night, Bacula tried again to create those volumes, why ???!


K.



le dahut wrote :
> Hello,
> 
> I used bacula-1.38, since I updated it to 2.0.3, it backuped 4 times ok 
> and then it errors with :
> """
> 23-May 15:53 127.0.0.1-dir: Client1.2007-05-23_15.32.54 Warning: Wanted 
> to create Volume "ScribeVolume0109", but it already exists. Trying
> again.
> 23-May 15:53 127.0.0.1-dir: Client1.2007-05-23_15.32.54 Error: Too many 
> failures. Giving up creating Volume name.
> """
> 
> 
> I noticed that that the concerned volumes are not always the same. For 
> example today bacula errors about "ScribeVolume0100" to 
> "ScribeVolume0109" and on may 20th it errored on "ScribeVolume0090 to 
> ScribeVolume0097".
> 
> Here's part of my SD configuration :
> Device {
>Name = FileStorage
>Media Type = File
>Archive Device = /var/sauvegardes
>LabelMedia = yes;   # lets Bacula label unlabeled media
>Random Access = Yes;
>AutomaticMount = yes;   # when device opened, read it
>RemovableMedia = no;
>AlwaysOpen = no;
> }
> 
> the DIR conf :
> Pool {
>Name = Default
>Pool Type = Backup
>Recycle = yes
>AutoPrune = yes
>Volume Retention = 100 days
>LabelFormat = "ScribeVolume"
>Recycle Oldest Volume = yes
>Maximum Volume Bytes = 2 gb
>Volume Use Duration = 6 days
> }
> 
> 
> liste volumes shows all the concerned volumes in database ... what's 
> happening ?
> 
> 
> K.
> 
> 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Volume errors since update to 2.0.3

2007-05-23 Thread le dahut
Hello,

I used bacula-1.38, since I updated it to 2.0.3, it backuped 4 times ok 
and then it errors with :
"""
23-May 15:53 127.0.0.1-dir: Client1.2007-05-23_15.32.54 Warning: Wanted 
to create Volume "ScribeVolume0109", but it already exists. Trying
again.
23-May 15:53 127.0.0.1-dir: Client1.2007-05-23_15.32.54 Error: Too many 
failures. Giving up creating Volume name.
"""


I noticed that that the concerned volumes are not always the same. For 
example today bacula errors about "ScribeVolume0100" to 
"ScribeVolume0109" and on may 20th it errored on "ScribeVolume0090 to 
ScribeVolume0097".

Here's part of my SD configuration :
Device {
   Name = FileStorage
   Media Type = File
   Archive Device = /var/sauvegardes
   LabelMedia = yes;   # lets Bacula label unlabeled media
   Random Access = Yes;
   AutomaticMount = yes;   # when device opened, read it
   RemovableMedia = no;
   AlwaysOpen = no;
}

the DIR conf :
Pool {
   Name = Default
   Pool Type = Backup
   Recycle = yes
   AutoPrune = yes
   Volume Retention = 100 days
   LabelFormat = "ScribeVolume"
   Recycle Oldest Volume = yes
   Maximum Volume Bytes = 2 gb
   Volume Use Duration = 6 days
}


liste volumes shows all the concerned volumes in database ... what's 
happening ?


K.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 2.0.3 and ACLs

2007-05-03 Thread le dahut
To complete my message, I also get that sort of error :
03-mai 11:01 127.0.0.1-fd: RestoreFiles.2007-05-03_11.00.27 Error: 
acl.c:223 acl_from_text error on file "/home/a/admin/": ERR=No such file
  or directory

while in fact /home/a/admin IS present ...!

but
03-mai 11:34 127.0.0.1-fd: RestoreFiles.2007-05-03_11.34.28 Error: 
acl.c:223 acl_from_text error on file "/home/test/": ERR=Connection refused
is the error which appears the most.

We use Bacula for more than one year now and are very disappointed by 
the way ACLs are managed in Bacula's dev. It seems that on every update 
there's a problem and we have to cry to get it working (as if we have 
only that to do).

We really hope that someone could give us a solution.


Other problem : sometimes we must reboot the server because bacula-dir 
doesn't answer anymore. For example, when launching bconsole it stops on 
"Connecting to Director 127.0.0.1:9101" ...


Mandrake, kernel 2.4.32, glibc-2.3.1, acl-2.2.39


K.



le dahut wrote :
> Hello,
> 
> I'm using Bacula-2.0.3 with sqlite support and I get error messages on 
> restore :
> 02-mai 13:58 127.0.0.1-fd: RestoreFiles.2007-05-02_13.58.21 Error: 
> acl.c:223 acl_from_text error on file "/home/alias/archives/": ERR=Conne
> ction refused
> 02-mai 13:58 127.0.0.1-fd: RestoreFiles.2007-05-02_13.58.21 Error: 
> acl.c:223 acl_from_text error on file "/home/alias/archives/": ERR=Conne
> 
> 
> What's happening ?
> 
> 
> K.
> 
> 
> 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 2.0.3 and ACLs

2007-05-02 Thread le dahut
Hello,

I'm using Bacula-2.0.3 with sqlite support and I get error messages on 
restore :
02-mai 13:58 127.0.0.1-fd: RestoreFiles.2007-05-02_13.58.21 Error: 
acl.c:223 acl_from_text error on file "/home/alias/archives/": ERR=Conne
ction refused
02-mai 13:58 127.0.0.1-fd: RestoreFiles.2007-05-02_13.58.21 Error: 
acl.c:223 acl_from_text error on file "/home/alias/archives/": ERR=Conne


What's happening ?


K.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula in french building

2007-04-19 Thread le dahut
Hello,

I'm trying to build bacula-2.0*.deb for Ubuntu with French support. I've 
read "ReleaseNotes" where it's explained to do :

--configure--
--make--
cd /po
make install
--make install--

My question is, where must I put those lines to generate French ubuntu 
package ?


K.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Python error

2006-12-18 Thread le dahut
Hello,

I've written little python file "DirStartup.py" which I configured in 
"bacula-dir.conf". In runs well but sometimes bacula returns an error 
during backup :

12-Dec 15:04 127.0.0.1-dir: Client1.2006-12-12_15.04.12 Error: Python 
function "JobStart" not found.

The only solution is to reboot the machine ('service bacula-dir restart' 
don't help) what's happening ?


K.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Multiple backups for a client

2006-10-30 Thread le dahut
Hello,

How can I avoid Bacula launching a second backup while the first one 
isn't finished ?
This phenomenon occurred last WE with summer/winter time switching, a 
backup was scheduled for 2:00 am and wasn't finished at 3:00 am so when 
the clock came back to 2:00 a second backup was launched ...

K.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Successfull restore

2006-09-15 Thread le dahut
Hello,

Just a mail to report good news.

We've just restored 55Gigs of 2000 users personal data on XFS partition 
with ACLs and everything went well !


K.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] messages and canceled jobs

2006-07-06 Thread le dahut
I finally decided to use my own "mail system" (which naturally uses 
"bsmtp" ;-) ), which sends short messages, in french ;-).
This way I can catch all events directly in the python code.

Maybe "Canceled" could be added in the message types (info, warning, 
error, fatal, terminate) and also be logged.

The problem is that the python script can cancel a job automatically 
with 'job.cancel(JobId)'.
For example, if python script tests for sufficient disk space and there 
isn't, it can do a job.cancel(JobId). If done this way, nothing is 
logged and user won't receive any message that the backup has failed.


K.



Ryan Novosielski a écrit :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I already get messages when jobs are canceled. I'm not sure what's doing
> it, but I receive all messages. You might want to check the listings for
> the different types.
> 
> le dahut wrote:
>> Hello,
>>
>> Is there a way to get an email when a job is canceled ?
>>
>> My actual configuration is :
>> mail = [EMAIL PROTECTED] = error, fatal, mount
>>
>> Could it be something like :
>> mail = [EMAIL PROTECTED] = error, fatal, mount, canceled
>> ?
>>
>> K.
>>
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> - --
>   _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
>  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFEq+cYmb+gadEcsb4RArMQAKCJMV6da5JxAgGx8P7Y6IdLyuR0LgCgiqYE
> 1CgsvFT7Swb5wMB8D2WRQLc=
> =h9+v
> -END PGP SIGNATURE-
> 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] messages and canceled jobs

2006-07-05 Thread le dahut
Hello,

Is there a way to get an email when a job is canceled ?

My actual configuration is :
mail = [EMAIL PROTECTED] = error, fatal, mount

Could it be something like :
mail = [EMAIL PROTECTED] = error, fatal, mount, canceled
?

K.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] python module

2006-07-04 Thread le dahut
For me it seems to be a barbarian method. I don't like text parsing 
because of the errors than can happen due to internationalization, like 
'ifconfig' which needs 2 different parsers if it's in French or in English.
However you can take my example (which works) if you want, my messages 
to mailing lists are always open-source :-) .


Another question :
"JobStatus
 This attribute contains a single character string representing the 
current Job status. The status may change during execution of the job."

Should I understand that on "JobEnd" I can get the output of the job ? 
If yes, what are the keywords ?


K.


Kern Sibbald a écrit :
> On Tuesday 04 July 2006 09:22, le dahut wrote:
>> Yes, I used already something like :
>> """
>> import commands
>>
>> estim = commands.getoutput('/bin/echo -e "estimate
>> level=%s\n1"|/usr/sbin/bconsole -c
>> /etc/bacula/bconsole.conf'%niveau).split('bytes=')
>> """
>>
>> ;-) If it can help someone else ...
> 
> Nice. Would you mind if I add it as an example of running Bacula commands in 
> the default Bacula Python script?
> 
>>
>> K.
>>
>> Kern Sibbald a écrit :
>>> On Monday 03 July 2006 17:09, le dahut wrote:
>>>> Ok, everything works fine now.
>>>>
>>>> Another question, is it possible to get an estimation via python
>>>> Scripting
>>> If you mean can the Python script run a console "estimate" command, the
>>> answer is: no, not directly as the only "command" that Python can run is
>>> the "run" command.  I will probably implement a general command interface
>>> at sometime in the future, but it is likely there will be some crazy
>>> recursion problems.
>>>
>>> However, Python can very well run *any* command by simply running a
>>> system() of the bconsole program and feeding it any commands you want. 
>>> It is not very elegant, but possible.
>>>
>>>> ?
>>>>
>>>>
>>>> K.
>>>>
>>>> Kern Sibbald a écrit :
>>>>> On Monday 03 July 2006 13:24, le dahut wrote:
>>>>>> Hello,
>>>>>>
>>>>>> Bacula 1.38.10 RPM compiled successfully with the option
>>>>>> --with-python.
>>>>>>
>>>>>> But in a python prompt I get this :
>>>>>>  >>> import sys, bacula
>>>>>>
>>>>>> Traceback (most recent call last):
>>>>>>File "", line 1, in ?
>>>>>> ImportError: No module named bacula
>>>>>>
>>>>>>
>>>>>>
>>>>>> Any idea ?
>>>>> If you are at a Python prompt, you are probably using the Python
>>>>> interpreter directly.
>>>>>
>>>>> The bacula module is *only* available when Bacula calls Python, and in
>>>>> that case, there is no python prompt and no way to feed commands
>>>>> directly into the Bacula python instance.  Everything works by Bacula
>>>>> generating "events" which cause the appropriate Bacula python method to
>>>>> be called ...
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] python module

2006-07-04 Thread le dahut
Yes, I used already something like :
"""
import commands

estim = commands.getoutput('/bin/echo -e "estimate 
level=%s\n1"|/usr/sbin/bconsole -c 
/etc/bacula/bconsole.conf'%niveau).split('bytes=')
"""

;-) If it can help someone else ...


K.



Kern Sibbald a écrit :
> On Monday 03 July 2006 17:09, le dahut wrote:
>> Ok, everything works fine now.
>>
>> Another question, is it possible to get an estimation via python Scripting
> 
> If you mean can the Python script run a console "estimate" command, the 
> answer 
> is: no, not directly as the only "command" that Python can run is the "run" 
> command.  I will probably implement a general command interface at sometime 
> in the future, but it is likely there will be some crazy recursion problems.
> 
> However, Python can very well run *any* command by simply running a system() 
> of the bconsole program and feeding it any commands you want.  It is not very 
> elegant, but possible.
> 
>> ?
>>
>>
>> K.
>>
>> Kern Sibbald a écrit :
>>> On Monday 03 July 2006 13:24, le dahut wrote:
>>>> Hello,
>>>>
>>>> Bacula 1.38.10 RPM compiled successfully with the option --with-python.
>>>>
>>>> But in a python prompt I get this :
>>>>  >>> import sys, bacula
>>>>
>>>> Traceback (most recent call last):
>>>>File "", line 1, in ?
>>>> ImportError: No module named bacula
>>>>
>>>>
>>>>
>>>> Any idea ?
>>> If you are at a Python prompt, you are probably using the Python
>>> interpreter directly.
>>>
>>> The bacula module is *only* available when Bacula calls Python, and in
>>> that case, there is no python prompt and no way to feed commands directly
>>> into the Bacula python instance.  Everything works by Bacula generating
>>> "events" which cause the appropriate Bacula python method to be called
>>> ...
>>>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] python module

2006-07-03 Thread le dahut
Ok, everything works fine now.

Another question, is it possible to get an estimation via python Scripting ?


K.



Kern Sibbald a écrit :
> On Monday 03 July 2006 13:24, le dahut wrote:
>> Hello,
>>
>> Bacula 1.38.10 RPM compiled successfully with the option --with-python.
>>
>> But in a python prompt I get this :
>>  >>> import sys, bacula
>>
>> Traceback (most recent call last):
>>File "", line 1, in ?
>> ImportError: No module named bacula
>>
>>
>>
>> Any idea ?
> 
> If you are at a Python prompt, you are probably using the Python interpreter 
> directly.
> 
> The bacula module is *only* available when Bacula calls Python, and in that 
> case, there is no python prompt and no way to feed commands directly into the 
> Bacula python instance.  Everything works by Bacula generating "events" which 
> cause the appropriate Bacula python method to be called ...
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] python module

2006-07-03 Thread le dahut
Hello,

Bacula 1.38.10 RPM compiled successfully with the option --with-python.

But in a python prompt I get this :

 >>> import sys, bacula
Traceback (most recent call last):
   File "", line 1, in ?
ImportError: No module named bacula
 >>>


Any idea ?


K.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ACL restore failed

2006-05-29 Thread le dahut
I use Linux mandrake 9.1 with "/home" as XFS partition with ACL support.

The "/home" partition has several directories/files with ACLs (and 
default ACLs) which I backup using Bacula 1.38.9-2 : bacula says "Backup 
OK".

then : 'rm -rf /home/*'
and when I try to restore my files (using "root") I get the same error 
message ...


The system didn't change between backup and restore.
Bacula restored ACLs properly with version 1.36 on this machine.

So for me it seems to be a Bacula "bug".

I'm available for more information and debugging.

Thanks for your help.

K.



Kern Sibbald :
>> Hello,
>>
>> While restoring files on a XFS file system with ACLs, Bacula 1.38.9-2
>> returns me an error :
>> """
>> 127.0.0.1-fd: drwxrwx---   2 root root 6 2006-05-24
>> 11:41:17  /home/test/
>> 29-mai 10:45 127.0.0.1-fd: RestoreFiles.2006-05-29_10.45.23 Warning:
>> restore.c:347 Can't restore ACL of /home/test/
>> 29-mai 10:45 127.0.0.1-fd: RestoreFiles.2006-05-29_10.45.23 Warning:
>> restore.c:359 Can't restore default ACL of /home/test/
>> """
>>
>> what's happening ?
> 
> Groan!!! In looking at the code, I see that the author did not print any
> error messages that include the reason for the failure. So, it is not
> currently possible to know what went wrong.
> 
> Possibilities are: Your OS does not have ACLs. You are trying to restore
> ACLs to a different filesystem type. ACL support was not configured into
> the FD. Your OS is not one of the ones supported.  The ACL type is
> different from those that Bacula supports.  You don't have proper
> permissions to write the ACLs.  You changed ACL versions between the
> backup and the restore.
> 
> The error handling is something I'll try to clean up before the next major
> release.
> 
>>
>> K.
>>
>>
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
> 
> 
> Best regards, Kern
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


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


[Bacula-users] ACL restore failed

2006-05-29 Thread le dahut
Hello,

While restoring files on a XFS file system with ACLs, Bacula 1.38.9-2 
returns me an error :
"""
127.0.0.1-fd: drwxrwx---   2 root root 6 2006-05-24 
11:41:17  /home/test/
29-mai 10:45 127.0.0.1-fd: RestoreFiles.2006-05-29_10.45.23 Warning: 
restore.c:347 Can't restore ACL of /home/test/
29-mai 10:45 127.0.0.1-fd: RestoreFiles.2006-05-29_10.45.23 Warning: 
restore.c:359 Can't restore default ACL of /home/test/
"""

what's happening ?


K.



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


[Bacula-users] disk backup and saturation

2006-02-21 Thread le dahut

Hello,

I'm trying to install a backup on disk with Bacula. I'm experiencing 
some problems, my volume grows, grows and grows until it fills up the 
whole destination disk and then I get an error during backup. Here are 
my configuration parameters :


Client {
  Name = serv1-fd
  Address = 10.121.11.4
  FDPort = 9102
  Catalog = MyCatalog
  Password = "XXX"
  File Retention = 40 days
  Job Retention = 6 months
  AutoPrune = yes
}

Pool {
  Name = serv1-pool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 40 days
  Accept Any Volume = yes
  LabelFormat = serv-pedago
}

I'm using bacula-sqlite-1.36.3.

What should I do so that the old jobs get really erased from the volume 
and don't take place on my backup disk anymore ?


K.



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ClientRunBeforeJob problem

2005-10-28 Thread le dahut
It seems that it's the 'slapcat' which fails, not the 'ldap restart'.
Maybe your ldap database is corrupted ...
You can also save a ldap database with copying it's files but the server
has to be stoped before :

/etc/init.d/ldap stop
cp -R /var/lib/ldap/* /etc/bacula/ldap_backup/
/etc/init.d/ldap start

and to restore :
/etc/init.d/ldap stop
rm -f /var/lib/ldap/*
cp -f /etc/bacula/ldap_backup/* /var/lib/ldap/
chown -R ldap.ldap /var/lib/ldap/
/etc/init.d/ldap start

or simply add /var/lib/ldap in your FileSet



Le jeudi 27 octobre 2005 à 08:52 -0700, Paul Heinlein a écrit :
> On Thu, 27 Oct 2005, Josh Fisher wrote:
> 
> > I have a problem with the following ClientRunBeforeJob script 
> > running on a Fedora Core 3 client machine using bacula-fd version 
> > 1.36.3.
> >
> > #!/bin/sh
> > ldapbak=/etc/bacula/ldap_backup.ldif
> > rm -f $ldapbak
> > /etc/init.d/ldap stop &>/dev/null
> > slapcat -l $ldapbak
> > ret=$?
> > /etc/init.d/ldap start
> > if [ "$ret" != "0" ]; then
> >   exit 1
> > fi
> > exit 0
> >
> > On the client machine, bacula-fd runs as user root and group bacula. 
> > The slapcat command fails when the job is started from bconsole, 
> > returns "slap_startup failed" message, and cancels the job due to 
> > the script returning non-zero. However, I can manually run the 
> > script from a shell on the client machine without issue. Any idea 
> > what I'm doing wrong?
> 
> Instead of invoking the init script directly, try using the
> /sbin/service wrapper script. It'll setup your environment correctly,
> which might not be happening in the bacula app space.
> 
> Instead of
> 
>/etc/init.d/ldap {start,stop}
> 
> do
> 
>/sbin/service ldap {start,stop}
> 



---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] When is restore ended ?

2005-10-27 Thread le dahut
Hello,

I use bash scripts to backup/restore servers. The restore bash script
launches bconsole like this :


echo -e "restore all\n5\ndone\nyes\n"|bconsole
-c /etc/bacula/bconsole.conf


How can the script know when restoration has ended ? and is it possible
to get the output status ?

Congratulations for your work.

K.



---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Multiple clients with separate file storage directoryes

2005-06-14 Thread le dahut
It's possible to specify options like :

'Level=Incremental'

when you launch a backup. So with the same pool you can use all backup
levels.

Is that what you want ?


Klaas


Le mardi 14 juin 2005 à 01:40 -0700, laczko attila a écrit :
>  Hi to all,
>  I'm studying and testing bacula from some time and i
> have a big dilema for wich i request help.
> 
>  Initial Conditions:
>  I have and I want several servers (bacula clients) to
> backup (aprox 10). For each of them i have configured
> in bacula-dir.conf every necesary resource (jobdefs,
> jobs, filests, client's, storage), with a default pool
> definition - meaning of course that all data is backed
> up in to a single file/Volume. In bacula-sd.conf for
> each client i have defined a file device resource.
> Each server has a good bacula-fd.conf file.
>  Tests with backing up in to a single file/Volume, and
> restoring, each client with the default set of files:
> /usr/src/redhat/BUILD/bacula-1.36.3 has worked fine.
> No missing files at backups and restores operations.
>  OS's: RedHat from 9.0 to Fedora Core 3
>  Bacula ver: 1.36.3 
>  The Problem:
>  After testing of good network communications between
> Clients, Director and Storage by backing up and
> restoring I a few hundred times, I decided to move
> forward with configuration: now i want that each
> client have his files to be becked up in to a separate
> directory, say /backup2/bacula-backup/server(1...n),
> and for each client to have diferent volumes for full,
> incremental and differential backup, ofcource in each
> client's directory.
>  
>  Solution:
>  One partial solution could be one Pool definition for
> each client, in order to keep things right in each
> client backup directory, according to Chapter: "Basic
> Volume Management" and another partial solution could
> be 3 Pool definitions for full, incremental and
> differential backups, according to Chapter:"Using
> Pools to manage Volumes" from Bacula Users Manual. 
>  
>  My dilema:
>   - How do I make things right? to obtain what I want:
> combinning the two partial solutions in order to
> obtain the result that for each client the data is
> backed up in a per-client-directory and in per type -
> full,inc or diff; Volumes?? 
>  As far as I understanded, a have to define 4 pool
> definitions per client: 1 as default for keeping
> things in place, 1 definition for full, 1 for inc and
> one for diff backups, thus resulting in an amount of
> 40 Pool definitions for 10 clients
> plus the other resources defintions i will obtain a
> verry large bacula-dir.conf file:((
>   - There are not other solutions to resolve this
> problem or to simplifly it??
>  Please help i think that others too will benefit
> from resolving this problem.
> 
>  Notes:
>  the configuration files are properly made and tested
> for each daemon, following the instructions from
> Bacula Users Manual, by now only for using a single
> Volume for all clients.
>  
>  With regards in advance,
>  Attila.
> 
> PS: excuse my poor english! pls!!!
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> ---
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.  
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] RunBeforeJob RunAfterJob

2005-05-12 Thread le dahut
I want to stop some services before launching the backup, how can I make
RunBeforeJob and RunafterJob run on the client (not on the director) ?






---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] building bacula

2005-05-12 Thread le dahut
earlier in the build output :
"cannot find -lstdc++"

urpmi libstdc++5-static-devel solved the problem.



Le jeudi 12 mai 2005 à 10:35 +0200, le dahut a écrit :
> Hi,
> While trying to build bacula RPM from bacula-1.36.3-1.src.rpm downloaded
> today, I got this error message :
> 
> """
> make[1]: Leaving directory `/usr/src/RPM/BUILD/bacula-1.36.3/src/tools'
> + cd src/filed
> + strip static-bacula-fd
> strip: static-bacula-fd: No such file or directory
> """
> 
> Someone has an idea ?
> 
> 
> Klaas
> 




---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] building bacula

2005-05-12 Thread le dahut
Hi,
While trying to build bacula RPM from bacula-1.36.3-1.src.rpm downloaded
today, I got this error message :

"""
make[1]: Leaving directory `/usr/src/RPM/BUILD/bacula-1.36.3/src/tools'
+ cd src/filed
+ strip static-bacula-fd
strip: static-bacula-fd: No such file or directory
"""

Someone has an idea ?


Klaas



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] backup size prevision

2005-03-22 Thread le dahut
What's RTFM ??

Oh !? I tried "threaded display" ... surprising. Be sure I'd do it
properly next time ;-)

Why's the "reply to" field initialised on the sender and not on the list
address ?

Thanks for your answer.

Klaas



Le mardi 22 mars 2005 à 10:45 +0100, Michael Scherer a écrit :
> Hey.
> 
> le dahut wrote:
> > Is it possible to know how much data WILL be saved during the next
> > incremental backup ?
> 1.) See "estimate" command
> 2.) Remember RTFM before asking the maillist
> 3.) Don't reply to an email and open a new thread (e.g. change the topic)
>  it just looks ugly when people use a threaded display in their MUA.
> 
> Have a nice day,
> 
> Michael



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] backup size prevision

2005-03-22 Thread le dahut
Hello,

Is it possible to know how much data WILL be saved during the next
incremental backup ?





---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users