Re: [Bacula-users] bacula multiple devices
2008-09-04 09:35:12
I didn't check it out, but have you tried to do this configuration Storage { Name = File # Do not use "localhost" here Address = BACULA # N.B. Use a fully qualified name here
SDPort = 9103 Password = "123456" Device = FileStorage Media Type = File } Storage { Name = File1 # Do not use "localhost" here Address = BACULA1 # N.B. Use a fully qualified name here
SDPort = 9103 Password = "abcdef" Device = FileStorage Media Type = File } Client { Name = eitant-fd Password = eitant Address = eitant FDPort = 9102 Catalog = MyCatalog
File Retention = 4 days Job Retention = 6 months } Job {
Name = eitant Type = Backup Level = Full Client = eitant-fd FileSet = PST_CDE Schedule = WeeklyCycle Storage = Eitant Pool = Eitant Messages = Standard } Storage { Name = Eitant
Address = bacula # N.B. Use a fully qualified name here SDPort = 9103 Password = "123456" Device = Eitant Media Type = File } Pool { Name = Eitant
Use Volume _Once_ = yes Pool Type = Backup LabelFormat = "Eitant-" AutoPrune = yes VolumeRetention = 4 days Maximum Volumes = 3 Recycle = yes } Client {
Name = vered-fd
Password = vered
Address = vered
FDPort = 9102
Catalog = MyCatalog
File Retention = 4 days
Job Retention = 6 months
}
Job {
Name = vered
Type = Backup
Level = Full
Client = vered-fd
FileSet = PST_CDE
Schedule = WeeklyCycle
Storage = vered
Pool = vered
Messages = Standard
}
Storage {
Name = vered
Address = bacula1 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "abcdef"
Device = vered
Media Type = File
}
Pool {
Name = vered
Use Volume _Once_ = yes
Pool Type = Backup
LabelFormat = "vered-"
AutoPrune = yes
VolumeRetention = 4 days
Maximum Volumes = 3
Recycle = yes
}
on Bacula use this Bacula-sd.conf: Device { Name = Eitant Media Type = File Archive Device = /backup LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; }
on bacula1 use this Bacula-sd.conf: Device {
Name = vered
Media Type = File Archive Device = /backup LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it
RemovableMedia = no; AlwaysOpen = no;
} On Thu, Sep 4, 2008 at 2:33 PM, Eli Shemer <elish AT consist.co DOT il> wrote:
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
-------------------------------------------------------------------------
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
|
|
|