[Bacula-users] Use bash/php script on mailcommand

2012-10-30 Thread Carlo Filippetto
Hi all,
I need to modify the mailcommand with a script

How can I do it?

Thank's


---
Carlo

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Use bash/php script on mailcommand

2012-10-30 Thread John Doe
From: Carlo Filippetto carlo.filippe...@gmail.com

 I need to modify the mailcommand with a script
 How can I do it?

I am not sure what you mean by modify the mailcommand...
Do you mean to send the mail using a script?
  mailcommand = /path/to/script %r %c ...
Or do you mean to modify the mailcommand configuration line using a script?

JD

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How does the volume names automatic with mediaid

2012-10-30 Thread Olivier Delestre
Hi,

I wanted to know if it is possible to have a volume name = to Mediaid 
with the automation.
for example, volumename 3487 for a mediaid 3487

and so,
what will happen when mediaid arrives at  :(

Thanks



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How does the volume names automatic with mediaid

2012-10-30 Thread John Drescher
 I wanted to know if it is possible to have a volume name = to Mediaid
 with the automation.
 for example, volumename 3487 for a mediaid 3487

 and so,
 what will happen when mediaid arrives at  :(

I would expect the next meta id to be 1 although I only have
around 400 tape + disk volumes at work and less at home.

John

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: How does the volume names automatic with mediaid

2012-10-30 Thread John Drescher
-- Forwarded message --
From: John Drescher dresche...@gmail.com
Date: Tue, Oct 30, 2012 at 9:16 AM
Subject: Re: [Bacula-users] How does the volume names automatic with mediaid
To: olivier.deles...@univ-rouen.fr


On Tue, Oct 30, 2012 at 9:06 AM, Olivier Delestre
olivier.deles...@univ-rouen.fr wrote:
 Le 30/10/2012 13:51, John Drescher a écrit :

 I wanted to know if it is possible to have a volume name = to Mediaid
 with the automation.
 for example, volumename 3487 for a mediaid 3487

 and so,
 what will happen when mediaid arrives at  :(

 I would expect the next meta id to be 1 although I only have
 around 400 tape + disk volumes at work and less at home.

 John

 But, i have a strategie of One pool = One Client and Maximum Volume Jobs = 1

 So actually i have a mediaid=5097 and for the second server 3879

 I do not understand the concepts of pools but that's my conf. and I ask
 myself the max Mediaid ???

 So when i relabel a media ( all on disk volume ), the mediaid is incremented
 relabel storage=x pool=   oldvolume=002pool-1245 volume=1245 it does
 not keep the old Mediaid


Looking at the database design documentation MetaID appears to be a 32
bit unsigned integer so I expect the max is 2^32 -1.

John


-- 
John M. Drescher

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Sending spooled attrs to the Director takes a long time

2012-10-30 Thread Carsten Pache
Last week I updated my bacula server from Ubuntu 10.04 to 12.04. During this 
update Bacula was also updated from 5.0.3 to 5.2.5. Since then the backups of 
my Windows 2003 servers take much longer than before.

One example:

With Bacula 5.0.3:

02-Okt 18:45 Bandsicherung-dir JobId 2574: Start Sicherung JobId 2574, 
Job=SERVER1.2012-10-02_18.45.00_48
02-Okt 18:45 Bandsicherung-dir JobId 2574: Max configured use duration=82,800 
sec. exceeded. Marking Volume MON-G as Used.
02-Okt 18:47 Bandsicherung-dir JobId 2574: There are no more Jobs associated 
with Volume DIE-G. Marking it purged.
02-Okt 18:47 Bandsicherung-dir JobId 2574: All records pruned from Volume 
DIE-G; marking it Purged
02-Okt 18:47 Bandsicherung-dir JobId 2574: Recycled volume DIE-G
02-Okt 18:47 Bandsicherung-dir JobId 2574: Using Device LTO-3
02-Okt 18:47 Bandsicherung-sd JobId 2574: Recycled volume DIE-G on device 
LTO-3 (/dev/nst0), all previous data lost.
02-Okt 18:47 Bandsicherung-sd JobId 2574: Spooling data ...
02-Okt 18:47 server1-fd JobId 2574: Generate VSS snapshots. Driver=VSS Win 
2003, Drive(s)=ED
03-Okt 01:21 Bandsicherung-sd JobId 2574: Job write elapsed time = 06:33:59, 
Transfer rate = 5.685 M Bytes/second
03-Okt 01:21 server1-fd JobId 2574: VSS Writer (BackupComplete): System 
Writer, State: 0x1 (VSS_WS_STABLE)
03-Okt 01:21 Bandsicherung-sd JobId 2574: Committing spooled data to Volume 
DIE-G. Despooling 134,556,017,213 bytes ...
03-Okt 01:21 server1-fd JobId 2574: VSS Writer (BackupComplete): FRS Writer, 
State: 0x1 (VSS_WS_STABLE)
03-Okt 01:21 server1-fd JobId 2574: VSS Writer (BackupComplete): 
SqlServerWriter, State: 0x1 (VSS_WS_STABLE)
03-Okt 01:21 server1-fd JobId 2574: VSS Writer (BackupComplete): IIS Metabase 
Writer, State: 0x1 (VSS_WS_STABLE)
03-Okt 01:21 server1-fd JobId 2574: VSS Writer (BackupComplete): Event Log 
Writer, State: 0x1 (VSS_WS_STABLE)
03-Okt 01:21 server1-fd JobId 2574: VSS Writer (BackupComplete): COM+ REGDB 
Writer, State: 0x1 (VSS_WS_STABLE)
03-Okt 01:21 server1-fd JobId 2574: VSS Writer (BackupComplete): MSDEWriter, 
State: 0x1 (VSS_WS_STABLE)
03-Okt 01:21 server1-fd JobId 2574: VSS Writer (BackupComplete): Registry 
Writer, State: 0x1 (VSS_WS_STABLE)
03-Okt 01:21 server1-fd JobId 2574: VSS Writer (BackupComplete): WMI Writer, 
State: 0x1 (VSS_WS_STABLE)
03-Okt 01:21 server1-fd JobId 2574: VSS Writer (BackupComplete): NTDS, State: 
0x1 (VSS_WS_STABLE)
03-Okt 02:07 Bandsicherung-sd JobId 2574: Despooling elapsed time = 00:45:52, 
Transfer rate = 48.89 M Bytes/second
03-Okt 02:09 Bandsicherung-sd JobId 2574: Sending spooled attrs to the 
Director. Despooling 231,103,197 bytes ...
03-Okt 02:12 Bandsicherung-dir JobId 2574: Bacula Bandsicherung-dir 5.0.3 
(04Aug10): 03-Okt-2012 02:12:29
  Build OS:   x86_64-pc-linux-gnu ubuntu 11.04
  JobId:  2574
  Job:SERVER1.2012-10-02_18.45.00_48
  Backup Level:   Full
  Client: server1-fd 5.0.3 (04Aug10) Linux,Cross-compile,Win32
  FileSet:SERVER1-FileSet 2012-06-22 18:45:00
  Pool:   GeradeWoche (From Run pool override)
  Catalog:MyCatalog (From Client resource)
  Storage:LTO-3 (From Job Ressource)
  Scheduled time: 02-Okt-2012 18:45:00
  Start time: 02-Okt-2012 18:47:01
  End time:   03-Okt-2012 02:12:29
  Elapsed time:   7 hours 25 mins 28 secs
  Priority:   10
  FD Files Written:   688,756
  SD Files Written:   688,756
  FD Bytes Written:   134,285,655,838 (134.2 GB)
  SD Bytes Written:   134,408,090,407 (134.4 GB)
  Rate:   5024.2 KB/s
  Software Compression:   None
  VSS:yes
  Encryption: no
  Accurate:   no
  Volume name(s): DIE-G
  Volume Session Id:  51
  Volume Session Time:1348229559
  Last Volume Bytes:  134,531,066,880 (134.5 GB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Sicherung OK


With Bacula 5.2.5:

29-Okt 18:00 Bandsicherung-dir JobId 2710: Start Sicherung JobId 2710, 
Job=SERVER1.2012-10-29_18.00.00_03
29-Okt 18:00 Bandsicherung-dir JobId 2710: Gerät »LTO-3« wird verwendet
29-Okt 18:00 Bandsicherung-sd JobId 2710: Wrote label to prelabeled Volume 
MON-G on device LTO-3 (/dev/nst0)
29-Okt 18:00 Bandsicherung-sd JobId 2710: Spooling data ...
29-Okt 18:00 server1-fd JobId 2710: Generate VSS snapshots. Driver=Win32 VSS, 
Drive(s)=ED
30-Okt 00:45 server1-fd JobId 2710: VSS Writer (BackupComplete): System 
Writer, State: 0x1 (VSS_WS_STABLE)
30-Okt 00:45 server1-fd JobId 2710: VSS Writer (BackupComplete): 
SqlServerWriter, State: 0x1 (VSS_WS_STABLE)
30-Okt 00:45 server1-fd JobId 2710: VSS Writer (BackupComplete): FRS Writer, 
State: 0x1 (VSS_WS_STABLE)
30-Okt 00:45 server1-fd JobId 2710: VSS Writer (BackupComplete): Registry 
Writer, State: 0x1 (VSS_WS_STABLE)
30-Okt 

Re: [Bacula-users] Sending spooled attrs to the Director takes a long time

2012-10-30 Thread Martin Simmons
 On Tue, 30 Oct 2012 14:18:10 +, Carsten Pache said:
 
 Last week I updated my bacula server from Ubuntu 10.04 to 12.04. During this
 update Bacula was also updated from 5.0.3 to 5.2.5. Since then the backups
 of my Windows 2003 servers take much longer than before.
 ... 
 It seems that Sending spooled attrs to the Director takes much longer than
 before. Can you give me some aid in solving this problem?

Which database backend is this?

When you upgraded Ubuntu, did the catalog database get recreated?  Maybe it
has lost some indexes or the rdbms configuration has changed?

__Martin

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Sending spooled attrs to the Director takes a long time

2012-10-30 Thread John Drescher
 It seems that Sending spooled attrs to the Director takes much longer than
 before. Can you give me some aid in solving this problem?

 Which database backend is this?

 When you upgraded Ubuntu, did the catalog database get recreated?  Maybe it
 has lost some indexes or the rdbms configuration has changed?


An additional option is that after upgrading the database server it
returned to the default database config file which in a lot of cases
is optimized for machines with a few MB (yes MB) of memory.

John

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re-2: Sending spooled attrs to the Director takes a long time

2012-10-30 Thread Carsten Pache
  Last week I updated my bacula server from Ubuntu 10.04 to 12.04. During 
  this update Bacula was also updated from 5.0.3 to 5.2.5. Since then the 
  backups of my Windows 2003 servers take much longer than before.
  ... 
  It seems that Sending spooled attrs to the Director takes much longer 
  than before. Can you give me some aid in solving this problem?
 
 Which database backend is this?

MySQL 5.5.24.


 When you upgraded Ubuntu, did the catalog database get recreated?  Maybe 
 it has lost some indexes or the rdbms configuration has changed?

I do not know. How can I find out? At least I see no errors in Bacula's log 
file.

Carsten



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re-2: Sending spooled attrs to the Director takes a long time

2012-10-30 Thread Carsten Pache
  It seems that Sending spooled attrs to the Director takes much longer 
  than before. Can you give me some aid in solving this problem?
 
  Which database backend is this?
 
  When you upgraded Ubuntu, did the catalog database get recreated?  
  Maybe it has lost some indexes or the rdbms configuration has changed?
 
 
 An additional option is that after upgrading the database server it
 returned to the default database config file which in a lot of cases
 is optimized for machines with a few MB (yes MB) of memory.

I do not remember that I had to change the defaut database configuration when I 
installed Bacula 5.0.3 two years ago. So which config file do you mean? Can you 
give me some hints what I should change in this file? My Bacula server has 2 GB 
RAM.

Carsten



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users