Hello,

I have just added a second raid array to my bacula server and want to 
have 2/3 of my incremental pool be on Array0 and the other 1/3 on Array1.

To set this up, I added a second Device to bacula-sd.conf (both devices 
shown below):

Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /home/bacula
  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 = File
  Archive Device = /hd_array0/bacula
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}


The director has the following configuration for the client we call affypet:

JobDefs {
  Name = "AffypetJob"
  Type = Backup
  Pool = FullBackupPool
  Level = Incremental
  Client = affypet-fd
  FileSet = "Win32FileSet"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Priority = 10
}

Job {
  Name = "affypet"
  Client = affypet-fd
  JobDefs = "AffypetJob"
  Write Bootstrap = "/var/lib/bacula/affypet.bsr"
}

Client {
  Name = affypet-fd
  Address = affypet.<snip>
  FDPort = 9102
  Catalog = MyCatalog
  Password = "<snip>"
  File Retention = 2 months
  Job Retention = 3 months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

# Definition of file storage device
Storage {
  Name = File
  Address = <snip>
  SDPort = 9103
  Password = "<snip>"
  Device = FileStorage
  Media Type = File
}

Storage {
  Name = File2
  Address = <snip>
  SDPort = 9103
  Password = "<snip>"
  Device = FileStorage2
  Media Type = File
}

# Full pool definition
Pool {
  Name = FullBackupPool
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 56 days          # almost two months
  Volume Use Duration = 28 days       # almost a month
  Accept Any Volume = yes             # write on any volume in the pool
}


# Inc pool definition
Pool {
  Name = IncPool
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 28 days          # almost two months
  Volume Use Duration = 7 days       # almost a month
  Accept Any Volume = yes             # write on any volume in the pool
}

# Diff pool definition
Pool {
  Name = DiffPool
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 28 days          # almost two months
  Volume Use Duration = 13 days       # almost a month
  Accept Any Volume = yes             # write on any volume in the pool
}


Using the label command in bconsole, it let me create 12 volumes for the 
IncPool; 4 volumes on FileStorage (Device) and 8 volumes on 
FileStoreage2 (Device).

This morning I got the message:

03-Oct 23:05 packrat-sd: Please mount Volume "IncVol11" on Storage Device 
"FileStorage" (/home/bacula) for Job affypet.2006-10-03_23.05.00


I know that IncVol11 is on Device "FileStorage2" (/hd_array0/bacula), 
which explains why the mount failed. My question is, how to set it up so 
I can have one incremental pool with 12 volumes; 4 volumes on raid 
array1 and 8 volumes on raid array 8. Please let me know if I left out 
any information that would be helpful. Thank you in advance for any 
advice you can give.

-Brandon King

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to