Re: [Bacula-users] Hey Kern....

2005-11-30 Thread Beren Gamble
Kern,

BIG Thanks from us too! We're backing up 50 servers with our 3 bacula boxes 
This has allowed us to uninstall ARCserve from 15 servers, whcih I took much 
pleasure in doing.

What are the future plans for Bacula? Will it ever turn in to a commercial 
product?

Keep up the absolutely fantastic work, Kern.

Beren

 Kern Sibbald [EMAIL PROTECTED] 29/11/2005 21:00:03 
Hello Mark,

Kind notes like yours are one of the big motivations for continuing to work on 
Bacula, since it already does a lot more than I need here ...

Thanks.

On Tuesday 29 November 2005 21:26, Mark Hazen wrote:
 Kern-

 Knowing full and well the weight that publically supporting a project
 with the size and scope of Bacula puts on your shoulders, I'd like to
 say thank you, thank you, thank you. You do an admirable job, and yes,
 while Bacula may not be as easy to get into as some of the commercial
 backup systems, it's been far more flexible, and just as resilient and
 dependable for us here.

 No reply is necessary, I know you've got a lot of fish to fry, but I
 wanted to say thanks. I think it's important to know how much we all
 do appreciate your hard work.

 The same goes for those of you Bacula gurus who take the time to answer
 the community questions. I spent a month reading documentation and
 testing before implementing our Bacula environment here which alleviated
 a great deal of my disorientation by itself, but I also know I was
 graciously given the time to do things right by my employer, which isn't
 a luxury everyone has access to when rolling out backup services.

 Cheers, and thanks.
 -mh.

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users



***
Mail FROM London Borough of Harrow:
Unencrypted electronic mail is not secure and may not be authentic, in whole or 
in part. You are advised to check directly with the sender before acting upon 
any e-mail received. 

The information contained in this message and any attachments is confidential 
and is intended for receipt by the above named addressee(s) only. If you have 
otherwise encountered this message please notify its originator via +44(0)20 
8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure, 
copying or alteration of this message is strictly forbidden. The  views 
expressed within this message are those of the individual sender and not 
necessarily those of Harrow Council.

Mail TO London Borough of Harrow:
London Borough of Harrow monitors all electronic mail it receives for Policy 
compliance and to protect its systems including anti-spam and anti-virus 
measures. 

Electronic mail does not guarantee delivery, nor notification of non-delivery. 
It is suggested you contact your intended recipient(s) by other means should 
confirmation of receipt be important.
***



---
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://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: **Possibile SPAM**Re: **Possibile SPAM**[Bacula-users] Restore files

2005-11-30 Thread Ferdinando Pasqualetti

I am sorry Kern, but by backup job was
already recycled (I have no space for more than 3 full backups on the disk
storage, and using incremental or differential changes only some percent
of space, because the system contains mastly huge mail notes databases,
which are changed continuously).
The restore was done to rebuild the
system on bigger disks, and I am going to do the same operation tomorrow
on the brother cluster system, so I can see if this problem comes again
and apply your suggestions.

--
Ferdinando Pasqualetti
G.T.Dati srl
Tel. 0557310862 - 3356172731 - Fax 055720143




Kern Sibbald [EMAIL PROTECTED] wrote on 29/11/2005
22.11.05:

 Try putting the attached file in your scripts directory, then do in
 bconsole:
 
  query
  16
  (jobid) 
  /uno/notesdata/ravarino/
  mmonesi.nsf
  (jobid)
  (jobid)
  (jobid)
 
 
 where you replace (jobid) with the jobid of the backup 
 job where /uno/notesdata/ravarino/mmonesi.nsf was saved
 
 Then send me the output. That will tell us where mmonesi.nsf was
 on the backup.
 
 On Monday 28 November 2005 16:00, Ferdinando Pasqualetti wrote:
  Hello list,
 
  sorry I sent the original message with a wrong sender address,
it is here
  anyway. Again I was impressed by the restore performance during
a massive
  restore. Trying to restore single files it seemed to me
that positioning
  performance in disk files was less efficient than using tapes.
Doing
  status storage=.. during the restore it seems that
positioning in the
  volume is done by subsequent readings of data blocks, while on
a tape this
  is done by skip-files and or skip blocks. This could be kept
unimportant
  using small volume size (I remember a Kern advice about that),
but I would
  like to keep disk volume sizes in a 1:1 ratio with tape ones,
in order to
  move them if necessary. I know that on a disk file you cannot
write EOF, as
  on tapes, and probably disk media are considered tapes that cannot
skip
  files or blocks, but tapes anyway, so they cannot fseek, but
a
  consideration about this behavior I think should be done.
 
  Regards,
  
  --
  Ferdinando Pasqualetti
  G.T.Dati srl
  Tel. 0557310862 - 3356172731 - Fax 055720143
 
  [EMAIL PROTECTED] wrote on 28/11/2005
11.21.42:
   Hello list,
   this is to show the (for me) impressive throughput
in restoring
   files. Client and server are two HP Proliant G3 with
3 Gb RAM and
   mirrored SCSI disks, connected with a gigabit link.
   There is a problem in restoring one file (I think
it is the last
   one), which resulted truncated. I tried to repeat
the restore for
   that file only, but I got the same problem.
   Happy backup and restore to everybody and many thanks
to people
   providing this exceptional tool.
  
  
   26-Nov 12:31 domino2: RestoreFiles.2005-11-26_11.00.27
Error:
   attribs.c:339 File size of restored file
   /uno/notesdata/ravarino/mmonesi.nsf not correct. Original
   1132986368, restored 715489280.
   26-Nov 12:31 bacula-sd: End of all volumes.
   26-Nov 12:31 bacula-dir: RestoreFiles.2005-11-26_11.00.27
Error:
   Bacula 1.36.3 (22Apr05): 26-Nov-2005 12:31:04
   JobId:  
  3060
   Job:  
   RestoreFiles.2005-11-26_11.00.27
   Client:  
  domino2
   Start time: 
 26-Nov-2005 11:00:29
   End time: 
  26-Nov-2005 12:31:04
   Files Expected:
8,510
   Files Restored:
8,510
   Bytes Restored:
255,108,659,471
   Rate:  
   46938.1 KB/s
   FD Errors: 
 2
   FD termination status: Error
   SD termination status: OK
   Termination: 
*** Restore Error ***
  
   Ferdinando Pasqualetti
   ---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
   ___ Bacula-users
mailing
   list Bacula-users@lists.sourceforge.net https://lists.sourceforge.
   net/lists/listinfo/bacula-users 
   ---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
   ___ Bacula-users
mailing
   list Bacula-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 -- 
 Best regards,
 
 Kern
 
  (
  /\
  V_V
 [attachment query.sql deleted by Ferdinando Pasqualetti/San

 Lazzaro/Conserve Italia] 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through 

Re: [Bacula-users] What's the meaning of the name Bacula ?

2005-11-30 Thread Kern Sibbald
On Wednesday 30 November 2005 05:10, Phil Stracchino wrote:
 Kern Sibbald wrote:
  On Tuesday 29 November 2005 20:51, Phil Stracchino wrote:
 Also, a baculum is a rod or stick.
 
  Well, that is a slightly watered down meaning ... :-)

 No, it's just that zoologists co-opted the word to mean a specific bone.

  :)  Just like the malleus in your middle ear isn't a real hammer.

Ah, you mean to say that if we go back to the real origins of the word that 
the inside story of the name is not as spicy as I thought it was, ah :-(
Just joking, of course :-)


-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore files

2005-11-30 Thread Ferdinando Pasqualetti

Sorry for the SPAM advice in the subject,
I have to deal with a silly SPAM guard and usually I forget to wipe it
from the subject.
--
Ferdinando Pasqualetti
G.T.Dati srl
Tel. 0557310862 - 3356172731 - Fax 055720143





---
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://ads.osdn.com/?ad_id=7637_id=16865=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to restore from aborded job?

2005-11-30 Thread Benoit Panizzon
 It is pretty easy to write your own bootstrap file for doing this, from the
 data stored in the job record llist jobid=50 -- then look at the examples
 at the end of the restore chapter -- they talk about using bls output for
 the information, if I remember right, but you should see the same values in
 the llist listing ...

Hi Kern

Thank you very much for your help. But I fear I need a bit more support or did 
something wrong.

Here's what I did:

*llist jobid=50
Using default Catalog name=MyCatalog DB=bacula
   JobId: 50
 Job: bang.2005-11-04_18.35.26
Job.Name: bang
 PurgedFiles: 0
Type: B
   Level: F
Job.ClientId: 5
 Client.Name: bang.woody.ch-fd
   JobStatus: f
   SchedTime: 2005-11-04 18:35:25
   StartTime: 2005-11-04 21:53:50
 EndTime: 2005-11-05 10:32:14
JobTDate: 1131183134
VolSessionId: 15
  VolSessionTime: 1130917066
JobFiles: 19993
   JobErrors: 0
 JobMissingFiles: 0
  Job.PoolId: 1
   Pool.Name: Default
   Job.FileSetId: 7
 FileSet.FileSet: Full Set

I'm quite sure the Data is on 'Tape2'.

The Bootstrap File I then wrote looks like:

Volume=Tape2
VolSessionId=15
VolSessionTime=1130917066
FileIndex=1-19993

I did a run = restore, and then selected the mentioned bootstrap file. Left 
the client alone (bang does not exist anymore at the time) and path 
to /tmp/bacula-restores

But still no files restored:

30-Nov 01:22 quasar.woody.ch-dir: Bacula 1.36.2 (28Feb05): 30-Nov-2005 
01:22:26
  JobId:  53
  Job:RestoreFiles.2005-11-29_22.32.24
  Client: quasar.woody.ch-fd
  Start time: 29-Nov-2005 22:32:26
  End time:   30-Nov-2005 01:22:26
  Files Expected: 0
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK

What did go wrong?

Did I get the wrong tape?
What does the 'client' setting in a restore job exactly mean? Does it mean 
that I want to restore TO that client, or that I want restore files that were 
saved FROM that client? (but then where do I specify on to client I want to 
restore?)

Sincerely
-- 
Benoît Panizzon, [EMAIL PROTECTED]

ImproWare AG, UNIXSP  ISP   Phone:   +41 61 826 93 00
 Kabelinternet-Hotline:   +41 61 826 93 07
Zurlindenstrasse 29Fax:   +41 61 826 93 01
CH-4133 Pratteln   Net:   http://www.imp.ch/



---
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://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Hey Kern....

2005-11-30 Thread Kern Sibbald
On Wednesday 30 November 2005 10:00, Beren Gamble wrote:
 Kern,

 BIG Thanks from us too! We're backing up 50 servers with our 3 bacula
 boxes This has allowed us to uninstall ARCserve from 15 servers, whcih
 I took much pleasure in doing.

Thanks. That gives me pleasure to hear ... :-)


 What are the future plans for Bacula? 

Continue on the same path slowly becoming enterprise grade software, with more 
and more contributions from other Open Source developers, and with me 
devoting more time to ensure high quality integration of those contributions 
and to improve the quality of what is released ...

 Will it ever turn in to a commercial product?

Bacula will not become a commercial product while I have something to say 
about it, and I doubt that even after I am gone it will go commercial.  Right 
now a Foundation to guarantee Bacula's future Open Source status is too 
expensive . However, who knows what we will see in a year or two. The project 
certainly seems to be gaining momentum, so things are looking possitive, and 
given the horrible economic climate that is shaping up, and the participation 
of some big players in Bacula's evolution, Bacula's future is looking 
brighter and brighter ...


 Keep up the absolutely fantastic work, Kern.

Thanks.


 Beren

  Kern Sibbald [EMAIL PROTECTED] 29/11/2005 21:00:03 

 Hello Mark,

 Kind notes like yours are one of the big motivations for continuing to work
 on Bacula, since it already does a lot more than I need here ...

 Thanks.

 On Tuesday 29 November 2005 21:26, Mark Hazen wrote:
  Kern-
 
  Knowing full and well the weight that publically supporting a project
  with the size and scope of Bacula puts on your shoulders, I'd like to
  say thank you, thank you, thank you. You do an admirable job, and yes,
  while Bacula may not be as easy to get into as some of the commercial
  backup systems, it's been far more flexible, and just as resilient and
  dependable for us here.
 
  No reply is necessary, I know you've got a lot of fish to fry, but I
  wanted to say thanks. I think it's important to know how much we all
  do appreciate your hard work.
 
  The same goes for those of you Bacula gurus who take the time to answer
  the community questions. I spent a month reading documentation and
  testing before implementing our Bacula environment here which alleviated
  a great deal of my disorientation by itself, but I also know I was
  graciously given the time to do things right by my employer, which isn't
  a luxury everyone has access to when rolling out backup services.
 
  Cheers, and thanks.
  -mh.

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to restore from aborded job?

2005-11-30 Thread Kern Sibbald
On Wednesday 30 November 2005 10:22, Benoit Panizzon wrote:
  It is pretty easy to write your own bootstrap file for doing this, from
  the data stored in the job record llist jobid=50 -- then look at the
  examples at the end of the restore chapter -- they talk about using bls
  output for the information, if I remember right, but you should see the
  same values in the llist listing ...

 Hi Kern

 Thank you very much for your help. But I fear I need a bit more support or
 did something wrong.

 Here's what I did:

 *llist jobid=50
 Using default Catalog name=MyCatalog DB=bacula
JobId: 50
  Job: bang.2005-11-04_18.35.26
 Job.Name: bang
  PurgedFiles: 0
 Type: B
Level: F
 Job.ClientId: 5
  Client.Name: bang.woody.ch-fd
JobStatus: f
SchedTime: 2005-11-04 18:35:25
StartTime: 2005-11-04 21:53:50
  EndTime: 2005-11-05 10:32:14
 JobTDate: 1131183134
 VolSessionId: 15
   VolSessionTime: 1130917066
 JobFiles: 19993
JobErrors: 0
  JobMissingFiles: 0
   Job.PoolId: 1
Pool.Name: Default
Job.FileSetId: 7
  FileSet.FileSet: Full Set

 I'm quite sure the Data is on 'Tape2'.

 The Bootstrap File I then wrote looks like:

 Volume=Tape2
 VolSessionId=15
 VolSessionTime=1130917066
 FileIndex=1-19993

 I did a run = restore, and then selected the mentioned bootstrap file.
 Left the client alone (bang does not exist anymore at the time) and path to
 /tmp/bacula-restores

This looks fine to me.  The client does not need to exist to restore files 
backed up for the Client.  However, the client you specify below must exist.


 But still no files restored:

 30-Nov 01:22 quasar.woody.ch-dir: Bacula 1.36.2 (28Feb05): 30-Nov-2005
 01:22:26
   JobId:  53
   Job:RestoreFiles.2005-11-29_22.32.24
   Client: quasar.woody.ch-fd
   Start time: 29-Nov-2005 22:32:26
   End time:   30-Nov-2005 01:22:26
   Files Expected: 0
   Files Restored: 0
   Bytes Restored: 0
   Rate:   0.0 KB/s
   FD Errors:  0
   FD termination status:  OK
   SD termination status:  OK
   Termination:Restore OK

 What did go wrong?

I'd like to see the output where it asks you to run the job to make sure you 
pointed it to the correct bootstrap file (i.e. the one you wrote).


 Did I get the wrong tape?

Perhaps, or perhaps it was recycled and overwritten.

Run in bconsole:

  query
  17
  Tape2

See if JobId=50 is in the list it prints. If not, there is some problem with 
the Volume name.  According to the output, the job is not purged, so it 
should be OK.


 What does the 'client' setting in a restore job exactly mean? 

When you first select Client in the restore command, it determines what 
client/jobs we are talking about to find the files.

At the Run Job prompt, it says where the files are going to be sent to be 
restored.

In your case, it determines where the files will be stored, but for the moment 
none are found.

 Does it mean 
 that I want to restore TO that client, or that I want restore files that
 were saved FROM that client? 

 (but then where do I specify on to client I 
 want to restore?)

That is implicit (in your case) in the bsr file.

If all the above fails, do a bls of the volume.  Unfortunately, version 1.36.2 
bls doesn't supply all the info that is needed, but you could try it anyway 
to see if your files are there.  If they are and you *really* want to recover 
them, load version 1.38.2 somewhere and build it.  No need to install it, 
then copy the 1.38.2 bls into your install directory and run it.  It will 
give you all the VolSessionId/Time info and FileIndex info that you need to 
pull one or more files.

The end of the Restore chapter in the current manual gives some nice examples.


 Sincerely

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-web 1.2

2005-11-30 Thread Stephan Holl
Dear List,

just wanted to let you know that I really like to web-interface which
shipps with bacula. 

It was really easy to install it on my bacula-dir using postgres and
works smoothly!

Keep up the good work guys...

Best
Stephan


-- 
Stephan Holl

Check headers for GnuPG Key!
http://www.gdf-hannover.de



signature.asc
Description: PGP signature


Re: [Bacula-users] How to restore from aborded job?

2005-11-30 Thread Benoit Panizzon
 Run in bconsole:

   query
   17
   Tape2

 See if JobId=50 is in the list it prints. If not, there is some problem
 with the Volume name.  According to the output, the job is not purged, so
 it should be OK.

Hmm, I think this is the Problem:

Choose a query (1-15): 15
Enter Volume name: Tape2
+---+---+-+--+---+---+--++
| JobId | Name  | StartTime   | Type | Level | Files | Bytes
| Status |
+---+---+-+--+---+---+--++
| 49| c-3po | 2005-11-04 21:51:37 | B| F | 0 | 0
| f  |
| 52| BackupCatalog | 2005-11-05 11:20:12 | B| F | 1 | 
10869975 | T  |
+---+---+-+--+---+---+--++
Choose a query (1-15): 15
Enter Volume name: Tape1
+---++-+--+---+---+++
| JobId | Name   | StartTime   | Type | Level | Files | Bytes  | 
Status |
+---++-+--+---+---+++
| 46| Quasar | 2005-11-04 18:35:20 | B| F | 21165 | 2981302325 | T  

|
| 47| Magma  | 2005-11-04 18:35:21 | B| F | 20073 | 7877821395 | T  

|
| 48| Fifi   | 2005-11-04 21:51:36 | B| F | 2558  | 62148389   | T  

|
| 49| c-3po  | 2005-11-04 21:51:37 | B| F | 0 | 0  | f  

|
+---++-+--+---+---+++

As I use disk-spooling. I suppose the storage node did not send the data to 
the tape as the backup failed?
So I suppose the data is lost...

Sincerely
-- 
Benoît Panizzon, [EMAIL PROTECTED]

ImproWare AG, UNIXSP  ISP   Phone:   +41 61 826 93 00
 Kabelinternet-Hotline:   +41 61 826 93 07
Zurlindenstrasse 29Fax:   +41 61 826 93 01
CH-4133 Pratteln   Net:   http://www.imp.ch/



---
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://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to restore from aborded job?

2005-11-30 Thread Kern Sibbald
On Wednesday 30 November 2005 10:58, Benoit Panizzon wrote:
  Run in bconsole:
 
query
17
Tape2
 
  See if JobId=50 is in the list it prints. If not, there is some problem
  with the Volume name.  According to the output, the job is not purged, so
  it should be OK.

 Hmm, I think this is the Problem:

 Choose a query (1-15): 15
 Enter Volume name: Tape2
 +---+---+-+--+---+---+-
-++

 | JobId | Name  | StartTime   | Type | Level | Files |
 | Bytes Status |

 +---+---+-+--+---+---+-
-++

 | 49| c-3po | 2005-11-04 21:51:37 | B| F | 0 | 0
 | f  |
 | 52| BackupCatalog | 2005-11-05 11:20:12 | B| F | 1 |

 10869975 | T  |
 +---+---+-+--+---+---+-
-++ Choose a query (1-15): 15
 Enter Volume name: Tape1
 +---++-+--+---+---+
++

 | JobId | Name   | StartTime   | Type | Level | Files | Bytes 
 | |

 Status |
 +---++-+--+---+---+
++

 | 46| Quasar | 2005-11-04 18:35:20 | B| F | 21165 | 2981302325
 | | T
 |
 | 47| Magma  | 2005-11-04 18:35:21 | B| F | 20073 | 7877821395
 | | T
 |
 | 48| Fifi   | 2005-11-04 21:51:36 | B| F | 2558  | 62148389  
 | | T
 |
 | 49| c-3po  | 2005-11-04 21:51:37 | B| F | 0 | 0 
 | | f

 +---++-+--+---+---+
++

 As I use disk-spooling. I suppose the storage node did not send the data to
 the tape as the backup failed?

No, this is not possible.  The llist record showed all the correct 
information, which means that everything was written to the tape, otherwise 
this information would not be there.

 So I suppose the data is lost...

I think this is unlikely unless the tape was overwritten, which does not seem 
to be the case.  It looks more like some of the records for the Job were 
pruned.

If the files are important, I recommend doing the bls to see *exactly* what is 
on the volume.


 Sincerely

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-web 1.2

2005-11-30 Thread Kern Sibbald
On Wednesday 30 November 2005 10:57, Stephan Holl wrote:
 Dear List,

 just wanted to let you know that I really like to web-interface which
 shipps with bacula.

 It was really easy to install it on my bacula-dir using postgres and
 works smoothly!

Thanks. The bacula-web project is written and supported by 
Juan Luis Frances, so thanks Juan Luis!


 Keep up the good work guys...

 Best
   Stephan

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Pool

2005-11-30 Thread Alan Brown

On Wed, 30 Nov 2005, Ryan Novosielski wrote:

I would like to argue with this one slightly. Most of the backups I do are 
for disaster recovery (ie. fire, monumental screwup, disk failure, etc.).


Ditto

I don't need generations of data because our policy is that we don't 
keep things for data-recovery purposes, only for our own mistakes or 
troubles.


If we were keeping for data recovery we would be keeping far more than 
just 3 generations.


3 ensures that one complete set is in the data safe if there are problems 
with making a backup.


AB




---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Recycling Directives (was: Pool)

2005-11-30 Thread Kern Sibbald
On Wednesday 30 November 2005 05:33, Ryan Novosielski wrote:
 Kern,

 This is finally the chance for me to ask my question. ;)

 I'm staring right at the manual as we speak. I clearly don't want Purge
 Oldest Volume, as this one is dangerous and doesn't respect retention
 periods. However, with regard to Recycle Oldest Volume and Recycle Current
 Volume, I see instances where there could be no difference.

 My backup scenario for you, FYI, is a Full every 1st and 3rd Tuesday and
 Incrementals between (one tape per week, two tapes total). My fulls are
 held a couple hours short of 29 days and my incrementals are held a couple
 hours short of 14 days.

 I have not set Recycle Oldest Volume or Recycle Current Volume. When
 Monday rolls around, there is no available incremental tape. I have
 Recycle set on the pool. The manual says that if I don't, I'll have to
 manually recyle tapes. 

I don't see anywhere in the manual where it says that you must manually 
recycle the Volume.  It says that you must manually change the Recycle flag 
in order for the volume to be recycled and reused.  


 I'm guessing one would do this with update and 
 then choosing recycle flag. Somehow I thought that that would set
 whether a tape COULD be recycled, not whether it IS recycled. If you could
 clear this up, I'd appreciate it (and would even submit changes to the
 manual once I understood it, because as it stands, a lot of these things
 are not clear).

 Now on to Recycle Oldest Volume. I'm guessing this recycles only the
 oldest volume if there are no other volumes available. In my case,
 however, there is only ever one volume that is in a writable state that is
 in the correct pool, and unless my tape handlers mess up, Recycle Oldest
 Volume SHOULD always do the same thing as Recycle Current Volume, because
 the oldest volume in the pool is the one that should be written to, the
 one that's in the drive, and also the oldest.

 Hopefully this all made sense. Basically my question is: which of these do
 I want? In my setup, does it not make any difference? If I say oldest (in
 my opinion, safer, even though my retention periods are set properly, just
 because it relies on age rather than my tape handlers), will it still
 recycle the current volume if it is also the oldest?

I'm sorry. I do not know how to give you advice on what you want.  This is 
particularly true in the case of Reclycle Oldest Volume and Recycle Current 
Volume, both of which I feel are directives that should be avoided.

Perhaps someone on the list, particularly someone who has used or uses these 
directives can help you.


 Sorry this is so long, but I needed to be clear -- hope I have done so!

  _  _ _  _ ___  _  _  _

 |Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
 |$| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)

 \__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630

 On Thu, 24 Nov 2005, Kern Sibbald wrote:
  On Thursday 24 November 2005 10:20, Gilberto Nunes Ferreira wrote:
  Sir Kern and Ryan
 
   I understand what you said, but I ask for my company to by more tape
  and the answer is NO WAY, MAKE A MIRACLE :-) ...
 
  Good luck.
 
  I have only 10 tape for my all jobs...
 
  I need that bacula recycling a tape after 10 days of used. I keep my
  data for 7 days in a single tape.
 
  Acording to manual, a tape is recycling only if your status is Full,
  right?!?!?
 
  Not quite, but you are getting close.  It must be Purged first.
 
  How set bacula to change the status to Full?!?!
 
  update volume
 
  My company almost want change your software backup to another solution,
  but I try to keep bacula working on my net...
 
  Please any help is welcome.
 
  For more automatic ways, see:
 
 
  http://www.bacula.org/dev-manual/Configuring_Director.html#SECTION0001410
 000
 
  Scroll down to
  Recycle Oldest Volume = yes|no
  Recycle Current Volume = yes|no
  Purge Oldest Volume = yes|no
 
  Thanks so much!
 
   On Wed, 23 Nov 2005 17:07:24 +0100, Kern Sibbald wrote
 
   On Wednesday 23 November 2005 16:52, Ryan Novosielski wrote:
   Exactly -- read the manual and look for the config parameters that I
   mentioned below.
  
   Perhaps this doesn't apply to Gilberto, but I suspect so:
  
   I would add to what Ryan says because  we have seen a lot of similar
   complaints lately, and the bottom line of all of them is that most
   of you are running on the ragged edge.  This means, in general, that
   you have no margin of safety.  Most of you are asking Bacula to
   destroy a previous backup that is still valid.  I.e. you want to
   write over a tape that has the only full backup say from last week.
  
   Bacula won't normally do this without a lot of arm twisting.  The
   features exist, you just need to read the document to find them.
    Some of them are marked The use of this directive is not
   recommended 
  
   If you find yourself in this situation, you 

[Bacula-users] I get EOF in 1.38.0, can't figure out if its a problem

2005-11-30 Thread Thomas S. Iversen
Hi there

I have recently upgraded my bacula setup from 1.36.2 to 1.38.0 (in order to
get VSS on windows).

Now I get got EOF on tape XXX, but I can restore files just fine!

The restored files from a small 13GB restore have the same MD5 sums as the
original (see below). And my tape drive (ultrium2) reports blocksize: 0 (se
further below), so that puzzles me as well. Any clues?

Regards Thomas, Denmark

--- MD5 sums are equal ---
[EMAIL PROTECTED] data]# head  -n2 /tmp/md5sums1 /tmp/md5sums2
== /tmp/md5sums1 ==
afcf0fa660e21642275f872d834efb2f
berlin211105/bl1dat/px0518/l1/orpt/CCP4_DATABASE/tmp_database.def
afcf0fa660e21642275f872d834efb2f
berlin211105/bl1dat/px0518/l1/orpt/CCP4_DATABASE/database.def

== /tmp/md5sums2 ==
afcf0fa660e21642275f872d834efb2f
berlin211105/bl1dat/px0518/l1/orpt/CCP4_DATABASE/tmp_database.def
afcf0fa660e21642275f872d834efb2f
berlin211105/bl1dat/px0518/l1/orpt/CCP4_DATABASE/database.def

--- tapeinfo 
[EMAIL PROTECTED] data]# tapeinfo -f /dev/sg0
Product Type: Tape Drive
Vendor ID: 'IBM '
Product ID: 'ULTRIUM-TD2 '
Revision: '4770'
Attached Changer: No
SerialNumber: '8110168414'
MinBlock:1
MaxBlock:16777215
SCSI ID: 1
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: 0x28
Density Code: 0x42
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
Block Position: 3757996



--
Mac OS X. Because making Unix user-friendly is easier than debugging Windows.



---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] I get EOF in 1.38.0, can't figure out if its a problem

2005-11-30 Thread Kern Sibbald
On Wednesday 30 November 2005 13:34, Thomas S. Iversen wrote:
 Hi there

 I have recently upgraded my bacula setup from 1.36.2 to 1.38.0 (in order to
 get VSS on windows).

 Now I get got EOF on tape XXX, but I can restore files just fine!


Read the messages carefully.  If they are not marked as FATAL, ERROR, or 
WARNING as that one is not, then it is just an informational message.  I 
suspect that you can inhibit those messages by not including the -v on the 
command line of the SD.  To the best of my knowledge absolutely nothing 
changed concerning these messages between 1.36.2 and 1.38.0 (though perhaps 
we added the -v option to the daemon start since it provides a bit more 
information ...).


 The restored files from a small 13GB restore have the same MD5 sums as the
 original (see below). And my tape drive (ultrium2) reports blocksize: 0 (se
 further below), so that puzzles me as well. Any clues?

 Regards Thomas, Denmark

 --- MD5 sums are equal ---
 [EMAIL PROTECTED] data]# head  -n2 /tmp/md5sums1 /tmp/md5sums2
 == /tmp/md5sums1 ==
 afcf0fa660e21642275f872d834efb2f
 berlin211105/bl1dat/px0518/l1/orpt/CCP4_DATABASE/tmp_database.def
 afcf0fa660e21642275f872d834efb2f
 berlin211105/bl1dat/px0518/l1/orpt/CCP4_DATABASE/database.def

 == /tmp/md5sums2 ==
 afcf0fa660e21642275f872d834efb2f
 berlin211105/bl1dat/px0518/l1/orpt/CCP4_DATABASE/tmp_database.def
 afcf0fa660e21642275f872d834efb2f
 berlin211105/bl1dat/px0518/l1/orpt/CCP4_DATABASE/database.def

 --- tapeinfo 
 [EMAIL PROTECTED] data]# tapeinfo -f /dev/sg0
 Product Type: Tape Drive
 Vendor ID: 'IBM '
 Product ID: 'ULTRIUM-TD2 '
 Revision: '4770'
 Attached Changer: No
 SerialNumber: '8110168414'
 MinBlock:1
 MaxBlock:16777215
 SCSI ID: 1
 SCSI LUN: 0
 Ready: yes
 BufferedMode: yes
 Medium Type: 0x28
 Density Code: 0x42
 BlockSize: 0
 DataCompEnabled: yes
 DataCompCapable: yes
 DataDeCompEnabled: yes
 CompType: 0x1
 DeCompType: 0x1
 Block Position: 3757996



 --
 Mac OS X. Because making Unix user-friendly is easier than debugging
 Windows.



 ---
 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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] FileSet change / Full backup

2005-11-30 Thread franky . backeljauw
Hello,

I have the following situation : I have a Full backup of my Machine on a 
Monthly tape.  Now I have added some dirs to the FileSet of my Machine.  
This resulted in a new Full backup for my Machine, this time on a Daily 
tape.

Now, my question : the Daily tape will be reused in 5 days, causing the 
Full backup to be removed.  Will a new Full backup be made?  Or only those 
differences with the first Full backup (corresponding to the original 
FileSet)?

Furthermore, suppose next month a new Full backup of my Machine (this time 
with a modified/larger FileSet) is made on the next Monthly tape.  From 
then on, the Daily tapes are reused again, this time filling up with only 
Incremental backups.  Will I still be able to recover those files that I 
have added by changing/enlarging the FileSet for my Machine anywhere in 
the time period between changing the FileSet and the first Monthly backup 
of this new situation (with the changed FileSet, that is)?

I hope you understand the situation I am talking about...

Thanks in advance for any reply.

-- Regards,

Franky.


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to reuse tapes?

2005-11-30 Thread Jason Baker




I finally got Bacula 1.38 working on my shiny new Fedora Core 4 box
yesterday, thanks to all who helped answer questions. I ran a full
backup lastnight and actually ran out of tape space, so now I would
like to reuse those tape and run another full. Here is my situation:

Bacula 1.38 on FC4 box using Postgres 8.1
HP Surestor 40x6 with 6 DDS-4 tapes.
I run a format script which is basically some MT and MTX commands:
/etc/bacula/mtx-changer /dev/sg0 load 1 /dev/nst0 0
mt -f /dev/st0 rewind
mt -f /dev/st0 weof

I do this for all 6 tapes. This is of course when Bacula isn't running.
Then I start Bacula and use the label command to label the tapes
BACKUP01, BACKUP02...etc. Now I would like to reuse these tapes to
perform another full backup, using the same label, but I don't want to
have to go through the trouble of "reformatting" them every time I want
to use them. Is there a way to do this? I have "Read the Fine Manual"
and I'm not sure it is giving me the information I want. Thank you.

Jason






Re: [Bacula-users] Hey Kern....

2005-11-30 Thread Danny Butroyd

Mark Hazen wrote:


Kern-

Knowing full and well the weight that publically supporting a project 
with the size and scope of Bacula puts on your shoulders, I'd like to 
say thank you, thank you, thank you. You do an admirable job, and yes, 
while Bacula may not be as easy to get into as some of the commercial 
backup systems, it's been far more flexible, and just as resilient and 
dependable for us here.


No reply is necessary, I know you've got a lot of fish to fry, but I 
wanted to say thanks. I think it's important to know how much we all 
do appreciate your hard work.


The same goes for those of you Bacula gurus who take the time to 
answer the community questions. I spent a month reading documentation 
and testing before implementing our Bacula environment here which 
alleviated a great deal of my disorientation by itself, but I also 
know I was graciously given the time to do things right by my 
employer, which isn't a luxury everyone has access to when rolling out 
backup services.


Cheers, and thanks.
-mh.


I would also like to echo these sentiments.
Bacula is fantastic, it has reliably backed up  my whole office and 
datacentre consisting of over 30 machines, totalling around 10TB of 
data, and when restoring in anger it hasn't failed me.


Also, the help from the mailing has been top notch.

Thanks Kern (and everyone else)!
Danny



---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula-web. Status.

2005-11-30 Thread Juan Luis Frances
Dear list,

Bacula-web project is in a early stage. I have very much things in mind:  to 
rewrite engine graph with jpgraph,full console, pdf reports, user management 
for customers, etc. But without help of other people you will not see they 
until 2015 ;-)

If you think that you could do good things for the project, please, do it.

I can now only fix bugs once in a while and I believe that with more 
developers bacula-web can be a very useful gui.

For future developers:
- The template of bacula-web can be modified easily thanks to Smarty 
( http://smarty.php.net/manual/en/smarty.for.designers.php ). If you are a 
good web designer (or a bad as me), please, feel free to print your 
creativity, on bacula-web of course ;-)

- I have attempted to maintain a coherence with the code. I believe that if 
you want to be a active developer of bacula-web you must not spend much time 
with its analysis.

- There are surely very much bugs that you can fix with very little effort.

I hope that between all we can make a stable and useful web-gui to Bacula. I 
wait your comments.

Best regards,
Juan Luis Francés


PS: Thanks Google! ( http://www.google.com/language_tools?hl=en ). ;-))


---
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://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-web 1.2

2005-11-30 Thread Juan Luis Frances
You are welcome. Your comments are a great birthday gift and, in a open source 
project as this, the incentive of the work. (yes, my birthday is today :) ) 

I take advantage of this to say a pair of things about bacula-web in my next 
mail.

Best regards,
Juan Luis Francés

El Miércoles 30 Noviembre 2005 11:20, Kern Sibbald escribió:
 On Wednesday 30 November 2005 10:57, Stephan Holl wrote:
  Dear List,
 
  just wanted to let you know that I really like to web-interface which
  shipps with bacula.
 
  It was really easy to install it on my bacula-dir using postgres and
  works smoothly!

 Thanks. The bacula-web project is written and supported by
 Juan Luis Frances, so thanks Juan Luis!

  Keep up the good work guys...
 
  Best
  Stephan


---
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://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] TWO autochangers with spool daemon, how to ??? (Bacula 1.38.1)

2005-11-30 Thread Michael Joyner

help!

I have two 10 slots autochangers and I am trying to configure them to 
run as a single autochanger.


Does anyone have any pointers?

This is my current config file:


Device {
Name= VXA-UNIT-0
Archive Device = /dev/nst0
Media Type = VXA2
AutoChanger = yes
Changer Device = /dev/sg0
Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
AutomaticMount = yes;   # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Spool Directory = /tmp
Maximum Spool Size = 5G
Maximum Job Spool Size = 1G
Label Media = NO
Autoselect = YES
}

Device {
Name= VXA-UNIT-1
Archive Device = /dev/nst1
Media Type = VXA2
AutoChanger = yes
Changer Device = /dev/sg2
Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
AutomaticMount = yes;   # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Spool Directory = /tmp
Maximum Spool Size = 5G
Maximum Job Spool Size = 1G
Label Media = NO
Autoselect = YES
}

Autochanger {
Name= VXA
Device  = VXA-UNIT-0
Device  = VXA-UNIT-1
Changer Device = /dev/sg0
Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
}




---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-web 1.2

2005-11-30 Thread Phil Stracchino
Juan Luis Frances wrote:
 You are welcome. Your comments are a great birthday gift and, in a open 
 source 
 project as this, the incentive of the work. (yes, my birthday is today :) )

Happy birthday!

(I'll refrain from the Mongol Birthday Song.  Don't want to frighten
innocent users on the lists.)



-- 
 Phil Stracchino   [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037 Landline: 603-886-3518


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature requests

2005-11-30 Thread Deim Ágoston

Kern Sibbald wrote:


So, I would like to request a command available in the console to skip
errors and continoue the restore process. Second, I would be very happy if
there would be a parity option in the Options section when I create a
FileSet. I know that parity bits grow the volumes but I think it would be a
nice feature. Before I started to use bacula I used dar - dar.linux.free.fr
- which has this option. They use the parchive - parchive.sf.net - for this
feature. I think it would greatly improve feature set of bacula.
   



Try using the -p option on your SD it will do the same thing as -p on 
bextract.


 

ok, thanks, I overlooked this flag. Or to be more precise I didn't think 
about it to allow it globally. Usually I would like to use bacula-sd 
without -p flag and use it if I need. But I accept the current solution, 
so if I get this error I will restart bacula-sd with flag -p turned on.


For the parity bit, I think this is equivalent to striping, something that 
maybe someday Bacula will be able to do.   I'll take a look at parchive to 
see what it does ...
 


ok, thanks. And bacula is a great piece of software. Thanks.

bye,
Ago


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-web 1.2

2005-11-30 Thread Ludovic Strappazon
Would it be possible to have the famous Mongol Birthday Song in Private
 :-D

Happy birthday Juan !

Ludovic.

Phil Stracchino a écrit :

Juan Luis Frances wrote:
  

You are welcome. Your comments are a great birthday gift and, in a open 
source 
project as this, the incentive of the work. (yes, my birthday is today :) )



Happy birthday!

(I'll refrain from the Mongol Birthday Song.  Don't want to frighten
innocent users on the lists.)



  




---
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://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-web 1.2

2005-11-30 Thread Phil Stracchino
Ludovic Strappazon wrote:
 Would it be possible to have the famous Mongol Birthday Song in Private
  :-D


http://www.whitetreeaz.com/vintage/bdaysong.htm

:)

-- 
 Phil Stracchino   [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037 Landline: 603-886-3518


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] TWO autochangers with spool daemon, how to ??? (Bacula 1.38.1)

2005-11-30 Thread Kern Sibbald
Egads, the things people dream up !  :-)

It *just* might work for you providing no one else is using your autochangers, 
and providing you do several things:

1. Remove the Changer Device from the AutoChanger resource, and keep the 
correct one in each Device record.  This is probably not necessary since if I 
remember right the Device takes precedence, but it would be better to remove 
it.

2. Fiddle your copy of mtx-changer so that by looking at the /dev/sg0/1, 
tricks Bacula into thinking it is dealing with a single autochanger, by doing 
several things (I may leave out some):
   a. It must return 20 for the number of Slots rather than 10
   b. It will have to do hand springs to remap all slot numbers greater than 
10 to the range 1-10 and vice-versa both incoming and outcoming in a number 
of places in the mtx-changer script.  This will be a real pain.  Bacula needs 
to think the slots are numbered 1-20, but each changer must see 1-10.

You could get a lot more through-put by using two different autochangers and 
multiple simultaneous jobs.  Doing what you want to do would seriously 
throttle the overall capability.

On Wednesday 30 November 2005 15:54, Michael Joyner wrote:
 help!

 I have two 10 slots autochangers and I am trying to configure them to
 run as a single autochanger.

 Does anyone have any pointers?

 This is my current config file:
  Device {
  Name= VXA-UNIT-0
  Archive Device = /dev/nst0
  Media Type = VXA2
  AutoChanger = yes
  Changer Device = /dev/sg0
  Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Spool Directory = /tmp
  Maximum Spool Size = 5G
  Maximum Job Spool Size = 1G
  Label Media = NO
  Autoselect = YES
  }
 
  Device {
  Name= VXA-UNIT-1
  Archive Device = /dev/nst1
  Media Type = VXA2
  AutoChanger = yes
  Changer Device = /dev/sg2
  Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
  AutomaticMount = yes;   # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Spool Directory = /tmp
  Maximum Spool Size = 5G
  Maximum Job Spool Size = 1G
  Label Media = NO
  Autoselect = YES
  }
 
  Autochanger {
  Name= VXA
  Device  = VXA-UNIT-0
  Device  = VXA-UNIT-1
  Changer Device = /dev/sg0
  Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
  }

 ---
 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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problems with VXA2 1x10 and Bacula 1.36

2005-11-30 Thread Zachariah Mully
Hello all-
I am new on the list, and I'm in the process of replacing a single
DDS4/Arkeia system with a new VXA2 1x10 autoloader. The dedicated backup
box is running Debian-3.1 with Bacula 1.36 and sqllite. 
The autoloader passes all the tests described in the manual with flying
colors, but when go to label the tapes with the #label barcode command,
it throws an error. The result is the same regardless if the drive is
loaded with a tape or not. I'm at a bit of a loss as to why it's calling
loaded drive 0... does that check the drive status?

Thanks,
Z

output from console:

label barcode
Automatically selected Storage: Exabyte
Connecting to Storage daemon Exabyte at backup.smartbrief.com:9103 ...
3301 Issuing autochanger loaded drive 0 command.
3991 Bad autochanger loaded drive 0 command: ERR=Child exited with
code 1.
3306 Issuing autochanger list command.
No Volumes found to label, or no barcodes.

-

backup:~# mtx -f /dev/sg1 status
  Storage Changer /dev/sg1:1 Drives, 10 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag =
A001   
  Storage Element 1:Empty:VolumeTag=
  Storage Element 2:Full :VolumeTag=A002
  Storage Element 3:Full :VolumeTag=A003
  Storage Element 4:Full :VolumeTag=A004
  Storage Element 5:Full :VolumeTag=A005
  Storage Element 6:Full :VolumeTag=A006
  Storage Element 7:Full :VolumeTag=A007
  Storage Element 8:Full :VolumeTag=A008
  Storage Element 9:Full :VolumeTag=A009
  Storage Element
10:Full :VolumeTag=CLNA0001
backup:~# 

-

backup:/etc/bacula# scripts/mtx-changer /dev/sg1 list 0 /dev/st0 0
2:A002
3:A003
4:A004
5:A005
6:A006
7:A007
8:A008
9:A009
10:CLNA0001
backup:/etc/bacula# 

-

from /etc/bacula/bacula-sd.conf:

Device {
   Name = VXA
   Media Type = 8mm
   Archive Device = /dev/st0
   Autochanger = Yes
   Changer Device = /dev/sg1
   Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %
d
   Maximum Changer Wait = 240 # seconds
   Alert Command = sh -c 'tapeinfo -f %c | grep TapeAlert|cat'
#   Drive Index = 0
   Always Open = Yes
   AutomaticMount = Yes
   Removable media = Yes
   Random access = No
   Hardware End of Medium = Yes
   Fast Forward Space File = Yes
   Maximum Network Buffer Size = 65536
}   

-

from /etc/bacula/bacula-dir.conf:

Storage {
  Name = Exabyte
#  Do not use localhost here
  Address = backup.smartbrief.com # N.B. Use a fully qualified name
here
  SDPort = 9103
  Password = xxx
  Device = VXA
  MediaType = 8mm
  Autochanger = yes
  Maximum Concurrent Jobs = 1
}








---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Recycling Directives

2005-11-30 Thread Ryan Novosielski
OK, then tell me this: what is the difference between Recycle Oldest 
Volume and Recycle Current Volume? Is there any overlap in their 
functionality (if the oldest volume is the current volume)? What does 
Current mean, in this case? Currently in the tape drive? Here is the 
text from the manual:


/If Bacula needs a new Volume, this directive instructs Bacula to Prune 
the volume respecting the Job and File retention periods. If all Jobs 
are pruned (i.e. the volume is Purged), then the Volume is recycled and 
will be used as the next Volume to be written. This directive respects 
any Job, File, or Volume retention periods that you may have specified, 
and thus it is *much* better to use it rather than the Purge Oldest 
Volume directive.


/...that's all well and good, but I still have no idea which volume the 
volume is. I'm guessing it's the volume that it found when it was in 
the tape drive.


On a very basic level, my problem is that Bacula in my configuration 
/never /reuses a tape. Recyle is set (on the pool, and the tapes as 
well) and Autoprune is set. If that's not what those directives do, then 
what would change if they were off?


The manual is pretty good at explaining what individual functions do, 
but when there are three in a row that are very similar and there's no 
real black and white explaination of how they differ, there is 
confusion. I would love to be able to help in this department, but I 
myself don't know what they do. :)


 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
|$| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630 




Kern Sibbald wrote:

I'm sorry. I do not know how to give you advice on what you want.  This is 
particularly true in the case of Reclycle Oldest Volume and Recycle Current 
Volume, both of which I feel are directives that should be avoided.


Perhaps someone on the list, particularly someone who has used or uses these 
directives can help you.
 





---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] List Jobs

2005-11-30 Thread Gabriele Bulfon


Hello,I'm appending at the end, the "list jobs" output of bconsole.I still see a lot of old jobs that are no more on my tapes (purged or recycled).Why do I still see them in "list jobs"? will I always see all my jobs history here?Shouldn't I see only the jobs that are still on tapes?The only real valid entries are job ids from 250 and on.Maybe this is the reason I still have "recycle" problems sometime?+---+-+-+--+---+--++---+| jobid | name | starttime | type | level | jobfiles | jobbytes | jobstatus |+---+-+-+--+---+--++---+| 4 | Enterprise Backup SMARTLINK | 2005-08-29 11:35:38 | B | F | 0 | 0 | A || 5 | Catalog Backup | 2005-08-29 11:35:38 | B | F | 0 | 0 | A || 21 | Enterprise Backup MACDUE | 2005-10-05 09:49:07 | B | F | 0 | 0 | A || 23 | Catalog Backup | 2005-10-05 09:49:07 | B | F | 0 | 0 | A || 22 | Enterprise Backup OFFICE | 2005-10-05 09:49:07 | B | F | 0 | 0 | A || 20 | Enterprise Backup SMARTLINK | 2005-10-05 09:49:07 | B | F | 0 | 0 | A || 29 | Enterprise Backup SMARTLINK | 2005-10-06 11:21:21 | B | F | 0 | 0 | f || 30 | Enterprise Backup MACDUE | 2005-10-06 11:21:24 | B | F | 0 | 0 | f || 31 | Enterprise Backup OFFICE | 2005-10-06 11:21:26 | B | F | 0 | 0 | f || 34 | Enterprise Backup SMARTLINK | 2005-10-07 08:50:13 | B | F | 0 | 0 | f || 35 | Enterprise Backup MACDUE | 2005-10-07 08:50:15 | B | F | 0 | 0 | f || 36 | Enterprise Backup OFFICE | 2005-10-07 08:50:18 | B | F | 0 | 0 | f || 41 | Enterprise Backup SMARTLINK | 2005-10-08 10:51:13 | B | F | 0 | 0 | f || 42 | Enterprise Backup MACDUE | 2005-10-08 10:51:15 | B | F | 0 | 0 | f || 43 | Enterprise Backup OFFICE | 2005-10-08 10:51:18 | B | F | 0 | 0 | f || 56 | Catalog Backup | 2005-10-10 14:36:39 | B | F | 0 | 0 | A || 55 | Enterprise Backup OFFICE | 2005-10-10 14:36:39 | B | F | 0 | 0 | A || 63 | Enterprise Backup SMARTLINK | 2005-10-12 15:59:21 | B | F | 0 | 0 | A || 64 | Enterprise Backup MACDUE | 2005-10-12 15:59:21 | B | F | 0 | 0 | A || 66 | Catalog Backup | 2005-10-12 15:59:22 | B | F | 0 | 0 | A || 65 | Enterprise Backup OFFICE | 2005-10-12 15:59:22 | B | F | 0 | 0 | A || 71 | Catalog Backup | 2005-10-13 10:30:56 | B | F | 0 | 0 | A || 73 | Enterprise Backup SMARTLINK | 2005-10-14 18:42:27 | B | F | 0 | 0 | A || 74 | Enterprise Backup MACDUE | 2005-10-14 18:42:27 | B | F | 0 | 0 | A || 76 | Catalog Backup | 2005-10-14 18:42:28 | B | F | 0 | 0 | A || 75 | Enterprise Backup OFFICE | 2005-10-14 18:42:28 | B | F | 0 | 0 | A || 90 | Enterprise Backup OFFICE | 2005-10-18 09:05:43 | B | F | 0 | 0 | A || 89 | Enterprise Backup MACDUE | 2005-10-18 09:05:43 | B | F | 0 | 0 | A || 94 | Enterprise Backup MACDUE | 2005-10-19 10:20:51 | B | F | 0 | 0 | A || 93 | Enterprise Backup SMARTLINK | 2005-10-19 10:20:51 | B | F | 0 | 0 | A || 95 | Enterprise Backup OFFICE | 2005-10-19 10:20:51 | B | F | 0 | 0 | A || 98 | Enterprise Backup SMARTLINK | 2005-10-20 10:42:54 | B | F | 0 | 0 | A || 100 | Enterprise Backup OFFICE | 2005-10-20 10:42:54 | B | F | 0 | 0 | A || 99 | Enterprise Backup MACDUE | 2005-10-20 10:42:54 | B | F | 0 | 0 | A || 97 | Enterprise Backup ISERVER | 2005-10-20 10:42:54 | B | F | 0 | 0 | A || 109 | Catalog Backup | 2005-10-21 02:33:08 | B | F | 0 | 0 | A || 108 | Enterprise Backup OFFICE | 2005-10-21 02:33:09 | B | F | 0 | 0 | A || 118 | Enterprise Backup OFFICE | 2005-10-21 10:30:58 | B | F | 0 | 0 | A || 119 | Catalog Backup | 2005-10-21 10:30:58 | B | F | 0 | 0 | A || 117 | Enterprise Backup MACDUE | 2005-10-21 10:30:59 | B | F | 0 | 0 | A || 123 | Enterprise Backup OFFICE | 2005-10-22 10:18:06 | B | F | 0 | 0 | A || 124 | Catalog Backup | 2005-10-22 10:18:06 | B | F | 0 | 0 | A || 153 | Enterprise Backup OFFICE | 2005-10-29 07:58:02 | B | F | 0 | 0 | A || 152 | Enterprise Backup MACDUE | 2005-10-29 07:58:02 | B | F | 0 | 0 | A || 158 | Enterprise Backup OFFICE | 2005-11-01 07:58:01 | B | F | 0 | 0 | A || 157 | Enterprise Backup MACDUE | 2005-11-01 07:58:02 | B | F | 0 | 0 | A || 178 | Enterprise Backup OFFICE | 2005-11-05 07:58:13 | B | F | 0 | 0 | A || 177 | Enterprise Backup MACDUE | 2005-11-05 07:58:14 | B | F | 0 | 0 | A || 189 | Catalog Backup | 2005-11-09 08:54:30 | B | F | 0 | 0 | A || 204 | RestoreFiles | 2005-11-11 10:18:46 | R | F | 0 | 0 | A || 208 | Enterprise Backup OFFICE | 2005-11-12 07:57:32 | B | F | 0 | 0 | A || 207 | Enterprise Backup MACDUE | 2005-11-12 07:57:33 | B | F | 0 | 0 | A || 238 | Enterprise Backup OFFICE | 2005-11-22 00:23:26 | B | F | 6,203 | 7,024,520,067 | T || 250 | Enterprise Backup ISERVER | 2005-11-24 21:35:03 | B | F | 183,046 | 32,691,191,502 | T || 251 | Enterprise Backup SMARTLINK | 2005-11-24 22:54:25 | B | F | 99,916 | 9,293,499,576 | T || 252 | Enterprise Backup MACDUE | 2005-11-24 23:19:11 | B | F | 103,293 | 35,621,029,591 | T || 253 | Enterprise Backup OFFICE | 2005-11-25 00:31:54 | B | F | 6,375 

[Bacula-users] Prune all

2005-11-30 Thread Gabriele Bulfon


Is there a facility to "prune" anything that is out of the recycle period, and than have any of the pruned onesbe set in Recycle state? Why do I always see "Append" in the State of volumes?


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 





Re: [Bacula-users] problems with autopruning and volume reuse

2005-11-30 Thread Sebastian Stark
On Wed, Nov 30, 2005 at 10:01:15AM -0800, Harondel J. Sibble wrote:
 I am pretty sure I am missing something fairly fundamental in the way volumes 
 are recycled, I've read through the docs, checking the list postings, but 
 have been unable to get a handle on this.
 
 Basically, if I start with a new set of volumes, with a retention period of 6 
 days, all is good until the 2nd week, then the tapes fill up and are not 
 automatically recycled. Then I end up having to manually PURGE the volumes so 
 that backups work properly. Basically, we can consistently fit 26-27gb on a 
 tape. Normal daily backup is about 23gb.
 
 Link to all the relevant conf files
 
 http://www.pdscc.com/troubleshooting/

From your bacula-dir.conf it looks like your job retention is 30 days.
As I understand bacula it won't (automatically) prune volumes unless it
has purged all jobs referring to this volume.

 
 What am I missing so that I don't have to baby it?
 -- 
 Harondel J. Sibble 
 Sibble Computer Consulting
 Creating solutions for the small business and home computer user.
 [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
 (604) 739-3709 (voice/fax)  (604) 686-2253 (pager)

-- 
Sebastian Stark -- http://www.kyb.tuebingen.mpg.de/~stark
Max Planck Institute for Biological Cybernetics


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] problems with autopruning and volume reuse

2005-11-30 Thread Gabriele Bulfon


I am having the same problem. And I'm getting mad with the flags.I recently started to think I have old jobs that stored the old job retention period.How can I get rid of all that old jobs that are no more valid, without having to delete each by hand?Should I start again from a scratch database and add the labeled volumes by hand to start again?


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

--Da: Sebastian Stark [EMAIL PROTECTED]A: Harondel J. Sibble [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Data: 30 novembre 2005 19.20.52 CETOggetto: Re: [Bacula-users] problems with autopruning and volume reuseOn Wed, Nov 30, 2005 at 10:01:15AM -0800, Harondel J. Sibble wrote:
 I am pretty sure I am missing something fairly fundamental in the way volumes 
 are recycled, I've read through the docs, checking the list postings, but 
 have been unable to get a handle on this.
 
 Basically, if I start with a new set of volumes, with a retention period of 6 
 days, all is good until the 2nd week, then the tapes fill up and are not 
 automatically recycled. Then I end up having to manually PURGE the volumes so 
 that backups work properly. Basically, we can consistently fit 26-27gb on a 
 tape. Normal daily backup is about 23gb.
 
 Link to all the relevant conf files
 
 http://www.pdscc.com/troubleshooting/

From your bacula-dir.conf it looks like your job retention is 30 days.
As I understand bacula it won't (automatically) prune volumes unless it
has purged all jobs referring to this volume.

 
 What am I missing so that I don't have to baby it?
 -- 
 Harondel J. Sibble 
 Sibble Computer Consulting
 Creating solutions for the small business and home computer user.
 [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
 (604) 739-3709 (voice/fax)  (604) 686-2253 (pager)

-- 
Sebastian Stark -- http://www.kyb.tuebingen.mpg.de/~stark
Max Planck Institute for Biological Cybernetics


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





Re: [Bacula-users] bscan-problems

2005-11-30 Thread Jonas Mixter




Hi!
I found a solution to my problem below... I'm posting the solution to
the list so it might help others.

Since the problem I had was that the block size settings were
different
on my new and my old machine I checked the settings on the old
machine
and used the same settings on the new one.
Simple? Yes, when one knows how to do it... :-)

Using "mt -f /dev/nst0 status" on the old machine, I got the setting
for the tape-station (512 in my case)
The command "bls -c /etc/bacula/bacula-sd.conf -k -V \* /dev/nst0"
shows me the blocksize used on the tape (64512 for me). I could run
this check on the new machine too.

By using Minimum and Maximum block size in bacula-sd.conf I'm forcing
bacula to use a fixed block size.
I also set my tape drive on the new machine using "mt -f /dev/nst0
defblksize 512"

I could now use bscan to recreate the database records for my tapes,
and then restore them.

Don't forget to change the settings back to variable blocksize when
done!
Run "mt -f /dev/nst0 defblksize 0"
And remove the block size directives from bacula-sd.conf

Thank you Kern for a great program and wonderful support!

Best regards, Jonas Mixter


On 2005-11-28 23:31, Kern Sibbald wrote:

  On Monday 28 November 2005 17:25, Jonas Mixter wrote:
  
  
Hi again...
Thanks for your quick answer! I understand the details of my problem
better now...
I do have some more questions though.



  
28-Nov 14:42 bscan: bscan Error: block.c:264 Volume data error at 0:1!
Wanted ID: "BB02", got "". Buffer discarded.

...and then bscan exits.

  
  You should try running the btape "test" command.
  

I've tested my drive when installing this new machine, but ran the
command again just to be sure. It says all is OK...

I also ran the command on the old machine and it failed!
I've been using this installation for over a year so I cannot recall if
I ever ran the bscan test when installing (probably not I'm afraid). I
can both backup and restore on the old machine though... (Tried to
restore some files from one of the old tape a few minutes ago, all went
fine.)



  
All the old tapes are written using bacula 1.34.2 (or perhaps an even
older version) and I'm now using 1.36.2 (shipped with Debian).
Is there a difference in the format on the tapes?

  
  No, not that I am aware of.  However, Bacula does set your tape drive to
variable block format if that is what your Device statement specifies,
whereas 1.34.2 does not do that.  Depending on how your machine
initializes the tape drive, this could create some incompatibilities ... 
The manual goes into these questions in more detail and suggests some
ways of dealing with it.
  

I read http://bacula.org/rel-manual/Testing_Your_Tape_Drive.html and
wonder if I could see if variable or fixed blocksize were used on the
old machine. 

  
  
The tape testing manual tells you how to determine that question.  In general 
if you have tapeinfo and mt you should be able to find out, or possibly by 
looking at the output from one of the variations of the bls command.

  
  
I also wonder if I could specify a fixed blocksize in 
bacula-sd.conf 

  
  
Yes, of course.

  
  
to be able to restore from the old tapes. 

  
  Who knows? There are so many variables of systems and tape drives and 
options ...



  
  
I cannot change the bootstrap file as suggested since the volume is not
in the catalog. 

  
  
A bootstrap file is an ASCII file that anyone can edit. It is not directly 
tied to the catalog.  If you read the restore manual as I suggested, it is 
explained there.

  
  
I need to use bscan to get it into the catalog first... 

  
  
That is *one* way of doing things ...

  
  
Are my old tapes useless or is there any way to use them on the new
machine?

  
  
I cannot ansswer that. See my answer to the same question above.

  
  
If it's not possible to read the tapes on the new machine, is it a
workable solution to use bcopy to get the data into a file on the old
machine and then copy it all back to tape on the new machine?

  
  
Perhaps, but personally, I would restore the files to disk, and move the 
restore directory to the new machine.

  





Re: [Bacula-users] TWO autochangers with spool daemon, how to ??? (Bacula 1.38.1)

2005-11-30 Thread Michael Joyner

Is it possible to specify them as two autochangers in the SD file and
then have the DIR file autoswitch between them as needed?

Kern Sibbald wrote:

Egads, the things people dream up !  :-)

It *just* might work for you providing no one else is using your autochangers, 
and providing you do several things:


1. Remove the Changer Device from the AutoChanger resource, and keep the 
correct one in each Device record.  This is probably not necessary since if I 
remember right the Device takes precedence, but it would be better to remove 
it.


2. Fiddle your copy of mtx-changer so that by looking at the /dev/sg0/1, 
tricks Bacula into thinking it is dealing with a single autochanger, by doing 
several things (I may leave out some):

  a. It must return 20 for the number of Slots rather than 10
  b. It will have to do hand springs to remap all slot numbers greater than 
10 to the range 1-10 and vice-versa both incoming and outcoming in a number 
of places in the mtx-changer script.  This will be a real pain.  Bacula needs 
to think the slots are numbered 1-20, but each changer must see 1-10.


You could get a lot more through-put by using two different autochangers and 
multiple simultaneous jobs.  Doing what you want to do would seriously 
throttle the overall capability.


On Wednesday 30 November 2005 15:54, Michael Joyner wrote:
 

help!

I have two 10 slots autochangers and I am trying to configure them to
run as a single autochanger.

Does anyone have any pointers?

This is my current config file:
   





---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] The client/name entry in director

2005-11-30 Thread Harry Putnam
I am trying to skirt testing of every little config change... can
someone tell me what the Client resource `name' entry should look like
for this case:

The manual says:

Where the address is a host name, a fully qualified domain name, or a
network address in dotted quad notation for a Bacula File server
daemon. This directive is required.

While helpfull it leaves some oncovered ground.

The FD being referenced in this case is a Winxp box running on a home
network.  I'm not aiming for the whole machine just a test directory
on one partition.
The daemon installed is named chub-fg

Machine is: 192.168.0.2   chub.local.net0chub

Or in smb notation: \\chub

The actual file tree is at:
\\chub\chub-g\bactest

Which can also be cifs mounted as /mnt/chub-g
Maybe someone can also advise the best way have bacula contact that
machine?



---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: The client/name entry in director

2005-11-30 Thread Harry Putnam
 
 I am trying to skirt testing of every little config change... can
 someone tell me what the Client resource `name' entry should look like
 for this case:

Sorry folks ... a big typo above.  It isn't the `name' entry but the
`Address' entry I'm asking about below.

 
 The manual says:
 
 Where the address is a host name, a fully qualified domain name, or a
 network address in dotted quad notation for a Bacula File server
 daemon. This directive is required.
 
 While helpfull it leaves some oncovered ground.
 
 The FD being referenced in this case is a Winxp box running on a home
 network.  I'm not aiming for the whole machine just a test directory
 on one partition.
 The daemon installed is named chub-fg
 
 Machine is: 192.168.0.2   chub.local.net0chub
 
 Or in smb notation: \\chub
 
 The actual file tree is at:
 \\chub\chub-g\bactest
 
 Which can also be cifs mounted as /mnt/chub-g
 Maybe someone can also advise the best way have bacula contact that
 machine?



---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with VXA2 1x10 and Bacula 1.36

2005-11-30 Thread Kern Sibbald
On Wednesday 30 November 2005 17:27, Zachariah Mully wrote:
 Hello all-
   I am new on the list, and I'm in the process of replacing a single
 DDS4/Arkeia system with a new VXA2 1x10 autoloader. The dedicated backup
 box is running Debian-3.1 with Bacula 1.36 and sqllite.
   The autoloader passes all the tests described in the manual with flying
 colors, but when go to label the tapes with the #label barcode command,
 it throws an error. The result is the same regardless if the drive is
 loaded with a tape or not. I'm at a bit of a loss as to why it's calling
 loaded drive 0... does that check the drive status?

load ... causes the specified slot to be loaded in the specified drive.
loaded drive 0 is asking the script what Slot is loaded in drive 0.

In the error below, your autochanger script is not working for one reason or 
another.  Probably a privilege problem.  Try running the script by hand using 
the same user that the SD is running on.   The default script is called 
mtx-changer (running mtx by hand only tells you have the story).


 Thanks,
 Z

 output from console:

 label barcode
 Automatically selected Storage: Exabyte
 Connecting to Storage daemon Exabyte at backup.smartbrief.com:9103 ...
 3301 Issuing autochanger loaded drive 0 command.
 3991 Bad autochanger loaded drive 0 command: ERR=Child exited with
 code 1.
 3306 Issuing autochanger list command.
 No Volumes found to label, or no barcodes.

 ---
--

 backup:~# mtx -f /dev/sg1 status
   Storage Changer /dev/sg1:1 Drives, 10 Slots ( 0 Import/Export )
 Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag =
 A001
   Storage Element 1:Empty:VolumeTag=
   Storage Element 2:Full :VolumeTag=A002
   Storage Element 3:Full :VolumeTag=A003
   Storage Element 4:Full :VolumeTag=A004
   Storage Element 5:Full :VolumeTag=A005
   Storage Element 6:Full :VolumeTag=A006
   Storage Element 7:Full :VolumeTag=A007
   Storage Element 8:Full :VolumeTag=A008
   Storage Element 9:Full :VolumeTag=A009
   Storage Element
 10:Full :VolumeTag=CLNA0001
 backup:~#

 ---
--

 backup:/etc/bacula# scripts/mtx-changer /dev/sg1 list 0 /dev/st0 0
 2:A002
 3:A003
 4:A004
 5:A005
 6:A006
 7:A007
 8:A008
 9:A009
 10:CLNA0001
 backup:/etc/bacula#

 ---
--

 from /etc/bacula/bacula-sd.conf:

 Device {
Name = VXA
Media Type = 8mm
Archive Device = /dev/st0
Autochanger = Yes
Changer Device = /dev/sg1
Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %
 d
Maximum Changer Wait = 240 # seconds
Alert Command = sh -c 'tapeinfo -f %c | grep TapeAlert|cat'
 #   Drive Index = 0
Always Open = Yes
AutomaticMount = Yes
Removable media = Yes
Random access = No
Hardware End of Medium = Yes
Fast Forward Space File = Yes
Maximum Network Buffer Size = 65536
 }

 ---
--

 from /etc/bacula/bacula-dir.conf:

 Storage {
   Name = Exabyte
 #  Do not use localhost here
   Address = backup.smartbrief.com # N.B. Use a fully qualified name
 here
   SDPort = 9103
   Password = xxx
   Device = VXA
   MediaType = 8mm
   Autochanger = yes
   Maximum Concurrent Jobs = 1
 }








 ---
 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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bscan-problems

2005-11-30 Thread Kern Sibbald
Hello Jonas,

Thanks for the feedback.

I will add your example to the manual.  Thanks. :-)


On Wednesday 30 November 2005 19:45, Jonas Mixter wrote:
 Hi!
 I found a solution to my problem below... I'm posting the solution to
 the list so it might help others.

 Since the problem I had was that the block size settings were different
 on my new and my old machine I checked the settings on the old machine
 and used the same settings on the new one.
 Simple? Yes, when one knows how to do it... :-)

 Using mt -f /dev/nst0 status on the old machine, I got the setting for
 the tape-station (512 in my case)
 The command bls -c /etc/bacula/bacula-sd.conf -k -V \* /dev/nst0 shows
 me the blocksize used on the tape (64512 for me). I could run this check
 on the new machine too.

 By using Minimum and Maximum block size in bacula-sd.conf I'm forcing
 bacula to use a fixed block size.
 I also set my tape drive on the new machine using mt -f /dev/nst0
 defblksize 512

 I could now use bscan to recreate the database records for my tapes, and
 then restore them.

 Don't forget to change the settings back to variable blocksize when done!
 Run mt -f /dev/nst0 defblksize 0
 And remove the block size directives from bacula-sd.conf

 Thank you Kern for a great program and wonderful support!

 Best regards, Jonas Mixter

 On 2005-11-28 23:31, Kern Sibbald wrote:
 On Monday 28 November 2005 17:25, Jonas Mixter wrote:
 Hi again...
 Thanks for your quick answer! I understand the details of my problem
 better now...
 I do have some more questions though.
 
 28-Nov 14:42 bscan: bscan Error: block.c:264 Volume data error at 0:1!
 Wanted ID: BB02, got . Buffer discarded.
 
 ...and then bscan exits.
 
 You should try running the btape test command.
 
 I've tested my drive when installing this new machine, but ran the
 command again just to be sure. It says all is OK...
 
 I also ran the command on the old machine and it failed!
 I've been using this installation for over a year so I cannot recall if
 I ever ran the bscan test when installing (probably not I'm afraid). I
 can both backup and restore on the old machine though... (Tried to
 restore some files from one of the old tape a few minutes ago, all went
 fine.)
 
 All the old tapes are written using bacula 1.34.2 (or perhaps an even
 older version) and I'm now using 1.36.2 (shipped with Debian).
 Is there a difference in the format on the tapes?
 
 No, not that I am aware of.  However, Bacula does set your tape drive to
 variable block format if that is what your Device statement specifies,
 whereas 1.34.2 does not do that.  Depending on how your machine
 initializes the tape drive, this could create some incompatibilities ...
 The manual goes into these questions in more detail and suggests some
 ways of dealing with it.
 
 I read http://bacula.org/rel-manual/Testing_Your_Tape_Drive.html and
 wonder if I could see if variable or fixed blocksize were used on the
 old machine.
 
 The tape testing manual tells you how to determine that question.  In
  general if you have tapeinfo and mt you should be able to find out, or
  possibly by looking at the output from one of the variations of the bls
  command.
 
 I also wonder if I could specify a fixed blocksize in
 bacula-sd.conf
 
 Yes, of course.
 
 to be able to restore from the old tapes.
 
 Who knows? There are so many variables of systems and tape drives and
 options ...
 
 I cannot change the bootstrap file as suggested since the volume is not
 in the catalog.
 
 A bootstrap file is an ASCII file that anyone can edit. It is not directly
 tied to the catalog.  If you read the restore manual as I suggested, it is
 explained there.
 
 I need to use bscan to get it into the catalog first...
 
 That is *one* way of doing things ...
 
 Are my old tapes useless or is there any way to use them on the new
 machine?
 
 I cannot ansswer that. See my answer to the same question above.
 
 If it's not possible to read the tapes on the new machine, is it a
 workable solution to use bcopy to get the data into a file on the old
 machine and then copy it all back to tape on the new machine?
 
 Perhaps, but personally, I would restore the files to disk, and move the
 restore directory to the new machine.

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-web 1.2

2005-11-30 Thread Everton Thomaz

And mysql? I tried to install with mysql and i didn't have success.

Somebody use bacula-web with mysql??
Somebody know to tell me if bacula-web is functioning with mysql?

Thanks,
Everton


Em Wed, 30 Nov 2005 08:20:07 -0200, Kern Sibbald [EMAIL PROTECTED]  
escreveu:



On Wednesday 30 November 2005 10:57, Stephan Holl wrote:

Dear List,

just wanted to let you know that I really like to web-interface which
shipps with bacula.

It was really easy to install it on my bacula-dir using postgres and
works smoothly!


Thanks. The bacula-web project is written and supported by
Juan Luis Frances, so thanks Juan Luis!



Keep up the good work guys...

Best
Stephan






--
Everton Thomaz
[EMAIL PROTECTED]





___ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 





---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-devel] Bacula GTK GUI: first useful example :-)

2005-11-30 Thread Kern Sibbald
Hello Lucas,

Oh, cool screenshot.  I like it ! 

By the way, in the voting, I now have 50 votes counted, and though items move 
around a bit with the voting, the top contenders have been pretty stable.  I 
mention it here, because the Python GUI program has always been in the top 5. 
Currently, it is running # 5 -- pretty impressive.

#1 Encryption project (nice Landon)
#2 Migration (Kern)
#3 Acurrate restoration (this is a compute intensive project !)
#4 Base jobs (this pleases me as I have wanted to do this for
 5 years now ...) 
#5 Python GUI ( Lucas ! )
#6 FD initiate backup.
...

I'll have comments on what I think the user's choices are telling us in a 
separate email probably Friday when I will close the voting, but at least I 
can say that our projects are going in the direction requested by the 
users ...

I'm copying this to the bacula-users list just so that they can see this new 
concept and your screenshot.  Thanks for working on this Lucas :-)


On Wednesday 30 November 2005 20:37, Lucas Di Pentima wrote:
 Hi Andreas,

 Andreas Jellinghaus wrote, On 30/11/05 15:16:
  hmm, maybe a few things I miss in the console:
  all lists: I want to click on column headers
  to sort the data. for example volumes by name
  or status then name or ...

 That's easy, it wasn't there because it was just a test :-)

  jobs: I would like to get a list of jobs,
  select several of them, and then start them
  all, with the option to set mode to full.
  (or for verify jobs: VolumeToCatalog).

 Maybe here we can came with something integrated with this object
 browser paradigm that I'm implementing. To the left I'm putting a tree
 widget with all the category names as main branches, and the actual
 object names below those branches, please see the screenshot attached.

 To get a traditional list from every category maybe I can make a view
 when the user clicks on the main branch, ie: if you click on Clients,
 to the right it will open a Client List tab where I can put some list
 widget with the client status or some other data, and allow the user do
 some multiple selection action on them...

 OTOH, if you click on an individual client, you get a client view tab,
 will all the data and actions available...

  It would be great to add clients and jobs
  via gui, but that won't work as long as they
  are configured in the director config file,
  I guess :(

 Yep, I think this only can be made editing the config file.

  also one thing I would like:
  the ability to select a number of jobs,
  and then see all tapes they use (so I
  can take them out of the library and
  move off site).

 Good idea :-)

  not sure if this feedback helps, but
  I hope so.

 Thanks Andreas!! it was helpful!

 Regards,

-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature request

2005-11-30 Thread Kern Sibbald
Please always copy the list.

On Wednesday 30 November 2005 21:07, Tomas Vasko wrote:
   I have a suggestion to item 9 -- it would be nice, if administrator of
   FD machine was able to specify the paths that only could be backed up
   i.e. to prohibit backing up of another than enumerated directories.
 
  This is already the case. The director specifies what directories are
  going to be backed up. None of the projects will change that ...

 i was likely not clear enough, see bellow

   This probably could be another item also, forasmuch as it has sense to
   restrict director also in non encrypting scenario -- to allow
   semi-trusted director to backup FD's machine public data without need
   for chrooting and to not be worried about private directories being
   backed up/stolen.
 
  The FD already specifies what director can attach to it, so I don't
  really understand what a semi-trusted director is. For me, the director
  is either trusted -- i.e. authenticated or not.  You will need to be more
  specific in your suggestions -- perhaps discussing them on the
  bacula-users list would help

 well, i mean a case when administrators of a computer running FD and of
 computer running Director and SD are two different people and probably in
 two different companies. The both agrees on regular backups of the
 /path/to/the/pub directory on FD's computer. In current baculas
 implementation is there nothing what the administrator of FD can do to
 prevent the administrator of Director to back up thw whole FD's computer
 including the private directories.

 I do fully understand that file lists are specified on Director, but i
 would like to have a possibility to enumerate directories on FD that
 could be accessed by fd process and thus backed up. All directories that
 are not subdirectories of these specified would fd process refuse to backup
 and would return a kind of EPERM error to the director.

 Is it now more clear?

Yes, thanks for clarifying it.  I don't have any immediate plans to implement 
this since the basic phylosophy of Bacula is that the Director should decide 
on everything.

However, you may be interested in using data encryption that Landon is working 
on. In this project, the FD can require encryption to be enabled, and hence 
you can from your Client machine guarantee that no one else can read your 
data.  This isn't exactly what you asked for, but would still allow 
protection of your private directories.


-- 
Best regards,

Kern

  (
  /\
  V_V


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to reuse tapes?

2005-11-30 Thread Arno Lehmann

Hello,

On 30.11.2005 14:59, Jason Baker wrote:

  I finally got Bacula 1.38 working on my shiny new Fedora Core 4 box 
yesterday, thanks to all who helped answer questions. I ran a full 
backup lastnight and actually ran out of tape space, so now I would like 
to reuse those tape and run another full. Here is my situation:


Bacula 1.38 on FC4 box using Postgres 8.1
HP Surestor 40x6 with 6 DDS-4 tapes.
I run a format script which is basically some MT and MTX commands:

/etc/bacula/mtx-changer /dev/sg0 load 1 /dev/nst0 0
mt -f /dev/st0 rewind
mt -f /dev/st0 weof

I do this for all 6 tapes. This is of course when Bacula isn't running. 
Then I start Bacula and use the label command to label the tapes 
BACKUP01, BACKUP02...etc. Now I would like to reuse these tapes to 
perform another full backup, using the same label, but I don't want to 
have to go through the trouble of reformatting them every time I want 
to use them. Is there a way to do this? I have Read the Fine Manual 
and I'm not sure it is giving me the information I want. Thank you.


use the console commands prune, purge or delete.

Prune respects retention periods and thus is safe, but it will not free 
the volumes you used for testing, unless you set very short retention 
periods. Purge unconditionally frees the volumes. You really don't want 
to use that command in production mode, I think. Delete deletes records 
from the catalog, for example all jobs from a volume, so thatthe volume 
can be recycled.


See the corrsponding explanation in TFM.

Arno



Jason



--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] problems with autopruning and volume reuse

2005-11-30 Thread Martin Simmons
 On Wed, 30 Nov 2005 19:34:24 +0100 (CET), Gabriele Bulfon [EMAIL 
 PROTECTED] said:

  Gabriele How can I get rid of all that old jobs that are no more valid,
  Gabriele without having to delete each by hand?

I would so this by editing the output of list jobs to include the old jobs and
writing a keyboard macro or perl script to convert the output into a set of
delete commands.

__Martin


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Missing defaults in the doc for The Pool Resource

2005-11-30 Thread Martin Simmons
The manual sections for Recycle Oldest Volume, Recycle Current Volume and
Purge Oldest Volume end in The default is . but presumably there should be
something before the dot.

__Martin


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula-sd crashes (bacula ver 1.38.2)

2005-11-30 Thread Paymon Bahrami

Hello !

I'm having a problem with my exabyte VXA-2 (10 tape autoloader) and 
bacula v. 1.38.2.

When I try to run the label command, bacula-sd crashes like so

Enter a period to cancel a command.
*label
Using default Catalog name=MyCatalog DB=bacula
The defined Storage resources are:
1: File
2: VXA-2
Select Storage resource (1-2): 2
Connecting to Storage daemon VXA-2 at 192.168.3.104:9103 ...
Enter autochanger drive[0]:
Enter new Volume name:
Volume name must be at least one character long.
Enter new Volume name: Vol0001
Enter slot (0 or Enter for none):
Automatically selected Pool: Default
Connecting to Storage daemon VXA-2 at 192.168.3.104:9103 ...


Anyone have any ideas?


Thank you!
Paymon


---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Feature request

2005-11-30 Thread Eric Langheinrich


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kern Sibbald
Sent: Wednesday, November 30, 2005 1:13 PM
To: Tomas Vasko; bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Feature request

Please always copy the list.

On Wednesday 30 November 2005 21:07, Tomas Vasko wrote:
   I have a suggestion to item 9 -- it would be nice, if administrator of
   FD machine was able to specify the paths that only could be backed up
   i.e. to prohibit backing up of another than enumerated directories.
 
  This is already the case. The director specifies what directories are
  going to be backed up. None of the projects will change that ...

 i was likely not clear enough, see bellow

   This probably could be another item also, forasmuch as it has sense to
   restrict director also in non encrypting scenario -- to allow
   semi-trusted director to backup FD's machine public data without need
   for chrooting and to not be worried about private directories being
   backed up/stolen.
 
  The FD already specifies what director can attach to it, so I don't
  really understand what a semi-trusted director is. For me, the director
  is either trusted -- i.e. authenticated or not.  You will need to be
more
  specific in your suggestions -- perhaps discussing them on the
  bacula-users list would help

 well, i mean a case when administrators of a computer running FD and of
 computer running Director and SD are two different people and probably in
 two different companies. The both agrees on regular backups of the
 /path/to/the/pub directory on FD's computer. In current baculas
 implementation is there nothing what the administrator of FD can do to
 prevent the administrator of Director to back up thw whole FD's computer
 including the private directories.



Why not just run the FD as a non-root user and limit the directories allowed
to be backed up using standard file permissions?





---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] volume names and attributes

2005-11-30 Thread Harry Putnam
New user alert!

Can volume attributes be set in one of the *.conf files?

If I've created a new pool, how do I auto create volume attribtes?

This particular pool will have only members who are `File' volumes.
On the surface it appears to only be possible to create and name
volumes from bconsole so not automatic.

Aside from volume retention and whether or not to accept any volume, I
don't see much about volumes in any of the example conf files.



---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to shorten connection timeout

2005-11-30 Thread Harry Putnam
How can I shorten what ever timeout is involved when bacula tries to
contact a file daemon on a winxp box.

debug output shows the job starting successfully ... then what seems
an unnecessarily long delay, before I see failure to connect errors.

How can I shorten that delay while I debug the connection problem?



---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] volume names and attributes

2005-11-30 Thread David Logan

Harry Putnam wrote:


New user alert!

Can volume attributes be set in one of the *.conf files?

If I've created a new pool, how do I auto create volume attribtes?

This particular pool will have only members who are `File' volumes.
On the surface it appears to only be possible to create and name
volumes from bconsole so not automatic.

Aside from volume retention and whether or not to accept any volume, I
don't see much about volumes in any of the example conf files.



---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
 


Hi Harry,

The manual covers this thoroughly in the section Basic Volume 
Management : Automatic Volume Labeling. It is worth a read


Regards

--

David Logan
South Australia

when in trouble, or in doubt
run in circles, scream and shout



---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] problems with autopruning and volume reuse

2005-11-30 Thread Harondel J. Sibble


On 30 Nov 2005 at 19:20, Sebastian Stark wrote:

 From your bacula-dir.conf it looks like your job retention is 30 days.
 As I understand bacula it won't (automatically) prune volumes unless it
 has purged all jobs referring to this volume.


Ahh, so I should set the job retention period to equal to or less than the 
volume retention period then?
-- 
Harondel J. Sibble 
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
[EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax)  (604) 686-2253 (pager)




---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] problems with autopruning and volume reuse

2005-11-30 Thread Harondel J. Sibble


On 30 Nov 2005 at 19:20, Sebastian Stark wrote:

 From your bacula-dir.conf it looks like your job retention is 30 days.
 As I understand bacula it won't (automatically) prune volumes unless it
 has purged all jobs referring to this volume.

So once I make that change in my conf file, do I have to modify any of the 
settings for the volumes themselves? I remember from a ways back that 
changing the volume retention settings didn't make any difference unless you 
started with new volumes or removed and relabled the current set of volumes.
-- 
Harondel J. Sibble 
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
[EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax)  (604) 686-2253 (pager)




---
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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users