Bacula-users

Re: [Bacula-users] Multiple device SD configuration

2011-01-10 02:00:04
Subject: Re: [Bacula-users] Multiple device SD configuration
From: Silver Salonen <silver AT ultrasoft DOT ee>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 10 Jan 2011 08:56:55 +0200
On Monday 10 January 2011 03:14:22 Phil Stracchino wrote:
> Hey folks,
> I'm trying a few things I haven't tried before, including accurate
> backups and VirtualFull backups, as a result of which, as far as I can
> tell, I need to create a second File device on my primary SD so that I
> can have the input File volumes and the output VirtualFull volume both
> mounted at once.  The question becomes how I set this up correctly.
> 
> On the SD side, I assume it's straightforward, something like this:
> 
> 
> Storage {                             # definition of myself
>   Name = babylon4-sd
>   SDPort = 9103                  # Director's port
>   Working Directory = "/opt/bacula/working"
>   Pid Directory = "/var/run"
>   Maximum Concurrent Jobs = 20
> }
> 
> Director {
>   Name = babylon4-dir
>   Password = "Some Password Here"
> }
> 
> Device {
>   Name = FileStorage
>   Device Type = File
>   Media Type = File
>   Archive Device = /spool/bacula
>   LabelMedia = yes
>   Random Access = Yes
>   AutomaticMount = yes
>   RemovableMedia = no
>   Requires Mount = no
>   AlwaysOpen = no
> }
> 
> 
> Device {
>   Name = FileStorage2
>   Device Type = File
>   Media Type = File
>   Archive Device = /spool/bacula
>   LabelMedia = yes
>   Random Access = Yes
>   AutomaticMount = yes
>   RemovableMedia = no
>   Requires Mount = no
>   AlwaysOpen = no
> }
> 
> But then we come to the Director side.  The obvious first cut is this:
> 
> Storage {
>   Name = babylon4-sd
>   Address = babylon4.babcom.com
>   Maximum Concurrent Jobs = 20
>   SDPort = 9103
>   Password = "Some Password Here"
>   Device = FileStorage
>   Media Type = File
> }
> 
> Storage {
>   Name = babylon4-sd
>   Address = babylon4.babcom.com
>   Maximum Concurrent Jobs = 20
>   SDPort = 9103
>   Password = "Some Password Here"
>   Device = FileStorage2
>   Media Type = File
> }
> 
> But this results in two Director-side Storage definitions with the same
> name.  I could rename one of them:
> 
> 
> Storage {
>   Name = babylon4-sd2
>   Address = babylon4.babcom.com
>   Maximum Concurrent Jobs = 20
>   SDPort = 9103
>   Password = "Some Password Here"
>   Device = FileStorage2
>   Media Type = File
> }
> 
> But then there isn't an SD named babylon4-sd2 to connect to.
> 
> What's the correct way to configure this?

The name of the Storage resource in Director configuration does not matter to 
SD, so you can easily use "babylon4-sd2".

--
Silver

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>