Bacula-users

Re: [Bacula-users] please mount volume or label a new one

2011-08-08 15:53:47
Subject: Re: [Bacula-users] please mount volume or label a new one
From: Jeff Shanholtz <jeffsubs AT shanholtz DOT com>
To: <Bacula-users AT lists.sourceforge DOT net>
Date: Mon, 8 Aug 2011 12:51:30 -0700
>> I have always kept Maximum Volume Jobs at 1 for this and all other 
>> (working) clients. One file per job is the way I do it.
>>
> Do you have a limit on the # of volumes in the pool?

Not to my knowledge. Here's the relevant info from my conf files.

**************** Director:

Director {                            # define myself
  Name = server-dir
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "C:\\Program Files (x86)\\Bacula\\bin\\query.sql"
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  PidDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 10
  Password = "password"         # Console password
  Messages = Daemon
  FD Connect Timeout = 43200 # 12 hrs
}

JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  FileSet = "Windows Full Set"
  Schedule = "WeeklyCycle"
  Messages = Standard
  Priority = 10
}

Job {
  Name = "client"
  Client = client -fd
  JobDefs = "DefaultJob"
  Write Bootstrap = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work\\ client.bsr"
  ClientRunBeforeJob="cmd.exe /c C:\\Utils\\BeforeBackup.bat"
  ClientRunAfterJob="cmd.exe /c C:\\Utils\\AfterBackup.bat"
  Pool = client
  Storage = FileClient
}

# Client (File Services) to backup
Client {
  Name = client -fd
  Address = client
  FDPort = 9102
  Catalog = MyCatalog
  Password = "password"      # password for FileDaemon
  File Retention = 6 months
  Job Retention = 6 months
  AutoPrune = yes                     # Prune expired Jobs/Files
}

# Definition of file storage device
Storage {
  Name = FileClient
# Do not use "localhost" here
  Address = server                # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "password"
  Device = FileStorageClient
  Media Type = File
  Maximum Concurrent Jobs = 10
}

Pool {
  Name = client
  Pool Type = Backup
  Recycle = no                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
  Maximum Volume Jobs = 1
  Label Format =
"${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Level}_${JobId}"
}

**************** Storage:

Storage {                             # definition of myself
  Name = server-sd
  SDPort = 9103                  # Director's port      
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Pid Directory = "C:\\Documents and Settings\\All Users\\Application
Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 10
}

Device {
  Name = FileStorageClient
  Media Type = File
  Archive Device = "H:\\Bacula\ Backup\ Volumes"
  LabelMedia = yes                   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = yes               # when device opened, read it
  RemovableMedia = yes
  AlwaysOpen = no
}



------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users