Bacula-users

[Bacula-users] Multiple Storages in Job Resource

2012-07-26 11:13:13
Subject: [Bacula-users] Multiple Storages in Job Resource
From: Jummo <jummo AT devio DOT us>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 26 Jul 2012 17:10:47 +0200 (CEST)
Hi,

I use backup to disk to backup my clients and I hit the slow restore 
problem when backup jobs run concurrently and use the same storage 
device/volume. The backup window is small and therefore jobs must run at 
the same time.

My first intention was to create for each client a dedicated storage 
device, similar like [1]. With this configuration each backup job is saved 
on a sperated volume, no mixups and slow restore is gone. But the 
configuration overhead is huge and for a new client I have to restart the 
storage daemon.

During my web search I found the configuration of mashdot [2]. He use four 
generic storage devices and use _all_ four in the Job Resource 
configuration.

Job {
...
   Storage = 
PrimaryFileStorage,SecondaryFileStorage,TertiaryFileStorage,QuaternaryFileStorage
...
}

It's possible to define more than one storage device and the jobs will 
select automatically the next free one until all are in used? I couldn't 
find anything about this in the official documentation or in mailing list 
archives.

If this is possible, why I'm getting the following errors when a jobs 
starts during another is already running?

26-Jul 16:48 bacula.example.com-dir JobId 889: Start Backup JobId 889, 
Job=client2.example.com.2012-07-26_16.48.08_54
26-Jul 16:48 bacula.example.com-dir JobId 889: Created new Volume 
"client2.example.com-fd-new_FullPool-20120726-1648-889" in catalog.
26-Jul 16:48 bacula.example.com-dir JobId 889: Error: sql_create.c:424 Volume 
"client2.example.com-fd-new_FullPool-20120726-1648-889" already exists. 
26-Jul 16:48 bacula.example.com-dir JobId 889: Error: sql_create.c:424 Volume 
"client2.example.com-fd-new_FullPool-20120726-1648-889" already exists.
26-Jul 16:48 bacula.example.com-dir JobId 889: Error: sql_create.c:424 Volume 
"client2.example.com-fd-new_FullPool-20120726-1648-889" already exists.


Thanks,

  - Jummo



[1] http://myunix.dk/category/bacula/
[2] https://gist.github.com/2312522

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users