Bacula-users

[Bacula-users] Multiple device SD configuration

2011-01-09 20:17:39
Subject: [Bacula-users] Multiple device SD configuration
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Sun, 09 Jan 2011 20:14:22 -0500
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?


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

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