Re: [Bacula-users] Help with DVD storage

2006-09-25 Thread Kern Sibbald
On Sunday 24 September 2006 20:51, Arno Lehmann wrote:
 Hi,
 
 On 9/23/2006 10:37 PM, Jim Peters wrote:
  ... Anyway this new box also has a DVD+RW drive so I thought I would 
  experiment with using bacula to write to DVD’s , here is my configuration;
 ...
  What have I done wrong or forgot to do at all? I am lost as to where to 
  look, any ideas appreciated. Oh and I am using version 1.38.9 of bacula,
 
 Well, trying to use DVD as a backup medium with Bacula is definitely 
 something for beta testing currently.
 
 You should try the latest released beta version to start with, follow 
 the bacula-devel mailing list - also look through the archives as there 
 is lots of exchange recently regarding DVD writing - and report problems 
 to the developers mailing list, too.
 
 Apart from this probably rather discouraging advice I get the impression 
 that DVD writing is slowly becoming usable.

Yes, with 1.39.23 is now appears to be quite usable and for the first time in 
several years has the possibility of becoming production rather than beta 
software, though we are not yet there.

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

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


Re: [Bacula-users] Help with DVD storage

2006-09-24 Thread Arno Lehmann
Hi,

On 9/23/2006 10:37 PM, Jim Peters wrote:
 ... Anyway this new box also has a DVD+RW drive so I thought I would 
 experiment with using bacula to write to DVD’s , here is my configuration;
...
 What have I done wrong or forgot to do at all? I am lost as to where to 
 look, any ideas appreciated. Oh and I am using version 1.38.9 of bacula,

Well, trying to use DVD as a backup medium with Bacula is definitely 
something for beta testing currently.

You should try the latest released beta version to start with, follow 
the bacula-devel mailing list - also look through the archives as there 
is lots of exchange recently regarding DVD writing - and report problems 
to the developers mailing list, too.

Apart from this probably rather discouraging advice I get the impression 
that DVD writing is slowly becoming usable.

Arno


 Thanks
 
  
 
  
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 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


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


Re: [Bacula-users] Help with DVD storage

2006-09-24 Thread Jim Peters
Actually I found my error, I never formatted the DVD, as it was blank I
assumed I didn't need to. I don't know why I would make such an assumption
since even in windows and on set top boxes the blank media is formatted
first. Anyway I ran this; dd if=/dev/zero bs=1024 count=512 | growisofs -Z
/dev/hdb=/dev/fd/0 and then ran a couple test runs both backing up and
restoring and it worked great. I am unsure how I am going to utilize this in
my backup scheme, currently I have 2 200 gig hard drives set up in a raid1
mirror with software and I am doing a daily rotational backup of 5 windows
clients a linux firewall and the box I have bacula on, maybe I can do a
weekly or monthly on DVD for extra security.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arno
Lehmann
Sent: Sunday, September 24, 2006 1:51 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Help with DVD storage

Hi,

On 9/23/2006 10:37 PM, Jim Peters wrote:
 ... Anyway this new box also has a DVD+RW drive so I thought I would 
 experiment with using bacula to write to DVD's , here is my configuration;
...
 What have I done wrong or forgot to do at all? I am lost as to where to 
 look, any ideas appreciated. Oh and I am using version 1.38.9 of bacula,

Well, trying to use DVD as a backup medium with Bacula is definitely 
something for beta testing currently.

You should try the latest released beta version to start with, follow 
the bacula-devel mailing list - also look through the archives as there 
is lots of exchange recently regarding DVD writing - and report problems 
to the developers mailing list, too.

Apart from this probably rather discouraging advice I get the impression 
that DVD writing is slowly becoming usable.

Arno


 Thanks
 
  
 
  
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 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


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


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


[Bacula-users] Help with DVD storage

2006-09-23 Thread Jim Peters








I decided that the box I had bacula installed in was a little
week so I removed the 3 hard drives and stuck them in an old AMD Dual Athlon box
I use for testing and building linux stuff on but has been sitting Idle for a few
months. I love linux, try swapping windows hard drives to different hardware like
this and see the pretty blue screens come up! Anyway this new box also has a
DVD+RW drive so I thought I would experiment with using bacula to write to DVDs
, here is my configuration;



Bacula-sd.conf



#

# A DVD device

#

Device {

 Name =
DVD-RW

 Media Type = DVD

 Archive Device =
/dev/hdb

 LabelMedia =
yes;
# lets Bacula label unlabeled media

 Random Access = Yes;

 AutomaticMount =
no;
# when device opened, read it

 RemovableMedia = yes;

 AlwaysOpen = no;

 MaximumPartSize =
800M;

 Requires Mount = yes;

 Mount Point =
/mnt/dvd;

 Mount Command
= /bin/mount -t iso9660 -o ro %a %m;

 Unmount Command =
/bin/umount %m;

 Spool Directory =
/tmp/backup;

 Write Part Command =
/etc/bacula/dvd-handler %a write %e %v

 Free Space Command =
/etc/bacula/dvd-handler %a free

}

#



And my bacula-dir.conf



Job {

 Name =
BackupHome

 Type =
Backup

 Level =
Full

 Client =
Server-fd

 FileSet =
Home

 Storage =
dvd

 Pool =
Default

 Priority =
10

 Messages = Standard

 WriteBootstrap =
/var/bacula/Server-fd.bsr

 Write Part After Job =
yes

}



Storage {

 Name = dvd

 Address =
192.168.0.4

 SDPort = 9103

 Password =
password

 Device = DVD-RW

 Media Type = DVD

}



If you see anything that should be changed please let me know,
I really have no clue as to what Im doing here but am giving it a shot.

After setting up these files I stuck a brand new +RW disc in
the drive and ran the BackupHome job. It starts the job and never really gives
me any errors and doesnt end the job either all I see is this,



Job started. JobId=32

23-Sep 14:50 Server-dir: Start Backup JobId 32,
Job=BackupHome.2006-09-23_14.50.02

23-Sep 14:50 Server-sd: Please mount Volume
DefaultVolume-0002 on Storage Device DVD-RW (/dev/hdb)
for Job BackupHome.2006-09-23_14.50.02



Am I supposed to manually mount the DVD at this point? I
thought bacula wrote to the device in a raw format and didnt need to be
mounted? And if it does I would think the mount command =
derective would take care of this?



Here is what I see in my message log;



Sep 23 14:50:05 server
kernel: attempt to access beyond end of device

Sep 23 14:50:05 server
kernel: hdb: rw=0, want=68, limit=4

Sep 23 14:50:05 server
kernel: isofs_fill_super: bread failed, dev=hdb, iso_blknum=16, block=16

Sep 23 14:50:06 server
kernel: attempt to access beyond end of device

Sep 23 14:50:06 server
kernel: hdb: rw=0, want=68, limit=4

Sep 23 14:50:06 server
kernel: isofs_fill_super: bread failed, dev=hdb, iso_blknum=16, block=16

Sep 23 14:50:06 server
kernel: attempt to access beyond end of device

Sep 23 14:50:06 server
kernel: hdb: rw=0, want=68, limit=4

Sep 23 14:50:06 server
kernel: isofs_fill_super: bread failed, dev=hdb, iso_blknum=16, block=16

Sep 23 14:50:07 server
kernel: attempt to access beyond end of device

Sep 23 14:50:07 server
kernel: hdb: rw=0, want=68, limit=4

Sep 23 14:50:07 server
kernel: isofs_fill_super: bread failed, dev=hdb, iso_blknum=16, block=16



What have I done wrong or forgot to do at all? I am lost as
to where to look, any ideas appreciated. Oh and I am using version 1.38.9 of bacula,

Thanks










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