[Bacula-users] Concurrent client backups giving "waiting on Storage File" messages
2011-07-27 21:56:48
I am trying to alter my Bacula configuration such that my backup jobs run
concurrently since sometimes a client can be offline and I want to have
Bacula wait up to 12 hours for that client to reappear without holding up
the whole queue of client jobs. As best as I can tell I've got everything
configured correctly but I still get "waiting on Storage File" status
messages for all clients except one. Only one client is running at a time,
although they all run successfully in sequential fashion.
I am using a removable hard drive for the backup media with one file per
client backup job. I have created separate pools, one per client, to ensure
that the right job matches up with the right backup file. Otherwise I found
that if an error occurred trying to start a backup of client #1, client #2
would use client #1's backup file, causing confusion since the backup files
are named after the client.
I am still running version 3.0.3 since 5.0 doesn't have Windows director and
storage binaries precompiled.
Hopefully I've provided enough background, including what I believe is all
of the relevant config info below. So how do I fix this "waiting on Storage
File" problem so I can get clients backing up concurrently?
Director config (including a representative pool definition - remember that
I have one pool per client)...
Director { # define myself
Name = myserver-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 = "mypassword" # Console password
Messages = Daemon
FD Connect Timeout = 43200 # 12 hrs
}
# Definition of file storage device
Storage {
Name = File
# Do not use "localhost" here
Address = myserver # N.B. Use a fully qualified name here
SDPort = 9103
Password = "mypassword"
Device = FileStorage
Media Type = File
Maximum Concurrent Jobs = 10
}
Pool {
Name = myclientpool
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 =
"myclient-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Level}_${JobId}"
}
Storage config...
Storage { # definition of myself
Name = myserver-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 = FileStorage
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
}
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
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>
|
- [Bacula-users] Concurrent client backups giving "waiting on Storage File" messages,
Jeff Shanholtz <=
|
|
|