[Bacula-users] Cannot get auto labeling to work

2006-03-30 Thread RYAN M. vAN GINNEKEN
I get the message at the bottom of this email, but i do not understand why 
bacula cannot create its own labels. I have added all the necessary parameters 
to my conf files see below. 

What am i missing? please help i have been struggling with this for sometime 
now.

Pool {
  Name = Full-Pool
  Volume Retention = 3 months
  Maximum Volume Jobs = 1
  Label Format = Full-
  Maximum Volumes = 3
#  How do i include these in default pools  PoolDefs ?
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Accept Any Volume = yes
}

Device {
  Name = computerking.ca
  Media Type = computerking.ca
  Archive Device = /home/backups/bacula/computerking.ca
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}


30-Mar 23:30 tokyo-dir: No prior Full backup Job record found.
30-Mar 23:30 tokyo-dir: No prior or suitable Full backup found. Doing FULL 
backup.
30-Mar 23:30 tokyo-dir: Start Backup JobId 26, 
Job=computerking.ca.2006-03-30_23.30.18
30-Mar 23:30 tokyo-sd: Job computerking.ca.2006-03-30_23.30.18 waiting. Cannot 
find any appendable volumes.
Please use the "label"  command to create a new Volume for:
Storage:  "computerking.ca" (/home/backups/bacula/computerking.ca)
Media type:   computerking.ca
Pool: Full-Pool


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula and tcpwrappers on Debian

2006-03-30 Thread Greg Vickers
Hi all,

I've found out that tcpwrappers were causing my authentication problems 
(bconsole couldn't connect to the bacula-dir process.)

If remove the 'ALL: ALL' line from hosts.deny bconsole will connect to the 
director successfully. I reinstate the 'ALL: ALL' clause and the following 
hosts.allow file will not allow bconsole to connect:
bacula-dir: ALL
bacula-fd: ALL
bacula-sd: ALL

(I know I probably don't need the bacula-fd and -sd lines, but I included them 
out of frustration.)

What else should I include in my hosts.allow file to allow bconsole to connect 
to the director?

Thanks,
Greg


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job upgraded to full not using full pool

2006-03-30 Thread Ian Levesque

Hi all,

I've got a new installation using 1.38.6 interfacing with a 3-drive  
changer. The initially-scheduled jobs are incrementals that, when  
run, are rightfully automatically upgraded to full backups. Only  
problem is that once the jobs run, they've already reserved a tape  
from the incremental pool, and the director doesn't bother ejecting  
in favor of a tape from the full pool. Jobs run as Full backups  
correctly use the "Fulls" pool.


Is this a known issue that I need to address using a different  
configuration? Or a bug?


Many thanks for any ideas --
Ian

Relevant config:
-
JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Full
  Pool = Fulls
  ...
}

Job {
  Name = "CRYSTAL_HOME"
  JobDefs = "DefaultJob"
  Client = home-fd
  FileSet = "CRYSTAL_HOME"
  Schedule = "CRYSTAL_HOME"
  Prefer Mounted Volumes = no
}

FileSet {
  Name = "CRYSTAL_HOME"
  Include {
Options {
  signature = MD5
onefs = no
}
File = /home
  }
  Exclude {
  }
}

Schedule {
  Name = "CRYSTAL_HOME"
  Run = Full Pool=Fulls on 3 at 22:00
  Run = Differential Pool=Fulls on fri at 1:00
  Run = Incremental Pool=Incrementals mon-thu at 1:00
}



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] compression

2006-03-30 Thread Nick Smith
In my FileSet in my bacula-dir.conf file i have
" Options { signature = MD5 compression = GZIP }"

but when the backup completes and i get the email confirmation it says
it doesnt have compression:

"Software Compression:   None"

what am i missing here? how do i get compression turned on?

I have a DDS3 tape drive.

thanks

Nick


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] where is the archive of this mailing list?

2006-03-30 Thread Norbert Murzsa








 

Norbert Murzsa

Senior Systems Engineer (CCSE+SCP)


 
  
  T
  
  
  (04) 460 6068
  
  
  
   
  
 
 
  
  F
  
  
  (04) 460 6001
  
 
 
  
  E
  
  
  [EMAIL PROTECTED]
  
 
 
  
  W
  
  
  www.gen-i.co.nz
  
 



Level 3, 154 Featherston Street,
Wellington,
 New Zealand








 
  
  "This communication, including any attachments,
  is confidential. If you are not the intended recipient, you should not read
  it - please contact me immediately, destroy it, and do not copy or use any
  part of this communication or disclose anything about it. Thank you. Please
  note that this communication does not designate an information system for the
  purposes of the Electronic Transactions Act 2002."
  
 


 








Re: [Bacula-users] Win32 Version 1.38.5

2006-03-30 Thread kernel[consulting] info
Kern Sibbald schrieb:

>On Wednesday 01 March 2006 17:20, kernel[consulting] info wrote:
>  
>
>>Kern Sibbald schrieb:
>>
>>
>>>On Tuesday 28 February 2006 19:04, kernel[consulting] info wrote:
>>>  
>>>
Kern Sibbald schrieb:


>On Tuesday 28 February 2006 14:59, kernel[consulting] info wrote:
>  
>
>>Kern Sibbald schrieb:
>>
>>
>>>On Tuesday 28 February 2006 13:24, Dan Langille wrote:
>>>  
>>>
On 27 Feb 2006 at 15:13, kernel[consulting] info wrote:


>I have a problem restoring files from the wx-console running on
>WinXP. I was told to use bacula version 1.38.5, but i am unable to
>find the binary win32 release of 1.38.5. Can anyone please be so
>kind to point me in the right direction?
>  
>
It does not exist AFAIK. You'll be OK with the Windows 1.38.4
version.


>>>Yes, except that there is an embarrassing little problem here. He is
>>>reporting a bug against Win32 1.38.4, which I cannot produce, and,
>>>being confused with some changes we made to 1.38.3, I told him to
>>>upgrade to 1.38.5, which doesn't exist. :-(
>>>  
>>>
>>Maybe i can send you my bacula database.
>>Perhaps you will be able to reprocude the error?
>>
>>I would be glad to help in any way.
>>
>>
>The easiest way to work around the problem at the moment is either to
>use bconsole from you Win32 machine, or use any console from any Linux
>machine.
>
>
>
>---
>This SF.Net email is sponsored by xPML, a groundbreaking scripting
>language that extends applications into web and mobile media. Attend the
>live webcast and join the prime developer group breaking into this new
>coding territory!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>___
>Bacula-users mailing list
>Bacula-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bacula-users
>  
>
Hello kern,

i tried. Too bad, the filenames are not shown correctly even in the
bconsole running windows. The  umlauts are missing.
Only the characters, the filenames are there.

I use :

cat /etc/sysconfig/i18n
LANG="[EMAIL PROTECTED]"
COUNTRY="de"
LANGUAGE="de"
CHARSET="iso8859-15"
XMODIFIERS=""


>>>I never thought to ask you for your sysconfig -- good idea!, because:
>>>
>>>Hmm. This may well be your problem. I'm not an expert in Linux character
>>>sets, but Bacula uses utf-8, which is the default on Linux. It looks like
>>>you have turned off utf-8, which will create a database that is
>>>incompatible with the Win32 consoles, which expect all Bacula database
>>>information to be in utf-8 format (Unicode).
>>>
>>>my /etc/sysconf/i18n looks like the following:
>>>
>>>LANG="en_US.UTF-8"
>>>SUPPORTED="en_US.UTF-8:en_US:en"
>>>
>>>I imagine (but don't really know) that you should not have the CHARSET,
>>>and that you should have a .UTF-8 on the end of your LANG definition. 
>>>I've never seen the @euro, so I'm not sure where that really fits in ...
>>>
>>>Perhaps a couple of German users could provide the output of
>>>their /etc/sysconfig/i18n files -- especially those who have had success
>>>using the Win32 version of wx-console with German accents.
>>>
>>>Best regards, Kern
>>>
>>>  
>>>
on my server running: Debian GNU/Linux 3.1 with 2.6.4-1-686

i hope this is useful,

Thanks all and especially kern for considering my case.

Sebastian Hültenschmidt








---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language that extends applications into web and mobile media. Attend the
live webcast and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


>>Thanks all,
>>
>>we found it.
>>But now i am in real trouble. I tried some de_DE.UTF-8 setting, but all
>>i get is trouble with the linux console display of charsets.
>>I assume my ext3 filesystem is now written with iso-8859-15 (AFAIK the
>>same as the @euro thingy) .
>>So i get ? instead of umlauts when i change to UTF-8.
>>Does anyone know how convert the filesystem to UTF-8?
>>Or is there a way to convert filename to UTF-8 BEFORE they are written
>>to the db in bacula?
>>
>>hmmm.. looks like i am 

Re: [Bacula-users] DVD does not recognise the media.

2006-03-30 Thread kernel[consulting] info
[EMAIL PROTECTED] schrieb:

> Hi !
>
> I'm unable to label my DVD. (bacula 1.38.5)
>
> Here is what I do :
>
> homer bacula # bconsole
>
> Connecting to Director homer:9101
>
> 1000 OK: homer-dir Version: 1.38.5 (18 January 2006)
>
> Enter a period to cancel a command.
>
> *label
>
> Using default Catalog name=MyCatalog DB=bacula
>
> The defined Storage resources are:
>
> 1: File
>
> 2: DVD
>
> Select Storage resource (1-2): 2
>
> Enter new Volume name: DVD-FULL-0001
>
> Automatically selected Pool: Default
>
> Connecting to Storage daemon DVD at homer:9103 ...
>
> Sending label command for Volume "DVD-FULL-0001" Slot 0 ...
>
> 3910 Unable to open device "DVD-Writer" (/dev/hda): ERR=There is no
> valid media in the device "DVD-Writer" (/dev/hda).
>
> Label command failed for Volume DVD-FULL-0001.
>
> Do not forget to mount the drive!!!
>
> *q
>
> However, if I run the "mediainfo" command, I have good results :
>
> homer bacula # "/usr/bin/dvd+rw-mediainfo" /dev/hda
>
> INQUIRY: [LITE-ON ][DVDRW SOHW-1673S][JS02]
>
> GET [CURRENT] CONFIGURATION:
>
> Mounted Media: 1Bh, DVD+R
>
> Media ID: RICOHJPN/R00
>
> Current Write Speed: 2.4x1385=3324KB/s
>
> Write Speed #0: 2.0x1385=2770KB/s
>
> GET [CURRENT] PERFORMANCE:
>
> Write Performance: 2.4x1385=3324KB/[EMAIL PROTECTED] -> 0]
>
> Speed Descriptor#0: 00/0 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
>
> READ DVD STRUCTURE[#0h]:
>
> Media Book Type: A1h, DVD+R book [revision 1]
>
> Legacy lead-out at: 2295104*2KB=4700372992
>
> READ DISC INFORMATION:
>
> Disc status: blank
>
> Number of Sessions: 1
>
> State of Last Session: empty
>
> Number of Tracks: 1
>
> READ TRACK INFORMATION[#1]:
>
> Track State: blank
>
> Track Start Address: 0*2KB
>
> Next Writable Address: 0*2KB
>
> Free Blocks: 2295104*2KB
>
> Track Size: 2295104*2KB
>
> ROM Compatibility LBA: 262144
>
> READ CAPACITY: 1*2048=2048
>
> The logs are showing strange things :
>
> homer bacula # tail /var/log/messages
>
> Mar 12 18:41:37 homer isofs_fill_super: bread failed, dev=hda,
> iso_blknum=16, block=16
>
> Mar 12 18:41:38 homer attempt to access beyond end of device
>
> Mar 12 18:41:38 homer hda: rw=0, want=68, limit=4
>
> Mar 12 18:41:38 homer isofs_fill_super: bread failed, dev=hda,
> iso_blknum=16, block=16
>
> Mar 12 18:41:38 homer attempt to access beyond end of device
>
> Mar 12 18:41:38 homer hda: rw=0, want=68, limit=4
>
> Mar 12 18:41:38 homer isofs_fill_super: bread failed, dev=hda,
> iso_blknum=16, block=16
>
> Mar 12 18:41:40 homer attempt to access beyond end of device
>
> Mar 12 18:41:40 homer hda: rw=0, want=68, limit=4
>
> Mar 12 18:41:40 homer isofs_fill_super: bread failed, dev=hda,
> iso_blknum=16, block=16
>
> homer bacula #
>
> So, I tried to burn a DVD with growisofs, and it worked :
>
> homer bacula # growisofs -Z /dev/dvd -R -J
> /mnt/files/celine/Documents.tar.gz
>
> Executing 'mkisofs -R -J /mnt/files/celine/Documents.tar.gz |
> builtin_dd of=/dev/dvd obs=32k seek=0'
>
> /dev/dvd: "Current Write Speed" is 2.5x1385KBps.
>
> 1.09% done, estimate finish Sun Mar 12 19:38:02 2006
>
> 2.17% done, estimate finish Sun Mar 12 19:21:55 2006
>
> 3.25% done, estimate finish Sun Mar 12 19:16:03 2006
>
> ..
>
> 98.67% done, estimate finish Sun Mar 12 19:04:48 2006
>
> 99.76% done, estimate finish Sun Mar 12 19:04:47 2006
>
> Total translation table size: 0
>
> Total rockridge attributes bytes: 257
>
> Total directory bytes: 0
>
> Path table size(bytes): 10
>
> Max brk space used 21000
>
> 461128 extents written (900 MB)
>
> builtin_dd: 461136*2KB out @ average 2.2x1385KBps
>
> /dev/dvd: flushing cache
>
> /dev/dvd: closing track
>
> /dev/dvd: closing session
>
> homer bacula #
>
> What could be my problem ?
>
> Regards,
>
hello,

i am not sure if it helps, but check the following:

1. make sure your spool-dir exists and is writeable, we got into trouble
because we had spool below /tmp which was cleared regulary
2. make sure you use the ide-scsi emulation layer for your dvd as there
are problems with iso9660 sessions beyond the 2G layer
3. we needed to uncomment the -notray option in dvd-handler when using
ide-scsi layer

i hope this helps.

cheers ,

Sebastian Hültenschmidt






---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help using bacula

2006-03-30 Thread Arno Lehmann

Hello,

On 3/30/2006 10:18 PM, Nick Smith wrote:

I am a new user to bacula, i have read through the documentation, have
it installed on gentoo, and have made one successful backup.  This is
all rather confusing to me.  After playing around with it i have a ton
of listed backup jobs, but i can find no where to delete them.


The delete command...
... but be careful with it.

>...

I still just dont understand what im doing wrong.

All i want it to do is backup the selected directories once a day
(which it did once), but i only want to use one tape and i want it to
reuse the tape every night.


Sorry, I can't help you with such a setup because a) you will have to 
force Bacula to do something it is not designed for, and b) thus I never 
tried it ;-) and c) I wouldn't tell you if I knew because your backup 
scheme is, excuse my language, crap. IMO, of course.



 i keep getting that the device is full,
which i want it to either erase whats on there or recursively backup
the files that have changed (even better).  But i dont know how to do
that.  i have tried adding tapes and think i have failed with that
because it keeps asking me now to insert a different volume

25-Mar 01:05 mail-sd: MailBackup.2006-03-25_01.05.00 Warning: Director
wanted Volume "Vol-10001".
Current Volume "Backup1" not acceptable because:
1998 Volume "Backup1" status is Full, but should be Append, Purged
or Recycle.

I guess what i want to do is start over with the whole volume/job
thing and start fresh and see if i can get this working, so how do i
delete volumes and jobs so i can recreate? and also how do i tell it
to either erase the tape on a new backup or recursively backup the
changed files from day to day?


You will have to set a short volume retention time, a short volume use 
duration, and probably you will need a job triggering automatic pruning 
before you backup job starts.


You will also not have a useful backup (for most applications).

What you want to do is much more easily achieved using tar, dump, cpio 
or some other tool.


Arno


thanks for any help

Nick


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: software compression

2006-03-30 Thread Bart Schelstraete
# ldd `which bacula-fd` linux-gate.so.1 =>  (0xe000) 
libacl.so.1 => /lib/libacl.so.1 (0x4002f000) libz.so.1 => /lib/libz.so.1 (0x40035000) libutil.so.1 => /lib/libutil.so.1 (0x40047000) librt.so.1 => /lib/tls/librt.so.1 (0x4004b000)
 libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40054000) libdl.so.2 => /lib/libdl.so.2 (0x40066000) libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x4006a000) libcrypto.so.0.9.7
 => /usr/lib/libcrypto.so.0.9.7 (0x4009a000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4018c000) libm.so.6 => /lib/tls/libm.so.6 (0x40249000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4026c000)
 libc.so.6 => /lib/tls/libc.so.6 (0x40274000) libattr.so.1 => /lib/libattr.so.1 (0x4038a000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)and see quite clearly that libz is referenced by the FD.
Correct, the libz is there...B-- Schelstraete Barthttp://www.schelstraete.org
[EMAIL PROTECTED]


[Bacula-users] Reclaim space inside a volume file?

2006-03-30 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have backups that have been writing to a single file for a long time.
Stupid idea, yes, but bear with me...

The file is now over 1 GB. I'm attempting to fix this situation and trim
the file down to a reasonable size (ultimately, this backup will be
going on tapes along with the rest). Is there anything I can do to
compact the file now that I've pruned most jobs from it?

Thanks.
- --
  _  _ _  _ ___  _  _  _
 |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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFELEHnmb+gadEcsb4RAjWvAKDKHGbobPViOCjVugVyuj0enCSoFQCgmWhO
R1TTWUkpFvZgjfw2br0242U=
=cInr
-END PGP SIGNATURE-



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: software compression

2006-03-30 Thread Arno Lehmann

Hi,

On 3/30/2006 9:55 PM, Bart Schelstraete wrote:


Is the file daemon bacula-fd on the clients compiled with compression
support?


We have 2 type of FD's:

- one on the bacula server itself, which is done with an src rpm
- on on a HP-UX box


Both have the same problem, and on both boxes, the zlib is available.


Ok, but is it actually used?

On linux, for example, I can do this:

# ldd `which bacula-fd`
linux-gate.so.1 =>  (0xe000)
libacl.so.1 => /lib/libacl.so.1 (0x4002f000)
libz.so.1 => /lib/libz.so.1 (0x40035000)
libutil.so.1 => /lib/libutil.so.1 (0x40047000)
librt.so.1 => /lib/tls/librt.so.1 (0x4004b000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40054000)
libdl.so.2 => /lib/libdl.so.2 (0x40066000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x4006a000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x4009a000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4018c000)
libm.so.6 => /lib/tls/libm.so.6 (0x40249000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4026c000)
libc.so.6 => /lib/tls/libc.so.6 (0x40274000)
libattr.so.1 => /lib/libattr.so.1 (0x4038a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)

and see quite clearly that libz is referenced by the FD.


Btw, can you specifiy the compression option when using a src rpm??


No idea, I haven't built using srpm yet.

Arno





B
--
Schelstraete Bart
http://www.schelstraete.org
[EMAIL PROTECTED] 


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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] help using bacula

2006-03-30 Thread Nick Smith
I am a new user to bacula, i have read through the documentation, have
it installed on gentoo, and have made one successful backup.  This is
all rather confusing to me.  After playing around with it i have a ton
of listed backup jobs, but i can find no where to delete them.

+---+---+-+--+---+--+--+---+
| JobId | Name  | StartTime   | Type | Level |
JobFiles | JobBytes | JobStatus |
+---+---+-+--+---+--+--+---+
|30 | MailBackup| -00-00 00:00:00 | B| I |   
0 |0 | C |
|29 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
|28 | MailBackup| -00-00 00:00:00 | B| D |   
0 |0 | C |
|27 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
|25 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
|24 | MailBackup| -00-00 00:00:00 | B| I |   
0 |0 | C |
|23 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
|17 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
|19 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
|21 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
|31 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
|33 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
|34 | MailBackup| -00-00 00:00:00 | B| I |   
0 |0 | C |
|35 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
|36 | MailBackup| -00-00 00:00:00 | B| I |   
0 |0 | C |
|37 | BackupCatalog | -00-00 00:00:00 | B| F |   
0 |0 | C |
| 2 | MailBackup| 2006-03-10 11:24:15 | B| F |   
0 |0 | A |
| 5 | MailBackup| 2006-03-10 18:50:13 | B| F |   
0 |0 | A |
| 6 | MailBackup| 2006-03-10 18:54:58 | B| F |   
0 |0 | f |
| 9 | BackupCatalog | 2006-03-11 01:24:18 | B| F |   
0 |0 | f |
|11 | BackupCatalog | 2006-03-12 01:25:13 | B| F |   
0 |0 | f |
|13 | BackupCatalog | 2006-03-13 01:25:05 | B| F |   
0 |0 | f |
|15 | BackupCatalog | 2006-03-14 01:24:45 | B| F |   
0 |0 | f |
|18 | MailBackup| 2006-03-21 01:05:02 | B| I |   
0 |0 | f |
|20 | MailBackup| 2006-03-22 01:05:02 | B| I |   
0 |0 | f |
|22 | MailBackup| 2006-03-23 01:05:02 | B| F |   
0 |0 | f |
|26 | MailBackup| 2006-03-25 01:05:02 | B| F |   
0 |0 | f |
|32 | MailBackup| 2006-03-28 01:05:02 | B| F |   
0 |0 | R |
+---+---+-+--+---+--+--+---+

I still just dont understand what im doing wrong.

All i want it to do is backup the selected directories once a day
(which it did once), but i only want to use one tape and i want it to
reuse the tape every night.  i keep getting that the device is full,
which i want it to either erase whats on there or recursively backup
the files that have changed (even better).  But i dont know how to do
that.  i have tried adding tapes and think i have failed with that
because it keeps asking me now to insert a different volume

25-Mar 01:05 mail-sd: MailBackup.2006-03-25_01.05.00 Warning: Director
wanted Volume "Vol-10001".
Current Volume "Backup1" not acceptable because:
1998 Volume "Backup1" status is Full, but should be Append, Purged
or Recycle.

I guess what i want to do is start over with the whole volume/job
thing and start fresh and see if i can get this working, so how do i
delete volumes and jobs so i can recreate? and also how do i tell it
to either erase the tape on a new backup or recursively backup the
changed files from day to day?

thanks for any help

Nick


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: software compression

2006-03-30 Thread Bart Schelstraete
Is the file daemon bacula-fd on the clients compiled with compressionsupport?
We have 2 type of FD's:- one on the bacula server itself, which is done with an src rpm- on on a HP-UX boxBoth have the same problem, and on both boxes, the zlib is available.
Btw, can you specifiy the compression option when using a src rpm??B-- Schelstraete Barthttp://www.schelstraete.org
[EMAIL PROTECTED]


Re: [Bacula-users] Unable to run tray-monitor.

2006-03-30 Thread drescher0110-bacula
Are you logged into X as a normal user and trying to load applications as root?
John

--- "Erik P. Olsen" <[EMAIL PROTECTED]> wrote:

> On my Fedora Core 5 I cannot run the tray-monitor. I get the following:
> 
> [EMAIL PROTECTED] bin]# ./bacula-tray-monitor -c ../conf/tray-monitor.conf
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> 
> (bacula-tray-monitor:16582): Gtk-WARNING **: cannot open display:
> [EMAIL PROTECTED] bin]#
> 
> Same happens with wx-console:
> 
> [EMAIL PROTECTED] conf]# ../bin/wx-console -c wx-console.conf
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> Error: Unable to initialize gtk, is DISPLAY set properly?
> [EMAIL PROTECTED] conf]#
> 
> I have no problems on my Fedora Core 3. What can be wrong/missing?
> 
> -- 
> Regards,
> Erik P. Olsen
> 
> 
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Unable to run tray-monitor.

2006-03-30 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Your X permission settings are not correct.

`man xhost`

  _  _ _  _ ___  _  _  _
 |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


Erik P. Olsen wrote:
> On my Fedora Core 5 I cannot run the tray-monitor. I get the following:
> 
> [EMAIL PROTECTED] bin]# ./bacula-tray-monitor -c ../conf/tray-monitor.conf
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> 
> (bacula-tray-monitor:16582): Gtk-WARNING **: cannot open display:
> [EMAIL PROTECTED] bin]#
> 
> Same happens with wx-console:
> 
> [EMAIL PROTECTED] conf]# ../bin/wx-console -c wx-console.conf
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> Error: Unable to initialize gtk, is DISPLAY set properly?
> [EMAIL PROTECTED] conf]#
> 
> I have no problems on my Fedora Core 3. What can be wrong/missing?
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFELCjFmb+gadEcsb4RAhmlAKCUXBF/mvz8tbe5Lp0ID2TK/ApIawCgpoEo
uCOPZZA6KYpemwCW2v5yzsI=
=3KcP
-END PGP SIGNATURE-



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Unable to run tray-monitor.

2006-03-30 Thread Erik P. Olsen

On my Fedora Core 5 I cannot run the tray-monitor. I get the following:

[EMAIL PROTECTED] bin]# ./bacula-tray-monitor -c ../conf/tray-monitor.conf
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(bacula-tray-monitor:16582): Gtk-WARNING **: cannot open display:
[EMAIL PROTECTED] bin]#

Same happens with wx-console:

[EMAIL PROTECTED] conf]# ../bin/wx-console -c wx-console.conf
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Error: Unable to initialize gtk, is DISPLAY set properly?
[EMAIL PROTECTED] conf]#

I have no problems on my Fedora Core 3. What can be wrong/missing?

--
Regards,
Erik P. Olsen




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Running Jobs simultaneously on two streamers of same type - Sorry to come "back up" ;-) with this again

2006-03-30 Thread Christoff Buch





Mit freundlichem Gruß

i. A. Christoff Buch

=
[EMAIL PROTECTED]
OneVision Software AG
Dr.-Leo-Ritter-Str. 9
93049 Regensburg

John Kodis <[EMAIL PROTECTED]> wrote on 30.03.2006
16:42:43:

> On Thu, Mar 30, 2006 at 04:21:59PM +0200, Christoff Buch wrote:
> 
> > For me, it sounds like the whole concept of priorities is obsolete
and job 
> > order has to be managed all by schedules.
> > Right?
> > I mean if priorities are only respected correctly as long as
jobs are 
> > started (by schedules) in the according order (because bacula
needs to 
> > examine them in just this order to be able to respect those priorities

> > correctly) - what do I need priorities for
> 
> The one thing that I use schedules for is taken directly from the
> example configuration: running a catalog backup immediately after
all
> the client backups have completed.  While jobs at the same priority
> seem to normally run in the order in which they get queued up, there's
> no guarantee of this.  There is such a guarantee with priorities.
> 
> -- John Kodis.
> 
Hi John,

Thanks for your reply!
So do you start your client jobs without
any schedules? How?
How can I determine the order jobs get
queued up? Is it the position in the bacula-dir.conf? (I don't wanna believe
I have to go down to this...)
Besides, I'm mainly concerned about
getting simultaneous jobs to run - and concerning this there's a problem
with priorities as you can see in my earlier mails.





Re: [Bacula-users] Re: software compression

2006-03-30 Thread Arno Lehmann

Hello,

On 3/30/2006 5:40 PM, Bart Schelstraete wrote:


Hi,

I just started with Bacula, and  I have a small problem.
I'm running the latest Bacula version on Redhat ES 4.0, 64bit, and
this was built from the src rpm according to the bacula guidelines.
The bacula fileset configuration says that it needs to use gzip
compression:

--
Options {
   signature=SHA1
   compression=gzip
}
--

Zlib & zlib-dev was installed on the boxes, according to the Bacula FAQ.
But it's not compression the data, see a part of the report: (file
storage)

--
  Rate:   68.4 KB/s
  Software Compression:   None
--

Anybody who has an idea what can be the problem?


Is the file daemon bacula-fd on the clients compiled with compression 
support?


Arno



B





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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Running Jobs simultaneously on two streamers of same type - Sorry to come "back up" ;-) with this again

2006-03-30 Thread Arno Lehmann

Hello,

On 3/30/2006 4:21 PM, Christoff Buch wrote:


Hello,

meanwhile I really tried to get it on my own, but looking at page 135 of 
Bacula Manual Version 1.38.5 just knocks me out.


On line one and two it says:
".. all queued jobs of priority 1 will run before queued jobs of 
priority 2 and so on, regardless of the original scheduling order."


While in the last paragraph it says:
"If you have several jobs of different priority, it may not best to start
them at exactly the same time, because Bacula must examine them
one at a time. If by Bacula starts a lower priority job first, then it will
run before your high priority jobs. If you experience this problem, you
may avoid it by starting any higher priority jobs a few seconds before
lower priority ones. This insures that Bacula will examine the jobs in
the correct order, and that your priority scheme will be respected."

I assume the last paragraph applies regardless of jobs running 
concurrent or not. Is that right?


If yes:
For me, it sounds like the whole concept of priorities is obsolete and 
job order has to be managed all by schedules.

Right?


I don't think so.
See below.

I mean if priorities are only respected correctly as long as jobs are 
started (by schedules) in the according order (because bacula needs to 
examine them in just this order to be able to respect those priorities 
correctly) - what do I need priorities for

It all depends on the schedules then.
Or did I miss it completely?


Not completely :-)

I'll give an example I use:
I've got the whole Bacula setup allowing multiple simultaneous jobs; 
distributed over several storage devices, up to 12 jobs can run 
simultaneously.


I schedule all jobs at the same time, to utilize my backup window as 
good as possible.


Still I do have some jobs that must be run after the regular jobs: 
Database and LDAP catalog backups, and finally a job that shuts down the 
backup server.


To ensure proper execution order and to make sure the database backups 
are run after the regular filesystem ones - the database server would be 
seriously overloaded if those things ran simultaneously - I have all the 
regular backups at one priority level, the database backup runs at a 
lower priority, and the shutdown job has an even higher priority value.


Result: I have the jobs that must not run simultaneously running in 
parallel kind of blockwise.



Coming back to my original concern:
As a pro user I have, as mentioned before, backup-servers each 
controlling several streamers of the same type.

The amount of data per day is relatively high.
So I want to be finished with backups in the morning to service my users 
with restores if need be.
In other words I want the respective jobs go parallel on the streamers, 
not sequentially.


I think I understand why concurrent jobs are not recommended if going on 
only one streamer.


Spooling, not priorities would be the option I prefer. If you're short 
on disk space you can also limit the number of jobs running 
simultaneously on one storage device to one.


But this should be not a problem with two or more jobs each going on an 
extra streamer. Right?

Basically, can bacula manage that at all?


I'd say it can, because it does here.


If yes, how should I enable it?
Has this, in my case, to do with "Maximum Concurrent Jobs" at all?
Can I leave "Maximum Concurrent Jobs = 1" in the Storage Resource of the 
director's conf? (see my configuration in original mail, please)


That's what I'd suggest if spooling is not an option for you.


Take out priorities completely?


Use priorities very carefully.
IMO, priorities are most useful as an additional means to ensure a 
defined job sequence, not to limit concurrency.



Give each job an own schedule and giving them intervals of, say, a minute?


Schedule the jobs in blocks, putting the same schedule into all jobs of 
the same priority, and keep some minutes between those blocks.


Arno



Kind Regards,

i. A. Christoff Buch

=
[EMAIL PROTECTED]
OneVision Software AG
Dr.-Leo-Ritter-Str. 9
93049 Regensburg


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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] software compression

2006-03-30 Thread Bart Schelstraete
Hi,

I just started with Bacula, and  I have a small problem.
I'm running the latest Bacula version on Redhat ES 4.0, 64bit, and this
was built from the src rpm according to the bacula guidelines.
The bacula fileset configuration says that it needs to use gzip compression:

--
Options {
   signature=SHA1
   compression=gzip
}--

Zlib & zlib-dev was installed on the boxes, according to the Bacula FAQ.
But it's not compression the data, see a part of the report: (file storage)

--
 
Rate:  
68.4 KB/s
  Software Compression:   None
--

Anybody who has an idea what can be the problem?


B
-- Schelstraete Barthttp://www.schelstraete.org[EMAIL PROTECTED]


[Bacula-users] Re: software compression

2006-03-30 Thread Bart Schelstraete

Hi,

I just started with Bacula, and  I have a small problem.
I'm running the latest Bacula version on Redhat ES 4.0, 64bit, and this
was built from the src rpm according to the bacula guidelines.
The bacula fileset configuration says that it needs to use gzip compression:

--
Options {
   signature=SHA1
   compression=gzip
}--

Zlib & zlib-dev was installed on the boxes, according to the Bacula FAQ.
But it's not compression the data, see a part of the report: (file storage)

--
 
Rate:  
68.4 KB/s
  Software Compression:   None
--

Anybody who has an idea what can be the problem?


B



Re: [Bacula-users] Running Jobs simultaneously on two streamers of same type - Sorry to come "back up" ;-) with this again

2006-03-30 Thread John Kodis
On Thu, Mar 30, 2006 at 04:21:59PM +0200, Christoff Buch wrote:

> For me, it sounds like the whole concept of priorities is obsolete and job 
> order has to be managed all by schedules.
> Right?
> I mean if priorities are only respected correctly as long as jobs are 
> started (by schedules) in the according order (because bacula needs to 
> examine them in just this order to be able to respect those priorities 
> correctly) - what do I need priorities for

The one thing that I use schedules for is taken directly from the
example configuration: running a catalog backup immediately after all
the client backups have completed.  While jobs at the same priority
seem to normally run in the order in which they get queued up, there's
no guarantee of this.  There is such a guarantee with priorities.

-- John Kodis.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Running Jobs simultaneously on two streamers of same type - Sorry to come "back up" ;-) with this again

2006-03-30 Thread Christoff Buch

Hello,

meanwhile I really tried to get it on
my own, but looking at page 135 of Bacula Manual Version 1.38.5 just knocks
me out.

On line one and two it says:
".. all queued jobs of priority
1 will run before queued jobs of priority 2 and so on, regardless of the
original scheduling order."

While in the last paragraph it says:
"If you have several jobs of different
priority, it may not best to start
them at exactly the same time, because
Bacula must examine them
one at a time. If by Bacula starts a
lower priority job first, then it will
run before your high priority jobs.
If you experience this problem, you
may avoid it by starting any higher
priority jobs a few seconds before
lower priority ones. This insures that
Bacula will examine the jobs in
the correct order, and that your priority
scheme will be respected."

I assume the last paragraph applies
regardless of jobs running concurrent or not. Is that right?

If yes:
For me, it sounds like the whole concept
of priorities is obsolete and job order has to be managed all by schedules.
Right?
I mean if priorities are only respected
correctly as long as jobs are started (by schedules) in the according order
(because bacula needs to examine them in just this order to be able to
respect those priorities correctly) - what do I need priorities for
It all depends on the schedules then.
Or did I miss it completely?

Coming back to my original concern:
As a pro user I have, as mentioned before,
backup-servers each controlling several streamers of the same type.
The amount of data per day is relatively
high.
So I want to be finished with backups
in the morning to service my users with restores if need be.
In other words I want the respective
jobs go parallel on the streamers, not sequentially.

I think I understand why concurrent
jobs are not recommended if going on only one streamer.
But this should be not a problem with
two or more jobs each going on an extra streamer. Right?
Basically, can bacula manage that at
all?
If yes, how should I enable it?
Has this, in my case, to do with "Maximum
Concurrent Jobs" at all?
Can I leave "Maximum Concurrent
Jobs = 1" in the Storage Resource of the director's conf? (see my
configuration in original mail, please)
Take out priorities completely?
Give each job an own schedule and giving
them intervals of, say, a minute?


Kind Regards,

i. A. Christoff Buch

=
[EMAIL PROTECTED]
OneVision Software AG
Dr.-Leo-Ritter-Str. 9
93049 Regensburg

[Bacula-users] Tape request: Too Many Tries

2006-03-30 Thread Mark Bober

I updated to 1.38.6 last night, and got this after a tape error on the catalog 
backup tape caused it to be marked full (and the SD wanted a second tape to 
continue:)

30-Mar 07:25 duct-sd: BackupCatalog.2006-03-29_23.59.00 Warning: Director 
wanted Volume "Catalog-0019" for device "ATL1Drive" (/dev/nst3).Current 
Volume "Catalog-0010" not acceptable because:1998 Volume "Catalog-0010" 
status is Full, but should be Append, Purged or Recycle.
30-Mar 07:25 duct-sd: Please mount Volume "Catalog-0010" on Storage Device 
"ATL1Drive" (/dev/nst3) for Job BackupCatalog.2006-03-29_23.59.00
30-Mar 07:26 duct-sd: Please mount Volume "Catalog-0019" on Storage Device 
"ATL1Drive" (/dev/nst3) for Job BackupCatalog.2006-03-29_23.59.00
30-Mar 07:27 duct-sd: BackupCatalog.2006-03-29_23.59.00 Fatal error: Too many 
tries: Wrong Volume mounted on device "ATL1Drive" (/dev/nst3): Wanted 
Catalog-0019 have Catalog-0010


It started at 3:57, took till 7:37 to hit the "Too many tries:". It did this 
101 times.

Where is this set at? I'm having a tough time finding anything related in the 
docs.

I'd rather it just wait, even if it does tie the tape drive up (as it did in 
1.38.0)

Thanks!

Mark


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: Bacula / Sig 11 on AMD 64

2006-03-30 Thread Kenan Esau
On Mi, 2006-03-29 at 11:39 +0200, Kern Sibbald wrote:
> Hello Kenan,
> 
> Please always copy the list.

OK 

> On Wednesday 29 March 2006 10:15, Kenan Esau wrote:
> > Hi Kern,
> >
> > I am trying to set up a backup-infrastructure with Bacula. But there
> > seems to be a bug.
> >
> > I am using Bacula 1.38.5, Ubuntu 5.10, g++ 4.0.2
> >
> > There seems to be a problem in the function fn_match() -- or maybe even
> > earlier at the stage of parsing the SD-config files. I assume this since
> > the debugging output only shows three devices althoug there are four in
> > the config (see attached file). At first I only configured the three
> > devices you actually see in the debugging-output but then the
> > "Tedradis-Device" did not appear so I added an additional "Dummy-Device"
> > and now the "Tedradis-Device" appears -- but the "Dummy-device" does
> > not.
> 
> I believe that you have run into a suspected compiler bug as described in the 
> ReleaseNotes.

Should have checked before ...

> I recommend that you upgrade to 1.38.6, which I have just released to Source 
> Forge, where there is a good chance that I have found a solution to the 
> compiler bug.  If 1.38.6 still fails, please compile it with the -O0 option 
> (- oh zero), which is *very* likely to resolve your problem.
> 
> Please give some feedback to the list on what you find ...

Version 1.38.6 fixed the problem. I didn't have to disable
optimizations.

[...]


Thanks for the fast help!!!


Kenan



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-announce] Bacula version 1.38.6 released

2006-03-30 Thread Geert Hendrickx
On Wed, Mar 29, 2006 at 08:32:14PM +0200, Kern Sibbald wrote:
> On Wednesday 29 March 2006 19:08, Geert Hendrickx wrote:
> > This has previously been reported only for AMD64.  
> 
> As well as other 64 architectures when compiled with g++.
> 
> 
> > Does it hold for any 64-bit architecture?  (UltraSPARC, Alpha, ... ?)
> 
> Well, that's exactly what my note says.
> 
> However, there is one report as of today that a "workaround" fix I made to 
> 1.38.6 resolves the problem so that -O0 is no longer required.

Bacula's "News" page only has: 

- Note, with gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5) on an
  AMD64 CPU running 64 bit CentOS4, there is a compiler bug that
  generates bad code that causes Bacula to segment fault.
  Typically you will see this in the Storage daemon first.  The
  solution is to compile Bacula ensuring that no optimization is
  turned on (normally it is -O2).
  This same compiler bug has been reported and confirmed with
  gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux) running on
  an AMD64 CPU.  This for the moment, I would recommend that all
  users of GCC 4.0.1 or greater turn off all optimization when
  compiling.

Could you then update this page to reflect the current state?  

Geert


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Concurrent Jobs

2006-03-30 Thread brick
Hello!

I've fixed problem fault with devices, but it isn't help for my issue :(

I set Max Concurrent Job = 20 in "bacula-sd.conf" for storage, in
"bacula-dir.conf" for all clients and for storages and in "bacula-fd.conf"
on all of clients...

Storage: name=HDD2 address=10.1.2.24 SDport=9103 MaxJobs=20
  DeviceName=STORAGE2 MediaType=HDD2 StorageId=2
Storage: name=HDD3 address=10.1.2.24 SDport=9103 MaxJobs=20
  DeviceName=STORAGE3 MediaType=HDD3 StorageId=3

Client: name=box44 address=10.1.2.44 FDport=9102 MaxJobs=20
  JobRetention=1 month  FileRetention=1 month  AutoPrune=1
  --> Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula
  db_user=bacula MutliDBConn=0
.

Here is my config in attached files.

Director {
  Name = backup1-dir
  Description = "director"
  DIRport = 9101
  DirAddress = 10.1.2.24
  QueryFile = "/usr/local/bacula/etc/query.sql"
  WorkingDirectory = "/usr/local/bacula/var/bacula/working"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 20
  Password = "fewfwefwef" # Console password
  Messages = StdMail
}

# List of files to be backed up
FileSet {
  Name = "Full Set"
  Include {
 Options {signature=MD5}; 
 File = /etc/bacula
  }
}

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = HDD2
  Messages = StdMail
  Pool = Default
  Priority = 10
}

# Generic catalog service
Catalog {
  Name = MyCatalog
  dbname = bacula; user = bacula; password = ""
}

# This is the backup of the catalog
FileSet {
  Name = "Catalog"
  Include {
 Options {signature=MD5};
 File = /var/lib/bacula/bacula.sql
  }
}

Pool {
  Name = "full_catalog.pool"
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  LabelFormat = "full_catalog_"
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 5 weeks 
  Accept Any Volume = yes # write on any volume in the pool
  Cleaning Prefix = "CLN"
}

# Backup the catalog database (after the nightly save)
Job {
  Name = "BackupCatalog"
  JobDefs = "DefJob2"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/usr/lib/bacula/make_catalog_backup bacula"
  # This deletes the copy of the catalog
  RunAfterJob  = "/usr/lib/bacula/delete_catalog_backup"
  Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
  Priority = 11   # run after main backup
  Client = box24
  Full Backup Pool = full_catalog.pool
}


Job {
Name = "RestoreFiles"
Type = Restore
Client = box24
FileSet = "Full Set"
Storage = HDD2
Pool = Default
Messages = StdMail
Where = /tmp/bacula-restored
}

#
# When to do the backups, full backup on first sunday of the month,
#  differential (i.e. incremental since full) every other sunday,
#  and incremental backups other days
Schedule {
  Name = "WeeklyCycle"
  Run = Full 1st sun at 1:05
  Run = Differential 2nd-5th sun at 1:05
  Run = Incremental mon-sat at 1:05
}

# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full sun-sat at 1:10
}


# Define Pools --

Pool {
  Name = "Default"
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  LabelFormat = "Default"
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days
  Accept Any Volume = yes # write on any volume in the pool
  Cleaning Prefix = "CLN"
}

##

@/usr/local/bacula/etc/director-addon.conf#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 1.34.5 (21 June 2004) -- mandrake for
#
# There is not much to change here except perhaps the
# File daemon Name to
#

#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = backup1-dir
  Password = "fewfwefwef"
}

#
# "Global" File daemon configuration specifications
#
FileDaemon {  # this is me
  Name = backup1-fd
  FDport = 9102  # where we listen for the director
  Maximum Concurrent Jobs = 20
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run
}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = backup1-dir = all, !skipped
}#
# Default Bacula Storage Daemon Configuration file
#
#  For Bacula release 1.34.5 (21 June 2004) -- mandrake for
#
# You may need to change the name of your tape drive
#   on the "Archive Device" directive in the Device
#   resource.  If you change the Name and/or the 
#   "Media Type" in the Device resource, please 

Re: [Bacula-users] When are Job timeouts checked?

2006-03-30 Thread Heinz Ulrich Stille
On Wednesday 29 March 2006 20:53, Kern Sibbald wrote:
> That is either a bug or because the code is unimplemented -- I seem to
> recall that either Max Start Time or Max Run Time was not fully
> implemented.

OK, from a look at the sources I get the impression that MaxStartDelay is
only ever checked when the job really is started. A watchdog ist running,
but apart from the fact that it would only check MaxWaitTime it skips the
job because JobId is 0.

No problem - functionality isn't affected. It just would be nice if the
watchdog could also handle this.

MfG, Ulrich

-- 
Heinz Ulrich Stille / Tel.: +49-541-9400473 / Fax: +49-541-9400450
design_d gmbh / Wilhelmstr. 16 / 49076 Osnabrück / www.design-d.de



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: Bacula codes

2006-03-30 Thread Frank Sweetser
On Thu, Mar 30, 2006 at 12:36:08PM +0200, Arno Lehmann wrote:
> Probably better in the mailing list...
> 
> On 3/30/2006 11:15 AM, Giuseppe wrote:
> >Hi!
> >I'm looking for bacula codes about jobstatus, but I can't
> >find them in the bacula online manual. (Am I blind? ehehe )
> >Can anyone tell me where can I find them please?
> 
> See the Bacula wiki, address should be somewhere in the list archive... 
> I remember that someone announced that the codes are in there.

Yup - http://paramount.ind.wpi.edu/wiki/

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Network Engineer  |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Automated Restore to Local Disk

2006-03-30 Thread Wyness Casama

From: Wyness Casama <[EMAIL PROTECTED]>
Date: March 28, 2006 10:17:57 PM PST (CA)
To: Dan Langille <[EMAIL PROTECTED]>
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Automated Restore to Local Disk

On 28-Mar-06, at 12:43 PM, Dan Langille wrote:


On 28 Mar 2006 at 12:33, Wyness Casama wrote:


Hi all,

I've been working on a solution to restore files from remote clients
to a directory tree on the server running the director. I believe
that by default, the file restores to the original client instead of
the local disk.

How can I define a local restore destination in a scheduled job?


Does this help you?

*run job=RestoreFiles client=pepper-fd
Please enter a JobId for restore: 9482
Run Restore job
JobName:RestoreFiles
Bootstrap:  *None*
Where:  /tmp/bacula-restores
Replace:always
Client: pepper-fd
Storage:DLT
JobId:  9482
When:   2006-03-28 15:41:53
Catalog:MyCatalog
Priority:   10
OK to run? (yes/mod/no):

The key being: specify the client when you issue the run command.

-- Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




Right now I'm using a schedule to trigger the job. The schedule  
works, and restores start, but they start restoring to the remote  
FD client. I'd like for them to restore to the local backup server  
that hosts both the DIR and the SD services. In my config, I've  
defined the following:


-

## Schedule
Schedule {  # Standard weekly cycle with full backup on Sat
  Name  = "RestoreSchedule"

  Run = Pool="differential1" DifferentialPool="differential1"  
FullPool="fulls" Sunday at 1:10am
  Run = Pool="differential2" DifferentialPool="differential2"  
FullPool="fulls" Monday at 1:10am
  Run = Pool="differential3" DifferentialPool="differential3"  
FullPool="fulls" Tuesday at 1:10am
  Run = Pool="differential1" DifferentialPool="differential1"  
FullPool="fulls" Wednesday at 1:10am
  Run = Pool="differential" DifferentialPool="differential2"  
FullPool="fulls" Thursday at 1:10am
  Run = Pool="differential" DifferentialPool="differential3"  
FullPool="fulls" Friday at 1:10am

  Run = Pool="fulls" FullPool="fulls" Saturday at 1:10am
}

## Default JobDefs
JobDefs {   # Default automated restore definition
  Name  = "ScheduledRestore"

   Type = "Restore"
   Priority = "50"
  Storage   = "TapeArray1"
  Pool  = "Default"
#  JobID= "0"
  Maximum Concurrent Jobs = "1"
  Schedule  = "RestoreSchedule"
  Replace   = "ifnewer"
  Messages  = "Standard"
}

## Job Definition
Job {   # Restored selected files for automatic restore
  Name  = "restore-remoteclient"

  Client= "remoteclient"
  JobDefs   = "ScheduledRestore"
  FileSet   = "remoteclient_fileset"
  Where = "/var/holding/restore/remoteclient/fileset"
  Bootstrap = "/var/db/bacula/remoteclient.bsr"
}

-

Is there something that I might have missed?

Thanks,

 -- Wyness



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please help me volume status showing full

2006-03-30 Thread david robert
this is the error message i am getting exactly     30-Mar 12:14 backup01-sd: NightlySave01.2006-03-30_11.50.00 Error: block.c:552 Write error at 6:6478 on device /dev/nst0. ERR=Input/output error.30-Mar 12:14 backup01-sd: NightlySave01.2006-03-30_11.50.00 Error: Backspace record at EOT failed. ERR=Input/output error  hope some one helps for me where to track this problemArno Lehmann <[EMAIL PROTECTED]> wrote:  Hello,On 3/30/2006 9:32 AM, david robert wrote:> i really appriciate your help and my *sd configuration* is as follows i > am new to bacula please help me how to fix this problem or i need to > change any setting in sd configuration.I am using dell DLT 114T tape > drive on debian sarge 3.1 kernel version 2.4.27.The tape status will > change to f
 ull
 after 5 or 6 jobs i am really need in help mate.I do not think that you have a problem with your setup.As indicated earlier in this thread, the SD receives a tape write error and thus concludes the tape is full.To understand why this error is generated you need to leave bacula and the btape test procedure. btapes fill command might be worth a try, also observing the system log during tape operations, and you could try to test the tapes using dd or tar.I can't do more than giving you these hints - the other option would be to buy a pre-configured Bacula system from me, in which case I definitely could do more for you...Arno> Here is my bacula-sd configuration> Device {> Name = DLT-VS160 #> Media Type = DLT> Archive Device = /dev/nst0> AutomaticMount = yes; # !! mount drive after job> Always Open = yes; # not unmount, via new bconsole > script (if console
 unmount)> RemovableM edia = yes;> RandomAccess = no;> }> > *my batpe output as follows*> > btape -c /etc/bacula/bacula-sd.conf /dev/nst0> Tape block granularity is 1024 bytes.> btape: butil.c:258 Using device: "/dev/nst0" for writing.> btape: btape.c:335 open_dev /dev/nst0 OK> *test> === Write, rewind, and re-read test ===> I'm going to write 1000 records and an EOF> then write 1000 records and an EOF, then rewind,> and re-read the data to verify that it is correct.> This is an *essential* feature ...> btape: btape.c:786 Wrote 1000 blocks of 64412 bytes.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:802 Wrote 1000 blocks of 64412 bytes.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:811 Rewind OK.> 1000 blocks re-read correctly.> Got EOF on tape.> 1000 blocks re-read correctly.
 > ===
 Test Succeeded. End Write, rewind, and re-read test ===> == = Write, rewind, and position test ===> I'm going to write 1000 records and an EOF> then write 1000 records and an EOF, then rewind,> and position to a few blocks and verify that it is correct.> This is an *essential* feature ...> btape: btape.c:898 Wrote 1000 blocks of 64412 bytes.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:914 Wrote 1000 blocks of 64412 bytes.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:923 Rewind OK.> Reposition to file:block 0:4> Block 5 re-read correctly.> Reposition to file:block 0:200> Block 201 re-read correctly.> Reposition to file:block 0:999> Block 1000 re-read correctly.> Reposition to file:block 1:0> Block 1001 re-read correctly.> Reposition to file:block 1:600> Block 1601 re-read correctly.> Reposition to
 file:block 1:999> Block 2000 re-read correctly.> === Test Succeeded. End Write, rewind, and re-read test ===> > === Append files test ===> This test is essential to Bacula.> I'm going to write one record in file 0,> two records in file 1,> and three records in file 2> btape: btape.c:435 Rewound /dev/nst0> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:1505 Wrote one record of 64412 bytes.>
  btape:
 btape.c:1507 Wrote block to device.> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:335 open_dev /dev/nst0 OK> btape: btape.c:435 Rewound /dev/nst0> btape: btape.c:1052 Now moving to end of medium.> btape: btape.c:482 Moved to end of medium.> We should be in file 3. I am at file 3. This is correct!> Now the important part, I am going to attempt to append to the tape.> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:435 Rewound /dev/nst0> Done appending, there should be no I/O errors> Doing Bacula scan of blocks:> 1 block of 64448 bytes in file 1> End of File mark.> 2 blocks of 64448 bytes in file 2> End of File mar

Re: [Bacula-users] Bacula jobstatus codes

2006-03-30 Thread John Kodis
On Thu, Mar 30, 2006 at 12:32:23PM +0200, Giuseppe wrote:

> I'm looking for bacula codes about jobstatus, but I can't
> find them in the bacula online manual. (Am I blind? ehehe )

They're stored in the database:

bacula=# select * from status;

 jobstatus |  jobstatuslong
---+-
 C | Created, not yet running
 R | Running
 B | Blocked
 T | Completed successfully
 E | Terminated with errors
 e | Non-fatal error
 f | Fatal error
 D | Verify found differences
 A | Canceled by user
 F | Waiting for Client
 S | Waiting for Storage daemon
 m | Waiting for new media
 M | Waiting for media mount
 s | Waiting for storage resource
 j | Waiting for job resource
 c | Waiting for client resource
 d | Waiting on maximum jobs
 t | Waiting on start time
 p | Waiting on higher priority jobs
(19 rows)

-- John Kodis.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Verify job hangs on data error?

2006-03-30 Thread Heinz Ulrich Stille
Hi!

I just tried to test a tape I suspect to be faulty. In addition I dd'ed
random data somewhere onto that tape to test drive speed.
I started a "verify" on the first job I wrote to the tape, fully
expecting it to fail. Instead I just got a message:

30-Mar 11:57 mail-sd: verify.2006-03-30_11.49.06 Error: block.c:263 Volume 
data error at 1:0! Wanted ID: "BB02", got "/m". Buffer discarded.

The full log is:
Mar 30 11:49:08 mail bacula-dir: mail-dir: Verifying against JobId=13 
Job=system.2006-03-29_20.14.52
Mar 30 11:49:08 mail bacula-dir: mail-dir: Bootstrap records written 
to /var/bacula/working/mail-dir.restore.verify.2006-03-30_11.49.06.bsr
Mar 30 11:49:08 mail bacula-dir: mail-dir:
Mar 30 11:49:08 mail bacula-dir: mail-dir: The job will require the following 
Volumes:
Mar 30 11:49:08 mail bacula-dir: mail-dir:
Mar 30 11:49:08 mail bacula-dir: mail-dir:test
Mar 30 11:49:08 mail bacula-dir: mail-dir:
Mar 30 11:49:08 mail bacula-dir: mail-dir: Start Verify JobId=16 
Level=VolumeToCatalog Job=verify.2006-03-30_11.49.06
Mar 30 11:49:15 mail bacula-dir: mail-sd: Ready to read from volume "test" on 
device "DLT" (/dev/nst0).
Mar 30 11:49:15 mail bacula-dir: mail-sd: Forward spacing to file:block 0:1.
Mar 30 11:57:11 mail bacula-dir: mail-sd: verify.2006-03-30_11.49.06 Error: 
block.c:263 Volume data error at 1:0! Wanted ID: "BB02", got "/m". Buffer 
discarded.

... and now bacula is doing nothing. The tape drive is in ready state. No
report from the verification, negative or otherwise. What is it waiting for?
bacula "status all" reports:

*stat all
mail-dir Version: 1.38.5 (18 January 2006) i686-pc-linux-gnu redhat (Rawhide)
Daemon started 30-Mar-06 11:48, 0 Jobs run since started.

Scheduled Jobs:
Level  Type Pri  Scheduled  Name   Volume
===
IncrementalBackup10  30-Mar-06 17:30full   Di
IncrementalBackup50  30-Mar-06 17:30catalogDi
   Admin 99  30-Mar-06 17:30closing


Running Jobs:
 JobId Level   Name   Status
==
16 VolumeT  verify.2006-03-30_11.49.06 is running


Terminated Jobs:
 JobId  Level Files  Bytes Status   FinishedName

 3  Full803,049 172,003,756,473 OK   28-Mar-06 17:34 full
 4  Incr  0  0 Error28-Mar-06 17:34 full
 7  Incr  9,788  5,295,056,880 OK   28-Mar-06 19:16 full
 5  Full  0  0 Error28-Mar-06 19:16 catalog
 8  Full  1101,405,753 OK   28-Mar-06 19:18 catalog
 60  0 Error28-Mar-06 19:18 closing
 90  0 OK   28-Mar-06 19:19 closing
13  Full329,348 25,759,638,860 OK   29-Mar-06 21:58 system
14  Full  2,891 21,471,037 OK   29-Mar-06 22:01 sysconfig
15  Full129,929  6,002,950,158 OK   29-Mar-06 22:27 web


Connecting to Storage daemon Tape at 192.168.1.1:9103

mail-sd Version: 1.38.5 (18 January 2006) i686-pc-linux-gnu redhat (Rawhide)
Daemon started 30-Mar-06 11:17, 0 Jobs run since started.

Running Jobs:
Reading: Verify Volume to Catalog Restore job verify JobId=16 Volume="test"
pool="Daily" device=""DLT" (/dev/nst0)"
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=216 in_msg=215 out_msg=57804 fd=6


Jobs waiting to reserve a drive:


Terminated Jobs:
 JobId  Level   Files  Bytes Status   FinishedName
==
 1  Full  0  0 Cancel   27-Mar-06 10:56 full
 2  Full 48,749  5,034,132,295 Error27-Mar-06 11:22 full
 3  Full803,049 172,116,756,062 OK   28-Mar-06 17:34 full
 7  Incr  9,788  5,296,341,639 OK   28-Mar-06 19:16 full
 8  Full  1101,405,868 OK   28-Mar-06 19:18 catalog
10  Full  0  0 Cancel   29-Mar-06 19:06 full
13  Full329,348 25,805,134,850 OK   29-Mar-06 21:58 system
14  Full  2,891 21,792,454 OK   29-Mar-06 22:01 sysconfig
15  Full129,929  6,022,744,232 OK   29-Mar-06 22:27 web


Device status:
Device "DLT" (/dev/nst0) is mounted with Volume="test" Pool="*unknown*"
Total Bytes Read=999,871,488 Blocks Read=15,499 Bytes/block=64,512
Positioned at File=1 Block=0


In Use Volume status:
test on device "DLT" (/dev/nst0)


Connecting to Client mail-fd at 192.168.1.1:9102

mail-fd Version: 1.38.5 (18 January 2006)  i686-pc-linux-gnu redhat (Rawhide)
Daemon started 30-Mar-06 11:17, 0 Jobs run since started.

Terminated Jobs:
 JobId  Level Files Bytes  Status   FinishedName
===

Re: [Bacula-users] Mysql databases backup

2006-03-30 Thread David Logan

Giuseppe wrote:


Hi!
This is not really a problem, I'm just asking which is the best way to 
do a thing.
I've to backup about 13GB of Mysql Databases, so I 've 2 possibile 
solutions:


1) include /var/lib/mysql in fileset resource
2) run "mysqldump --all-databases" before job

Should I stop mysqld before a backup?

Which is the best way to do so?
Any other suggestion is well accepted! :)

Thanks!

Giuseppe


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory!

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Hi Giuseppe,

Might I suggest a look at mysqlhotcopy. This would be quite a bit faster 
than mysqldump and may do what you need it to do given the size of your 
DB's. You can find out about it here 
http://dev.mysql.com/doc/refman/5.0/en/mysqlhotcopy.html


I'm not sure of the version that you are using but this hasn't changed 
much since it first came in. There is also a java version shown on the 
web page.


Regards

--

David Logan
South Australia

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



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Mysql databases backup

2006-03-30 Thread Masopust, Christian

Hello Giuseppe,

i would suggest the second approach (mysqldump) because bacula is
using the database (the director) and if you stop mysql.  :-))

btw... it's never a good idea to save the database-storage without
any procedure to lock databases before (and i don't know if there's
such procedure in mysql).

christian

--
"I sense much NT in you, NT leads to Blue Screen. 
Blue Screen leads to downtime, downtime leads to suffering. NT is the path to 
the darkside." 

- Unknown Unix Jedi  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Giuseppe
> Sent: Thursday, March 30, 2006 12:33 PM
> To: bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Mysql databases backup
> 
> Hi!
> This is not really a problem, I'm just asking which is the 
> best way to 
> do a thing.
> I've to backup about 13GB of Mysql Databases, so I 've 2 possibile 
> solutions:
> 
> 1) include /var/lib/mysql in fileset resource
> 2) run "mysqldump --all-databases" before job
> 
> Should I stop mysqld before a backup?
> 
> Which is the best way to do so?
> Any other suggestion is well accepted! :)
> 
> Thanks!
> 
> Giuseppe
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking 
> scripting language
> that extends applications into web and mobile media. Attend 
> the live webcast
> and join the prime developer group breaking into this new 
> coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&;
> dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: Bacula codes

2006-03-30 Thread Arno Lehmann

Probably better in the mailing list...

On 3/30/2006 11:15 AM, Giuseppe wrote:

Hi!
I'm looking for bacula codes about jobstatus, but I can't
find them in the bacula online manual. (Am I blind? ehehe )
Can anyone tell me where can I find them please?


See the Bacula wiki, address should be somewhere in the list archive... 
I remember that someone announced that the codes are in there.


Arno


Thanks for your time!

Giuseppe





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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Mount Anonymous Volumes directive

2006-03-30 Thread Kern Sibbald
On Thursday 30 March 2006 12:04, Michel Meyers wrote:
> Hello,
>
> Does somebody know more about subject directive? I found it in an
> example Autochanger config but cannot find it documented in the manual.
> (Or maybe I'm not looking hard enough) What does it do exactly?

It was never implemented and has been removed though a few "unused" pieces 
remain in the code.


-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Mysql databases backup

2006-03-30 Thread Giuseppe

Hi!
This is not really a problem, I'm just asking which is the best way to 
do a thing.
I've to backup about 13GB of Mysql Databases, so I 've 2 possibile 
solutions:


1) include /var/lib/mysql in fileset resource
2) run "mysqldump --all-databases" before job

Should I stop mysqld before a backup?

Which is the best way to do so?
Any other suggestion is well accepted! :)

Thanks!

Giuseppe


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Mount Anonymous Volumes directive

2006-03-30 Thread Martin Simmons
> On Thu, 30 Mar 2006 12:04:49 +0200, Michel Meyers <[EMAIL PROTECTED]> 
> said:
> 
> Does somebody know more about subject directive? I found it in an
> example Autochanger config but cannot find it documented in the manual.
> (Or maybe I'm not looking hard enough) What does it do exactly?

According to the source, it allows "Mount without knowing volume name" but it
was removed sometime in 2004.

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula jobstatus codes

2006-03-30 Thread Giuseppe

Hi!
I'm looking for bacula codes about jobstatus, but I can't
find them in the bacula online manual. (Am I blind? ehehe )
Can anyone tell me where can I find them please?

Thanks for your time!

Giuseppe




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please help me volume status showing full

2006-03-30 Thread david robert
thanks for your help i don't think it is over riding any job below one is my job definition     Job {    Name = "Nightlybackup"    Type = Backup    Client = bacman-fd    FileSet = "Full Set"    Schedule = "WeeklyCycle"    Storage = DLT    Messages = Standard    Pool = Default    Write Bootstrap = "/var/lib/bacula/NightlySave1.bsr"   RunBeforeJob  = "/etc/bacula/start_of_backup.sh"    Max Start Delay = 15h    Priority = 11  
 }Arno Lehmann <[EMAIL PROTECTED]> wrote:  Hello,On 3/30/2006 9:32 AM, david robert wrote:> i really appriciate your help and my *sd configuration* is as follows i > am new to bacula please help me how to fix this problem or i need to > change any setting in sd configuration.I am using dell DLT 114T tape > drive on debian sarge 3.1 kernel version 2.4.27.The tape status will > change to full after 5 or 6 jobs i am really need in help mate.I do not think that you have a problem with your setup.As indicated earlier in this thread, the SD receives a tape write error and thus concludes the tape is full.To understand why this error is generated you need to leave bacula and the btape test procedure. btapes fill command might be worth a try, also observing the system log du
 ring
 tape operations, and you could try to test the tapes using dd or tar.I can't do more than giving you these hints - the other option would be to buy a pre-configured Bacula system from me, in which case I definitely could do more for you...Arno> Here is my bacula-sd configuration> Device {> Name = DLT-VS160 #> Media Type = DLT> Archive Device = /dev/nst0> AutomaticMount = yes; # !! mount drive after job> Always Open = yes; # not unmount, via new bconsole > script (if console unmount)> RemovableM edia = yes;> RandomAccess = no;> }> > *my batpe output as follows*> > btape -c /etc/bacula/bacula-sd.conf /dev/nst0> Tape block granularity is 1024 bytes.> btape: butil.c:258 Using device: "/dev/nst0" for writing.> btape: btape.c:335 open_dev /dev/nst0 OK> *test> === Write, rewind, and re-read test ===> I'm g
 oing to
 write 1000 records and an EOF> then write 1000 records and an EOF, then rewind,> and re-read the data to verify that it is correct.> This is an *essential* feature ...> btape: btape.c:786 Wrote 1000 blocks of 64412 bytes.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:802 Wrote 1000 blocks of 64412 bytes.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:811 Rewind OK.> 1000 blocks re-read correctly.> Got EOF on tape.> 1000 blocks re-read correctly.> === Test Succeeded. End Write, rewind, and re-read test ===> == = Write, rewind, and position test ===> I'm going to write 1000 records and an EOF> then write 1000 records and an EOF, then rewind,> and position to a few blocks and verify that it is correct.> This is an *essential* feature ...> btape: btape.c:898 Wrote 1000 blocks of 64412 bytes.> btape: btape.c:465 Wrote 1 
 EOF to
 /dev/nst0> btape: btape.c:914 Wrote 1000 blocks of 64412 bytes.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:923 Rewind OK.> Reposition to file:block 0:4> Block 5 re-read correctly.> Reposition to file:block 0:200> Block 201 re-read correctly.> Reposition to file:block 0:999> Block 1000 re-read correctly.> Reposition to file:block 1:0> Block 1001 re-read correctly.> Reposition to file:block 1:600> Block 1601 re-read correctly.> Reposition to file:block 1:999> Block 2000 re-read correctly.> === Test Succeeded. End Write, rewind, and re-read test ===> > === Append files test ===> This test is essential to Bacula.> I'm going to write one record in file 0,> two records in file 1,> and three records in file 2> btape: btape.c:435 Rewound /dev/nst0> btape: btape.c:1505 Wrote one record of 64412 bytes.
 >
 btape: btape.c:1507 Wrote block to device.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:335 open_dev /dev/nst0 OK> btape: btape.c:435 Rewound /dev/nst0> btape: btape.c:1052 Now moving to end of medium.> btape: btape.c:482 Moved to end of medium.> We should be in file
  3. I am
 at file 3. This is correct!> Now the important part, I am going to attempt to append to the tape.> btape: btape.c:1505 Wrote one record of 64412 bytes.> btape: btape.c:1507 Wrote block to device.> btape: btape.c:465 Wrote 1 EOF to /dev/nst0> btape: btape.c:435 Rewound /dev/nst0> Done appending, there should be no I/O errors> Doing Bacula scan of blo

[Bacula-users] Mount Anonymous Volumes directive

2006-03-30 Thread Michel Meyers

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Does somebody know more about subject directive? I found it in an
example Autochanger config but cannot find it documented in the manual.
(Or maybe I'm not looking hard enough) What does it do exactly?

Greetings,
   Michel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32) - GPGrelay v0.959

iD8DBQFEK61D2Vs+MkscAyURAnf1AJoCnXxjEA82Hs4eqVi4r3S4kWWovQCfRuCg
0MJCgWV1CqNPowgDIyg/3Q0=
=aCSC
-END PGP SIGNATURE-


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore performance using concurrent backups

2006-03-30 Thread Arno Lehmann

Hello,

On 3/30/2006 9:38 AM, Christoph Litauer wrote:

Hi,

I just searched the archives but didn't find hints. Sorry if this
question has been asked before.

I am using bacula-1.36.3 for the backup of about 12 linux clients. At
the moment I just use an external hardware raid as (File-)backup device:

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /storage
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Volume Size = 2147483648  # 2GB
}

The backups are done in parallel with a maximum of 20 concurrent jobs.

The most recent backup of one of the clients (about 1,6 GB of data)
consists of a full, 1 differential and 2 incrememtal backups, located on
16 backup files (FileStorage).

Running the restore I get a "Rate" of about 500 KB/sec (restoring to a
local filesystem on the storage server). The raid device is able to
deliver 12MB/sec. The local filesystem is able to write about 10MB/sec,

My conclusion for that degraded performance is that even if I use
FileStorage as a random access media, the restore process recovers the
data by sequentially reading all the 16 backup files "searching for the
right files". I would have expected a rate of nearly native disk speed
because the backup files could be "seeked".


As far as I know, there are some problems using seeking instead of 
reading and interpreting which lead to Kern disabling volume seeking for 
file volumes, so your conclusion is right.



A solution would be to not perform concurrent backups. But then the
backup window gets significantly wider (especially for the incrementals).

Any solutions, hints? Would my problem disappear if I upgrade to 1.38.x?


Perhaps, I don't know if that peculiar problem is resolved by now. You 
might read through the release notes of the 1.38 versions.


Possible solution, assuming you've got enough disk space: Use spooling. 
It's - theoretically - nonsense doing this with file volumes, but might 
reslove the performance problems you see. Try to put the spool space 
onto different physical disks and a different filesystem than the real 
storage space!


Arno


Thanks a lot in advance. If you need more of my configuration files, no
problem, please tell me.



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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please help me volume status showing full

2006-03-30 Thread Arno Lehmann

Hello,

On 3/30/2006 9:32 AM, david robert wrote:
i really appriciate your help and my *sd configuration* is as follows i 
am new to bacula please help me how to fix this problem or i need to 
change any setting in sd configuration.I am using dell DLT 114T tape 
drive on debian sarge 3.1 kernel version 2.4.27.The tape status will 
change to full after 5 or 6 jobs i am really need in help mate.


I do not think that you have a problem with your setup.

As indicated earlier in this thread, the SD receives a tape write error 
and thus concludes the tape is full.


To understand why this error is generated you need to leave bacula and 
the btape test procedure. btapes fill command might be worth a try, also 
observing the system log during tape operations, and you could try to 
test the tapes using dd or tar.


I can't do more than giving you these hints - the other option would be 
to buy a pre-configured Bacula system from me, in which case I 
definitely could do more for you...


Arno


Here is my bacula-sd configuration
Device {
  Name = DLT-VS160#
  Media Type = DLT
  Archive Device = /dev/nst0
  AutomaticMount = yes;# !! mount drive after job
  Always Open = yes;   # not unmount, via new bconsole 
script (if console unmount)

  RemovableM edia = yes;
  RandomAccess = no;
 }
 
*my batpe output as follows*
 
btape -c /etc/bacula/bacula-sd.conf /dev/nst0

Tape block granularity is 1024 bytes.
btape: butil.c:258 Using device: "/dev/nst0" for writing.
btape: btape.c:335 open_dev /dev/nst0 OK
*test
=== Write, rewind, and re-read test ===
I'm going to write 1000 records and an EOF
then write 1000 records and an EOF, then rewind,
and re-read the data to verify that it is correct.
This is an *essential* feature ...
btape: btape.c:786 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:802 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:811 Rewind OK.
1000 blocks re-read correctly.
Got EOF on tape.
1000 blocks re-read correctly.
=== Test Succeeded. End Write, rewind, and re-read test ===
== = Write, rewind, and position test ===
I'm going to write 1000 records and an EOF
then write 1000 records and an EOF, then rewind,
and position to a few blocks and verify that it is correct.
This is an *essential* feature ...
btape: btape.c:898 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:914 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:923 Rewind OK.
Reposition to file:block 0:4
Block 5 re-read correctly.
Reposition to file:block 0:200
Block 201 re-read correctly.
Reposition to file:block 0:999
Block 1000 re-read correctly.
Reposition to file:block 1:0
Block 1001 re-read correctly.
Reposition to file:block 1:600
Block 1601 re-read correctly.
Reposition to file:block 1:999
Block 2000 re-read correctly.
=== Test Succeeded. End Write, rewind, and re-read test ===
 
=== Append files test ===

This test is essential to Bacula.
I'm going to write one record  in file 0,
   two records in file 1,
 and three records in file 2
btape: btape.c:435 Rewound /dev/nst0
btape: btape.c:1505 Wrote one record of 64412 bytes.
btape: btape.c:1507 Wrote block to device.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:1505 Wrote one record of 64412 bytes.
btape: btape.c:1507 Wrote block to device.
btape: btape.c:1505 Wrote one record of 64412 bytes.
btape: btape.c:1507 Wrote block to device.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:1505 Wrote one record of 64412 bytes.
btape: btape.c:1507 Wrote block to device.
btape: btape.c:1505 Wrote one record of 64412 bytes.
btape: btape.c:1507 Wrote block to device.
btape: btape.c:1505 Wrote one record of 64412 bytes.
btape: btape.c:1507 Wrote block to device.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:335 open_dev /dev/nst0 OK
btape: btape.c:435 Rewound /dev/nst0
btape: btape.c:1052 Now moving to end of medium.
btape: btape.c:482 Moved to end of medium.
We should be in file 3. I am at file 3. This is correct!
Now the important part, I am going to attempt to append to the tape.
btape: btape.c:1505 Wrote one record of 64412 bytes.
btape: btape.c:1507 Wrote block to device.
btape: btape.c:465 Wrote 1 EOF to /dev/nst0
btape: btape.c:435 Rewound /dev/nst0
Done appending, there should be no I/O errors
Doing Bacula scan of blocks:
1 block of 64448 bytes in file 1
End of File mark.
2 blocks of 64448 bytes in file 2
End of File mark.
3 blocks of 64448 bytes in file 3
End of File mark.
1 block of 64448 bytes in file 4
End of File mark.
Total files=4, blocks=7, bytes = 451,136
End scanning the tape.
We should be in file 4. I am at file 4. This is correct!
The above Bacula scan should have output identical to what follows.
Please double check it ...
=== Sample correct output ===
1 block of 64448 bytes in file 1
End of File