Bacula-users

[Bacula-users] Trying to write to a second file device

2010-08-09 15:22:02
Subject: [Bacula-users] Trying to write to a second file device
From: PhineasJ <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 09 Aug 2010 14:42:42 -0400
Hi,

I'm trying to write to a second file device, my first is full.

I have the second device labeled and mounted,here are the appropriate sectionms 
from dir and sd conf files

FROM bac-dir.conf --


# Definition of file storage device
Storage {
  Name = File
# Do not use "localhost" here
  Address = pohl.xyz.local        # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "xxxxx"
  Device = FileStorage
  Media Type = File
}

Storage {
  Name = File2
# Do not use "localhost" here
  Address = pohl.xyz.local        # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "xxxxx"
  Device = FileStorage2
  Media Type = File
}    


FROM bacula-sd conf --

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /data1/bacula_data
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = FileStorage2
  Media Type = File2
  Archive Device = /data2/bacula_data2
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
} 

I can label and mount the volume, my problem is all my job defs call the 
storage "File" so all the jobs are trying to mount and write to the first 
device which defaults to "File"

Jobdefs Example--

JobDefs {
  Name = "WebServer"
  Type = Backup
  Level = Incremental
  Client = tolkien-fd
  FileSet = "Tolkien Set"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Default
  Priority = 10
} 

The file system "File" resides on is full, I need to simply continue writing 
backups to File2, which is on another filesystem.

Any ideas ? It seems I am missing something simple here...

Thanks

+----------------------------------------------------------------------
|This was sent by steve_8792 AT yahoo DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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>