[Bacula-users] Bacula 2.4.4 backup error

2009-07-07 Thread Thomas Kempf
hello,
i've got some problems with bacula 2.4.4. on Debian Lenny and postgresql 
8.3. Basically I'm facing the problem with postgresql discarding the 
complete batch insert after a job because there are some invalid utf8 
byte-sequences in it. There were already some discussions on this 
subject with the proposal to dump the db and to reload it with encoding 
SQL_ASCII which is what i did. This did not solve my problem. The backup 
of some machines still produces this annoying error. Now i have two 
questions.

1. Why does bacula send me messages with the backup status of ok for 
those machines instead of telling me at least, that the batch copy 
failed. IMO there should be at least a warning that attribute despooling 
failed.

2. How can i solve that problem. There is nothing in the bacula logs and 
the db-log just tells me that the batch insert failed at line xyz. But 
as the attribute spool-file is deleted after the job, i can't look which 
file produces the error. Is it something which is adressed in bacula v3.
If so, i would take the pain and upgrade by self-compiling the new 
bacula instead of taking the deb-packages.

I'd be really glad, if someone could show me the right way to a solution 
of my problems.

Greetings
Tom

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Generation ToolKit conf file Beta

2009-07-07 Thread Zed Master

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with Verify Jobs

2009-07-07 Thread Christoph Kaminski
Hi all!

Im new on the list. I have a problem with verify jobs:

lilith-fd JobId 95:  Could not stat /etc/exports: ERR=No such file 
or directory
07-Jul 09:39 lilith-dir JobId 95: Bacula lilith-dir 2.4.4 (28Dec08): 
07-Jul-2009 09:39:12
   Build:  x86_64-pc-linux-gnu debian lenny/sid
   JobId:  95
   Job:lilith_InitCatalog.2009-07-07_09.36.20.39
   FileSet:Verify Set
   Verify Level:   InitCatalog
   Client: lilith-fd
   Verify JobId:   0
   Verify Job: lilith_Verify
   Start time: 07-Jul-2009 09:36:22
   End time:   07-Jul-2009 09:39:12
   Files Examined: 37,401
   Non-fatal FD errors:1
   FD termination status:  OK
   Termination:Verify OK

07-Jul 09:39 lilith-dir JobId 95: Begin pruning Jobs.
07-Jul 09:39 lilith-dir JobId 95: No Jobs found to prune.
07-Jul 09:39 lilith-dir JobId 95: Begin pruning Files.
07-Jul 09:39 lilith-dir JobId 95: No Files found to prune.
07-Jul 09:39 lilith-dir JobId 95: End auto prune.

07-Jul 12:06 lilith-dir JobId 96: Fatal error: Unable to find JobId of 
previous InitCatalog Job.
Please run a Verify with Level=InitCatalog before
running the current Job.
07-Jul 12:06 lilith-dir JobId 96: Error: Bacula lilith-dir 2.4.4 
(28Dec08): 07-Jul-2009 12:06:41
   Build:  x86_64-pc-linux-gnu debian lenny/sid
   JobId:  96
   Job:lilith_Verify.2009-07-07_12.06.39.40
   FileSet:Verify Set
   Verify Level:   Catalog
   Client: lilith-fd
   Verify JobId:   0
   Verify Job: lilith_InitCatalog
   Start time: 07-Jul-2009 12:06:41
   End time:   07-Jul-2009 12:06:41
   Files Examined: 0
   Non-fatal FD errors:0
   FD termination status:
   Termination:*** Verify Error ***

the config for this jobs:

Job {
   Name = lilith_InitCatalog
   Client = lilith-fd
   JobDefs = DefaultInitCatalog
   FileSet = Verify Set
}

Job {
   Name = lilith_Verify
   Client = lilith-fd
   JobDefs = DefaultVerifyJob
   FileSet = Verify Set
   Verify Job = lilith_InitCatalog
}

What Im doing wrong?

Greetz


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] exim4 and bsmtp on same machine

2009-07-07 Thread John Kennedy
Will there be any conflict if I install/configure exim4 on a machine
running bacula 2.2.6 which uses bsmtp to send Bacula status emails?
Thanks,
John

-- 
John Kennedy
Linux System Administrator
Publishing Technology plc
T: +44 1865 397838
M: +44 7771 962776
john.kenn...@publishingtechnology.com
http://www.publishingtechnology.com

Publishing Technology plc is registered in England No. 837205.
Registered Office: Unipart House, Garsington Road, Oxford OX4 2GQ.


The information in this message is intended solely for the addressee and should 
be considered confidential.  Publishing Technology does not accept legal 
responsibility for the contents of this message and any statements contained 
herein which do not relate to the official business of Publishing Technology 
are neither given nor endorsed by Publishing Technology and are those of the 
individual and not of Publishing Technology. This message has been scanned for 
viruses using the most current and reliable tools available and Publishing 
Technology excludes all liability related to any viruses that might exist in 
any attachment or which may have been acquired in transit.begin:vcard
fn:John Kennedy
n:Kennedy;John
org:Publishing Technology
adr:Garsington Rd;;Unipart House;Oxford;OXON;OX4 2GQ;United Kingdom
email;internet:john.kenn...@publishingtechnology.com
title:Linux System Administrator
tel;work:+44 1865 397 838
tel;cell:+44 7771 962 776
note:Publishing Technology plc is registered in England No. 837205.
x-mozilla-html:FALSE
url:http://www.publishingtechnology.com
version:2.1
end:vcard

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Volume relabel

2009-07-07 Thread Holikar, Sachin (ext)
 
Hello,
 
We are having Fujitsu Tape library with 2 magzines enabled with 23 Slots + 1 
I/E slot. Recently we are falling short of the space in volumes for our daily 
backups.
 
1  Is it possible to use the tapes defined in another Pools to be used in 
other??
 
Like we have this setup,
 
*list volumes
Pool: odd_week
+-++---+-+-+--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-++---+-+-+--+--+-+--+---+---+-+
|   3 | AAD395 | Append|   1 |  75,944,300,544 |   81 |   
10,368,000 |   1 |1 | 1 | LTO-3 | 2009-07-07 02:08:54 |
|   4 | AAD375 | Full  |   1 | 499,658,342,400 |  526 |   
10,368,000 |   1 |2 | 1 | LTO-3 | 2009-05-23 04:27:12 |
|   5 | AAD369 | Full  |   1 | 867,638,661,120 |  886 |   
10,368,000 |   1 |3 | 1 | LTO-3 | 2009-05-28 01:36:58 |
|   6 | AAD385 | Full  |   1 | 885,031,870,464 |  897 |   
10,368,000 |   1 |4 | 1 | LTO-3 | 2009-06-07 07:55:15 |
|   7 | AAD399 | Full  |   1 | 445,066,288,128 |  467 |   
10,368,000 |   1 |5 | 1 | LTO-3 | 2009-06-12 02:36:25 |
|   8 | AAD311 | Full  |   1 | 887,247,148,032 |  895 |
7,776,000 |   1 |6 | 1 | LTO-3 | 2009-06-21 07:00:48 |
|   9 | AAD473 | Full  |   1 | 492,571,763,712 |  519 |   
10,368,000 |   1 |7 | 1 | LTO-3 | 2009-07-04 08:08:47 |
+-++---+-+-+--+--+-+--+---+---+-+
Pool: even_week
+-++---+-+---+--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes  | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-++---+-+---+--+--+-+--+---+---+-+
|  14 | AAD365 | Full  |   1 | 1,284,135,422,976 |1,310 |   
10,368,000 |   1 |   12 | 1 | LTO-3 | 2009-05-17 02:15:42 |
|  15 | AAD383 | Full  |   1 |   494,928,580,608 |  522 |   
10,368,000 |   1 |   13 | 1 | LTO-3 | 2009-05-29 22:33:27 |
|  16 | AAD313 | Full  |   1 |   893,739,764,736 |  910 |   
10,368,000 |   1 |   14 | 1 | LTO-3 | 2009-06-04 00:23:29 |
|  17 | AAD373 | Full  |   1 |   864,231,975,936 |  874 |   
10,368,000 |   1 |   15 | 1 | LTO-3 | 2009-06-14 07:48:35 |
|  18 | AAD379 | Full  |   1 |   497,144,245,248 |  522 |   
10,368,000 |   1 |   16 | 1 | LTO-3 | 2009-06-27 08:27:59 |
|  19 | AAD377 | Append|   1 |   287,192,844,288 |  311 |   
10,368,000 |   1 |   17 | 1 | LTO-3 | 2009-07-07 09:00:46 |
|  20 | AAD363 | Full  |   1 |   898,777,764,864 |  940 |   
10,368,000 |   1 |   18 | 1 | LTO-3 | 2009-05-03 02:34:07 |
+-++---+-+---+--+--+-+--+---+---+-+
Pool: system_files
+-++---+-+-+--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-++---+-+-+--+--+-+--+---+---+-+
|  10 | AAD391 | Full  |   1 | 607,614,077,952 |  618 |   
10,368,000 |   1 |8 | 1 | LTO-3 | 2009-05-17 23:27:43 |
|  11 | AAD381 | Append|   1 | 113,380,098,048 |  114 |   
10,368,000 |   1 |9 | 1 | LTO-3 | 2009-05-18 03:45:04 |
|  12 | AAD619 | Full  |   1 | 606,982,311,936 |  612 |   
10,368,000 |   1 |   10 | 1 | LTO-3 | 2009-01-04 00:31:20 |
|  13 | AAD609 | Full  |   1 | 579,255,634,944 |  585 |   
10,368,000 |   1 |   11 | 1 | LTO-3 | 2009-03-08 06:04:04 |

Re: [Bacula-users] Tip: How to relabel an old tape without interrupting a running job that needs it

2009-07-07 Thread Martin Simmons
 On Mon, 06 Jul 2009 16:37:00 -0400, Phil Stracchino said:
 
 Problem:
 
 You have a running job which turns out to need one volume more than you
 anticipated.  You don't have another labelled tape ready.  You DO have
 some available tapes waiting to be relabelled, but they're volumes with
 a different label scheme from an earlier installation.
 
 You can't use the label command because the tapes are already labelled.
  You can't use btape to label them because the sd has your tape drive
 locked, and you can't release the tape drive without stopping the sd,
 which will interrupt the job.

Did you try the bconsole umount command?  That releases the drive for me
without stopping th sd.

__Martin

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] how to cancel correctly job ?

2009-07-07 Thread Olivier Delestre
Hi,

This is second time i have a problem with bacula ( v2.4.4 ).

In the night, i have network problem JobId 1884: Fatal error: Network  
error with FD during Backup: ERR=Connexion ré-initialisée par le  
correspondant.

The result are jobs are waiting.

when i cancel, the job are marked but nothing happen.

when i type, status storage in bconsole :
   Device status:
Device FileStorage (/sauvegarde) is mounted with:
   Volume: full-0618
   Pool:   full-pool
   Media type: File
==
Used Volume status

and... i blocked ( ssh hang )

when i type, unmout... i blocked ( ssh hang )

the only solution was to stop bacula / mysql.
and the band full-0618 is in error at the next backup (Error: Bacula  
cannot write on disk Volume full-0618 because: The sizes do not  
match! Volume=2045218 Catalog=216
Marking Volume full-0618 in Error in Catalog.). data on the tape is lost :-(


how to know what is blocking? and how to unblock it?
how to cancel job to prevent it from happening again?
you have a link to help me? I do not know what to do

Thanks







--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Generation ToolKit conf file Beta

2009-07-07 Thread Reynier Pérez Mira
Zed Master wrote:
 Please report me any bug, miss or anything at sha...@gmx.fr

Great, I'm developing something like that. Will be nice if you add 
multilanguage support (i18n) and also will be nice if you can share this 
code with me to use in my application (will be release as GPL when it's 
ended)

Cheers and thanks in advance
-- 
Ing. Reynier Pérez Mira

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Volume relabel

2009-07-07 Thread Holikar, Sachin (ext)

Hello,

We are having Fujitsu Tape library with 2 magzines enabled with 23 Slots + 1 
I/E slot. Recently we are falling short of the space in volumes for our daily 
backups.

1  Is it possible to use the tapes defined in another Pools to be used in 
other??

Like we have this setup,

*list volumes
Pool: odd_week
+-++---+-+-+--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-++---+-+-+--+--+-+--+---+---+-+
|   3 | AAD395 | Append|   1 |  75,944,300,544 |   81 |   
10,368,000 |   1 |1 | 1 | LTO-3 | 2009-07-07 02:08:54 |
|   4 | AAD375 | Full  |   1 | 499,658,342,400 |  526 |   
10,368,000 |   1 |2 | 1 | LTO-3 | 2009-05-23 04:27:12 |
|   5 | AAD369 | Full  |   1 | 867,638,661,120 |  886 |   
10,368,000 |   1 |3 | 1 | LTO-3 | 2009-05-28 01:36:58 |
|   6 | AAD385 | Full  |   1 | 885,031,870,464 |  897 |   
10,368,000 |   1 |4 | 1 | LTO-3 | 2009-06-07 07:55:15 |
|   7 | AAD399 | Full  |   1 | 445,066,288,128 |  467 |   
10,368,000 |   1 |5 | 1 | LTO-3 | 2009-06-12 02:36:25 |
|   8 | AAD311 | Full  |   1 | 887,247,148,032 |  895 |
7,776,000 |   1 |6 | 1 | LTO-3 | 2009-06-21 07:00:48 |
|   9 | AAD473 | Full  |   1 | 492,571,763,712 |  519 |   
10,368,000 |   1 |7 | 1 | LTO-3 | 2009-07-04 08:08:47 |
+-++---+-+-+--+--+-+--+---+---+-+
Pool: even_week
+-++---+-+---+--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes  | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-++---+-+---+--+--+-+--+---+---+-+
|  14 | AAD365 | Full  |   1 | 1,284,135,422,976 |1,310 |   
10,368,000 |   1 |   12 | 1 | LTO-3 | 2009-05-17 02:15:42 |
|  15 | AAD383 | Full  |   1 |   494,928,580,608 |  522 |   
10,368,000 |   1 |   13 | 1 | LTO-3 | 2009-05-29 22:33:27 |
|  16 | AAD313 | Full  |   1 |   893,739,764,736 |  910 |   
10,368,000 |   1 |   14 | 1 | LTO-3 | 2009-06-04 00:23:29 |
|  17 | AAD373 | Full  |   1 |   864,231,975,936 |  874 |   
10,368,000 |   1 |   15 | 1 | LTO-3 | 2009-06-14 07:48:35 |
|  18 | AAD379 | Full  |   1 |   497,144,245,248 |  522 |   
10,368,000 |   1 |   16 | 1 | LTO-3 | 2009-06-27 08:27:59 |
|  19 | AAD377 | Append|   1 |   287,192,844,288 |  311 |   
10,368,000 |   1 |   17 | 1 | LTO-3 | 2009-07-07 09:00:46 |
|  20 | AAD363 | Full  |   1 |   898,777,764,864 |  940 |   
10,368,000 |   1 |   18 | 1 | LTO-3 | 2009-05-03 02:34:07 |
+-++---+-+---+--+--+-+--+---+---+-+
Pool: system_files
+-++---+-+-+--+--+-+--+---+---+-+
| MediaId | VolumeName | VolStatus | Enabled | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten |
+-++---+-+-+--+--+-+--+---+---+-+
|  10 | AAD391 | Full  |   1 | 607,614,077,952 |  618 |   
10,368,000 |   1 |8 | 1 | LTO-3 | 2009-05-17 23:27:43 |
|  11 | AAD381 | Append|   1 | 113,380,098,048 |  114 |   
10,368,000 |   1 |9 | 1 | LTO-3 | 2009-05-18 03:45:04 |
|  12 | AAD619 | Full  |   1 | 606,982,311,936 |  612 |   
10,368,000 |   1 |   10 | 1 | LTO-3 | 2009-01-04 00:31:20 |
|  13 | AAD609 | Full  |   1 | 579,255,634,944 |  585 |   
10,368,000 |   1 |   11 | 1 | LTO-3 | 2009-03-08 06:04:04 |

Re: [Bacula-users] exim4 and bsmtp on same machine

2009-07-07 Thread Marc Schiffbauer
* John Kennedy schrieb am 07.07.09 um 10:27 Uhr:
 Will there be any conflict if I install/configure exim4 on a machine
 running bacula 2.2.6 which uses bsmtp to send Bacula status emails?
 Thanks,
 John

No.

-Marc
-- 
+--+
|  -- http://www.links2linux.de --   |
|  |
+---Registered-Linux-User-#136487http://counter.li.org +

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Volume relabel

2009-07-07 Thread John Drescher
On Tue, Jul 7, 2009 at 5:50 AM, Holikar, Sachin
(ext)sachin.holikar@siemens.com wrote:

 Hello,

 We are having Fujitsu Tape library with 2 magzines enabled with 23 Slots + 1 
 I/E slot. Recently we are falling short of the space in volumes for our daily 
 backups.

 1  Is it possible to use the tapes defined in another Pools to be used in 
 other??


No a volume can be in only 1 pool at a time. To solve this on my 23 +
1 autochanger I removed tapes and inserted new ones. I have over 60
tapes my changer.


-- 
John M. Drescher

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula job times out after 2 hours 11 mins 15 secs

2009-07-07 Thread Gavin McCullagh
Hi,

we have two Ubuntu Hardy Heron (8.04) servers running the packaged versions
of bacula-dir/bacula-sd (the backup server) and bacula-fd (the client).
All versions are 2.2.8-5ubuntu7.2 (out of support, I know).

I set up a reasonably large (190GB) backup job recently.  The estimation
says:
2000 OK estimate files=256194 bytes=190,196,003,597

Every time the backup runs it fails with the same elapsed time 2 hours 11 mins
15 secs, (7875 seconds). I had thought the router/firewall in between might be
causing some problem, eg clearing out the connection and dropping packets after
that number of seconds.

I ran a job manually this morning and took a tcpdump at both ends to
try and see what's going on.   It appears at the moment that data is still
flowing and the bacula-sd host sends a tcp reset, but I'm still trying to
understand it completely.

Does anyone have any thoughts why this might happen?  Has anyone come
across a bacula or linux issue that might cause this?  Does this magic
time limit ring any bells for anyone?

A report from the most recent trial is below.

Thanks in advance,
Gavin


- Forwarded message from Bacula  -

07-Jul 11:08 cuimhne-dir JobId 58: Start Backup JobId 58, 
Job=MagniBackups-Job.2009-07-07_11.08.00
07-Jul 11:08 cuimhne-dir JobId 58: Using Device MagniBackups-Device
07-Jul 11:08 cuimhne-sd JobId 58: Volume MagniBackups-1 previously written, 
moving to end of data.
07-Jul 11:08 cuimhne-sd JobId 58: Ready to append to end of Volume 
MagniBackups-1 size=271464100442
07-Jul 13:19 cuimhne-dir JobId 58: Fatal error: Network error with FD during 
Backup: ERR=Connection timed out
07-Jul 13:19 cuimhne-sd JobId 58: Job MagniBackups-Job.2009-07-07_11.08.00 
marked to be canceled.
07-Jul 13:19 cuimhne-sd JobId 58: Job write elapsed time = 02:11:15, Transfer 
rate = 6.766 M bytes/second
07-Jul 13:19 cuimhne-dir JobId 58: Fatal error: No Job status returned from FD.
07-Jul 13:19 cuimhne-dir JobId 58: Error: Bacula cuimhne-dir 2.2.8 (26Jan08): 
07-Jul-2009 13:19:55
  Build OS:   x86_64-pc-linux-gnu debian lenny/sid
  JobId:  58
  Job:MagniBackups-Job.2009-07-07_11.08.00
  Backup Level:   Full
  Client: magni-fd 2.2.8 (26Jan08) 
x86_64-pc-linux-gnu,debian,lenny/sid
  FileSet:MagniBackups-FileSet 2009-07-03 15:34:43
  Pool:   MagniBackups-Pool (From Job resource)
  Storage:MagniBackups-Storage (From Job resource)
  Scheduled time: 07-Jul-2009 11:08:35
  Start time: 07-Jul-2009 11:08:40
  End time:   07-Jul-2009 13:19:55
  Elapsed time:   2 hours 11 mins 15 secs
  Priority:   10
  FD Files Written:   0
  SD Files Written:   1,711
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   53,282,772,121 (53.28 GB)
  Rate:   0.0 KB/s
  Software Compression:   None
  VSS:no
  Storage Encryption: no
  Volume name(s): MagniBackups-1
  Volume Session Id:  26
  Volume Session Time:1246631419
  Last Volume Bytes:  324,786,491,053 (324.7 GB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  Canceled
  Termination:*** Backup Error ***


- End forwarded message -


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with Verify Jobs

2009-07-07 Thread Olaf Zevenboom
Christoph,

Please reread your post: the problem is reported:
You have to run an initCatalog verify first. Check the manual for details.

Regards
Olaf

Christoph Kaminski wrote:
 Hi all!

 Im new on the list. I have a problem with verify jobs:

 lilith-fd JobId 95:  Could not stat /etc/exports: ERR=No such file 
 or directory
 07-Jul 09:39 lilith-dir JobId 95: Bacula lilith-dir 2.4.4 (28Dec08): 
 07-Jul-2009 09:39:12
Build:  x86_64-pc-linux-gnu debian lenny/sid
JobId:  95
Job:lilith_InitCatalog.2009-07-07_09.36.20.39
FileSet:Verify Set
Verify Level:   InitCatalog
Client: lilith-fd
Verify JobId:   0
Verify Job: lilith_Verify
Start time: 07-Jul-2009 09:36:22
End time:   07-Jul-2009 09:39:12
Files Examined: 37,401
Non-fatal FD errors:1
FD termination status:  OK
Termination:Verify OK

 07-Jul 09:39 lilith-dir JobId 95: Begin pruning Jobs.
 07-Jul 09:39 lilith-dir JobId 95: No Jobs found to prune.
 07-Jul 09:39 lilith-dir JobId 95: Begin pruning Files.
 07-Jul 09:39 lilith-dir JobId 95: No Files found to prune.
 07-Jul 09:39 lilith-dir JobId 95: End auto prune.

 07-Jul 12:06 lilith-dir JobId 96: Fatal error: Unable to find JobId of 
 previous InitCatalog Job.
 Please run a Verify with Level=InitCatalog before
 running the current Job.
 07-Jul 12:06 lilith-dir JobId 96: Error: Bacula lilith-dir 2.4.4 
 (28Dec08): 07-Jul-2009 12:06:41
Build:  x86_64-pc-linux-gnu debian lenny/sid
JobId:  96
Job:lilith_Verify.2009-07-07_12.06.39.40
FileSet:Verify Set
Verify Level:   Catalog
Client: lilith-fd
Verify JobId:   0
Verify Job: lilith_InitCatalog
Start time: 07-Jul-2009 12:06:41
End time:   07-Jul-2009 12:06:41
Files Examined: 0
Non-fatal FD errors:0
FD termination status:
Termination:*** Verify Error ***

 the config for this jobs:

 Job {
Name = lilith_InitCatalog
Client = lilith-fd
JobDefs = DefaultInitCatalog
FileSet = Verify Set
 }

 Job {
Name = lilith_Verify
Client = lilith-fd
JobDefs = DefaultVerifyJob
FileSet = Verify Set
Verify Job = lilith_InitCatalog
 }

 What Im doing wrong?

 Greetz


 --
 Enter the BlackBerry Developer Challenge  
 This is your chance to win up to $100,000 in prizes! For a limited time, 
 vendors submitting new applications to BlackBerry App World(TM) will have 
 the opportunity to enter the BlackBerry Developer Challenge. See full prize 
 details at: http://p.sf.net/sfu/blackberry
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Always Open does not work with 3.0.1?

2009-07-07 Thread Sascha Wilde
Sascha Wilde wi...@sha-bang.de wrote:
 Sascha Wilde wi...@sha-bang.de wrote:
 ... Volume MYVOL previously written, moving to end of data.
 [...]
 ... Ready to append to end of Volume MYVOL at file=XX.

 witch takes a few minutes (depending on how full the tape is).
 [...]
 And as far as I understand the Always Open = yes; should prevent
 exactly this problem.

 Interesting additional observation: 
[...]
 So this _might_ be either related to the automatic update to full, or
 the manual starting of the jobs...

 I'll keep you up to date as I collect more information on this issue.

Ok, today a regularly scheduled full backup ran, and the problem
reappeared.  So for now it looks to me as if the problem appears
whenever a full-backup is made.

Anybody else, who noted this problem?

cheers
sascha
-- 
Sascha Wilde : Ist es nicht schon schlimm genug, dass ICH hier rumtrolle?
 : (Henning Leise in d.o.c.)

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tip: How to relabel an old tape without interrupting a running job that needs it

2009-07-07 Thread John Drescher
On Tue, Jul 7, 2009 at 6:14 AM, Martin Simmonsmar...@lispworks.com wrote:
 On Mon, 06 Jul 2009 16:37:00 -0400, Phil Stracchino said:

 Problem:

 You have a running job which turns out to need one volume more than you
 anticipated.  You don't have another labelled tape ready.  You DO have
 some available tapes waiting to be relabelled, but they're volumes with
 a different label scheme from an earlier installation.

 You can't use the label command because the tapes are already labelled.
  You can't use btape to label them because the sd has your tape drive
 locked, and you can't release the tape drive without stopping the sd,
 which will interrupt the job.

 Did you try the bconsole umount command?  That releases the drive for me
 without stopping th sd.


This should be enough to allow external utilities to have access to
the tape drive. After you are done with the label however you will
have to use the mount command to tell bacula to use the volume again.

John

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with Verify Jobs

2009-07-07 Thread Christoph Kaminski
Olaf Zevenboom schrieb:
 Christoph,
 
 Please reread your post: the problem is reported:
 You have to run an initCatalog verify first. Check the manual for details.
 
 Regards
 Olaf
 

as you see in the log, I have started an InitCatalogbefor Verify...


Greetz

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula job times out after 2 hours 11 mins 15 secs

2009-07-07 Thread James Harper
The default keepalive settings in the Linux kernel are:
tcp_keepalive_time = 7200 seconds (2 hours)
tcp_keepalive_intvl = 75 seconds
tcp_keepalive_probes = 9

So, after 7200 seconds of inactivity on a connection, Linux will send 9
probes (dummy packets) on the connection, 75 seconds apart.

7200 + 9 * 75 = 7875 seconds = 2 hours, 11 minutes and 15 seconds. I
don't think that's a coincidence.

There are 3 TCP connections when a backup runs:
DIR-SD
DIR-FD
FD-SD

The FD-SD one moves a lot of traffic, and one of the DIR-SD or DIR-FD
ones moves a bit (attributes) but I can't remember which one. The other
one is probably sitting idle and a firewall somewhere is timing out the
connection long before the 2 hours that Linux uses as a minimum. When
that connection drops, the DIR will assume that something has gone wrong
and kill the job even though traffic is moving around on the other
connections.

It should be pretty easy to fix, one of the following should do the job:
. Use bacula's keepalive options (described in the docs I think)
. Lower the tcp_keepalive_time (/proc/sys/net/ipv4/tcp_keepalive_time)
to 90 seconds. This change is global but should only start to cause
problems if you have hundreds or thousands of mostly-idle TCP
connections.
. Change the settings in the firewall
(okay that last one might be harder and/or undesirable, depending on the
firewall)

James


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users