Bacula-users

Re: [Bacula-users] bacula multiple devices

2008-09-04 07:37:10
Subject: Re: [Bacula-users] bacula multiple devices
From: "Eli Shemer" <elish AT consist.co DOT il>
To: "Arno Lehmann" <al AT its-lehmann DOT de>
Date: Thu, 4 Sep 2008 14:33:23 +0300
I'm sorry but I still don’t understand.

In the baculd-dir job definition you specify the Storage you write to, not the 
device. which is basically the daemon.

In bacula-sd.conf I have one definition of a Storage and two Device definitions.
In the bacula-dir Job definition I specify the Storage, not the Device.
Therefore I cannot choose which device to write to from the list in 
bacula-sd.conf

-----הודעה מקורית-----
מאת: bacula-users-bounces AT lists.sourceforge DOT net 
[mailto:bacula-users-bounces AT lists.sourceforge DOT net] בשם Arno Lehmann
נשלח: ה 04 ספטמבר 2008 13:56
אל: bacula-users AT lists.sourceforge DOT net
נושא: Re: [Bacula-users] bacula multiple devices

Hi,

04.09.2008 10:36, Eli Shemer wrote:
> 
> 
> Hey there,
> 
>  
> 
> I'm trying to make each client have its own storage device but 
> apparently I can only assign a job to a specific storage deamon and not 
> a device.

That's funny, because I believe it's always the storage device you 
point a job (or a pool) to.

> Therefore ,  it appears to me that I cannot, using only one storage 
> daemon write to several different paths on the storage raid.
> 
>  
> 
> How can I make different jobs write to different devices?
> 
> I suppose that if I write to different devices, hence also pools and 
> volumes, then the changes of all overall data corruption will be very slim.
> 
> And it's more organized this way also.
> 
>  
> 
>  
> 
> Bacula-dir.conf:
> 
>  
> 
> Job {
> 
>   Name = "BackupLocalDNS"
> 
>   Type = Backup
> 
>   Client = menta-fd
> 
>   Level = Incremental
> 
>   FileSet="LocalDns"
> 
>   Schedule = "Daily"
> 
>   Write Bootstrap = "/var/bacula/working/localdns.bsr"
> 
>   Storage = gizmo-sd
> 
>   Messages = Standard
> 
>   Pool = Default
> 
>   Priority = 11
> 
> }
> 
>  

The following section is a bit unexpected in a DIR configuration.
I would even say it results in a unusable DIR...

You should put storage resources into the DIR config as per the manual.

By the way: Which version of Bacula is that, and what does a 
configuration check for the DIR report?

Arno

> Device {
> 
>   Name = MentaStorage
> 
>   Media Type = File
> 
>   Archive Device = /storage/backup/menta
> 
>   LabelMedia = yes;                   # lets Bacula label unlabeled media
> 
>   Random Access = Yes;
> 
>   AutomaticMount = yes;               # when device opened, read it
> 
>   RemovableMedia = no;
> 
>   AlwaysOpen = no;
> 
> }
> 
>  
> 
> Bacula-sd.conf:
> 
> Device {
> 
>   Name = MentaStorage
> 
>   Media Type = File
> 
>   Archive Device = /storage/backup/menta
> 
>   LabelMedia = yes;                   # lets Bacula label unlabeled media
> 
>   Random Access = Yes;
> 
>   AutomaticMount = yes;               # when device opened, read it
> 
>   RemovableMedia = no;
> 
>   AlwaysOpen = no;
> 
> }
> 
>  
> 
> Device {
> 
>   Name = KafkaStorage
> 
>   Media Type = File
> 
>   Archive Device = /storage/backup/kafka
> 
>   LabelMedia = yes;                   # lets Bacula label unlabeled media
> 
>   Random Access = Yes;
> 
>   AutomaticMount = yes;               # when device opened, read it
> 
>   RemovableMedia = no;
> 
>   AlwaysOpen = no;
> 
> }
> 
>  
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users