[Bacula-users] restrict pool to write to single volume

2016-02-04 Thread Süleyman Kuran
Hi there,

I don't know if this has been discussed but google won't show me
relevant results.

I use bacula to backup to eternus library with 4 drives. Multi drive
config and simultaneous write works great. But what I need is to
restrict one pool (offsite pool)  to write to only single volume so that
I can take it out of the library and store in a safe place. My total
backup size fits in single media. Single media restriction is required
for only one pool. The other pools should not be affected. How can i
achieve this? My pool config is below.

Thanks.


Pool {
  Name = Offsite
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle
Volumes
  AutoPrune = yes # Prune expired volumes
  #Use Volume Once = yes
  Volume Retention = 365 days # one year
  Maximum Volume Bytes = 4924983103488
  #Recycle Pool = Offsite
}






--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] update slots reports Autochanger has 0 slots

2014-12-05 Thread Süleyman Kuran


Hello Ana, 

What I recently experienced was Autochanger has 0 slots error when 
AutoChanger = yes line is missing in Device directive in bacula-sd.conf with 
Centos 6 and Bacula 5.2.13 

Best regards, 

Suleyman 


- Orijinal Mesaj -

Kimden: Ana Emília M. Arruda emiliaarr...@gmail.com 
Kime: Rainer Hackel rainer.hac...@degnerpartner.com 
Kk: Süleyman Kuran sku...@ayk.gov.tr, Can Şirin sirin...@itu.edu.tr, 
bacula-users@lists.sourceforge.net 
Gönderilenler: 4 Aralık Perşembe 2014 23:35:37 
Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots 

Hello Rainer, 

Can you try changing Device Name? You have Name and Media Type using the same 
LTO-5. Bacula doesn´t work fine when you use the same name for different 
things. If you could, I recommend you setting name with Drive-0 or something 
like this: 

Autochanger { 
Name = Autochanger 
Device = Drive-0 

Device { 
Name = Drive-0 
Drive Index = 0 
Media Type = LTO-5 
... 
} 

Best regards, 
Ana 

On Thu, Dec 4, 2014 at 6:16 PM, Rainer Hackel  rainer.hac...@degnerpartner.com 
 wrote: 





Hi Süleyman, 

this is the current definition: 



Autochanger { 

Name = Autochanger 

Device = LTO-5 

Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d 

Changer Device = /dev/changer 

} 



Device { 

Name = LTO-5 

Drive Index = 0 

Media Type = LTO-5 

Archive Device = /dev/nst0 

AutomaticMount = yes; 

AlwaysOpen = yes; 

RemovableMedia = yes; 

RandomAccess = no; 

AutoChanger = yes 

Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' 

Spool Directory = /data/bacula-spool 

Maximum File Size = 12GB 

Maximum Spool Size = 3200G 

# Maximum Block Size = 200 

} 



Do you have an other idea? 


Rainer 





Von: Süleyman Kuran [mailto: sku...@ayk.gov.tr ] 
Gesendet: Donnerstag, 4. Dezember 2014 19:23 
An: Can Şirin 
Cc: bacula-users@lists.sourceforge.net 
Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots 











Merhaba Can, 





Maybe the Device directive in bacula-sd.conf, where the drives are defined, is 
missing AutoChanger = yes line. 





Regards, 









Kimden: Can Şirin  sirin...@itu.edu.tr  
Kime: bacula-users@lists.sourceforge.net 
Gönderilenler: 4 Aralık Perşembe 2014 17:01:37 
Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots 





Hi, 

Check this posts: 

http://www.freebsddiary.org/tape-library.php 
http://www.freebsddiary.org/tape-library-integration.php 

Same issue were discussed before. ( 
http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/
 ) 

Quoting Rainer Hackel  rainer.hac...@degnerpartner.com : 
blockquote



Hello Bacula users, 

Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them 
down in small pieces… here is one: 



“update slots“ command in bconsole says: 

Automatically selected Catalog: MyCatalog 

Using Catalog MyCatalog 

Automatically selected Storage: Autochanger 

Connecting to Storage daemon Autochanger at 192.168.1.15:9103 ... 

3306 Issuing autochanger slots command. 

Device Autochanger has 0 slots. 

No slots in changer to scan. 



But: 

“/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 



Of course the Autochanger has 16 slots. 

Someone has an idea? 



Best regards 

Rainer 







-- 
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server 
from Actuate! Instantly Supercharge Your Business Reports and Dashboards 
with Interactivity, Sharing, Native Excel Exports, App Integration  more 
Get technology previously reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk 
___ 
Bacula-users mailing list 
Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users 




-- 
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server 
from Actuate! Instantly Supercharge Your Business Reports and Dashboards 
with Interactivity, Sharing, Native Excel Exports, App Integration  more 
Get technology previously reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk 
___ 
Bacula-users mailing list 
Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users 


/blockquote



--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140

Re: [Bacula-users] update slots reports Autochanger has 0 slots

2014-12-04 Thread Süleyman Kuran


Merhaba Can, 

Maybe the Device directive in bacula-sd.conf, where the drives are defined, is 
missing AutoChanger = yes line. 

Regards, 


- Orijinal Mesaj -

Kimden: Can Şirin sirin...@itu.edu.tr 
Kime: bacula-users@lists.sourceforge.net 
Gönderilenler: 4 Aralık Perşembe 2014 17:01:37 
Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots 



Hi, 

Check this posts: 

http://www.freebsddiary.org/tape-library.php 
http://www.freebsddiary.org/tape-library-integration.php 

Same issue were discussed before. 
(http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/)
 

Quoting Rainer Hackel  rainer.hac...@degnerpartner.com : 




Hello Bacula users, 

Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them 
down in small pieces… here is one: 



“update slots“ command in bconsole says: 

Automatically selected Catalog: MyCatalog 

Using Catalog MyCatalog 

Automatically selected Storage: Autochanger 

Connecting to Storage daemon Autochanger at 192.168.1.15:9103 ... 

3306 Issuing autochanger slots command. 

Device Autochanger has 0 slots. 

No slots in changer to scan. 



But: 

“/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16 



Of course the Autochanger has 16 slots. 

Someone has an idea? 



Best regards 

Rainer 







-- 
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server 
from Actuate! Instantly Supercharge Your Business Reports and Dashboards 
with Interactivity, Sharing, Native Excel Exports, App Integration  more 
Get technology previously reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk 
___ 
Bacula-users mailing list 
Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users 

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula can't make use of multi drives

2014-12-03 Thread Süleyman Kuran
At last !!! 

Finally setting same priority for the jobs did the job. Now bacula can write 
to all 4 drives for the jobs that are in the same pool simultaneously. 

Thanks for the support. 


- Original Message -

From: Ana Emília M. Arruda emiliaarr...@gmail.com 
To: Süleyman Kuran sku...@ayk.gov.tr 
Cc: bacula-users bacula-users@lists.sourceforge.net 
Sent: Tuesday, 18 November, 2014 6:20:24 PM 
Subject: Re: [Bacula-users] bacula can't make use of multi drives 

Hello! 

If you want to run concurrent jobs, you should define the same priority for all 
of them. From the manual: Bacula concurrently runs jobs of only one priority 
at a time. It will not simultaneously run a priority 1 and a priority 2 job. 

Best regards, 
Ana 

On Tue, Nov 18, 2014 at 6:39 AM, Süleyman Kuran  sku...@ayk.gov.tr  wrote: 



Hi, 

I am trying to make bacula use multi drives in a Fujitsu Tape Library with no 
success. Recently I added 3 more drives to bacula configuration to reduce 
backup time. But bacula insists on using only the first drive. Backup jobs are 
not sent to other suitable tape drives. Jobs are started at the same time and 
queued. Jobs in the queue is waiting for the previous job to finish even if 
there is a valid media (tape) for the pool and other drives are idle. I can 
mount other drives manually. Is there any other setting I'm missing to make use 
of multi-drives? Please advise. 

Regards, 

Suleyman 

==
 
CentOS release 6.5 (Final) 
Bacula version 5.0.0-12.el6 

C onfig files: 

bacula-sd.conf 
==
 
Storage { # definition of myself 
Name = bacula-sd 
SDPort = 9103 # Director's port 
WorkingDirectory = /var/spool/bacula 
Pid Directory = /var/run 
Maximum Concurrent Jobs = 2 
} 
 
Autochanger { 
Name = AYKAutochanger 
Device = Drive-1 
Device = Drive-2 
Device = Drive-3 
Device = Drive-4 
Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d 
Changer Device = /dev/sg9 
} 
Device { 
Name = Drive-1 
Drive Index = 0 
Media Type = LTO-5 
Archive Device = /dev/nst0 
AutomaticMount = yes 
AlwaysOpen = yes 
RemovableMedia = yes 
Random Access = no 
Maximum File Size = 10GB 
Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d 
Changer Device = /dev/sg9 
AutoChanger = yes 
} 
Device { 
Name = Drive-2 
Drive Index = 1 
Media Type = LTO-5 
Archive Device = /dev/nst1 
AutomaticMount = yes 
AlwaysOpen = yes 
RemovableMedia = yes 
Random Access = no 
Maximum File Size = 10GB 
Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d 
Changer Device = /dev/sg9 
AutoChanger = yes 
Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' 
} 
Device { 
Name = Drive-3 
Drive Index = 2 
Media Type = LTO-5 
Archive Device = /dev/nst2 
AutomaticMount = yes 
AlwaysOpen = yes 
RemovableMedia = yes 
Random Access = no 
Maximum File Size = 10GB 
Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d 
# Changer Device = /dev/changer 
Changer Device = /dev/sg9 
AutoChanger = yes 
Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' 
} 
Device { 
Name = Drive-4 
Drive Index = 3 
Media Type = LTO-5 
Archive Device = /dev/nst3 
AutomaticMount = yes 
AlwaysOpen = yes 
RemovableMedia = yes 
Random Access = no 
Maximum File Size = 10GB 
Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d 
Changer Device = /dev/sg9 
AutoChanger = yes 
Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' 
} 
... 
=== 
ba cula-dir.conf 

Director { # define myself 
Name = bacula-dir 
DIRport = 9101 # where we listen for UA connections 
QueryFile = /etc/bacula/query.sql 
WorkingDirectory = /var/spool/bacula 
PidDirectory = /var/run 
Maximum Concurrent Jobs = 2 
Password = mypassword # Console password 
Messages = Daemon 
} 
JobDefs { 
Name = MyJobDefs 
Type = Backup 
Storage = Fujitsu ETERNUS LT60 
Max Start Delay = 36000 #do not start jobs after 10 hours 
Messages = Standard 
Pool = Default # will be overwritten by MultipleRUN Schedule 
#Write Bootstrap = /var/spool/bacula/%c.bsr 
Prefer Mounted Volumes = no 
} 
Job { 
Name = EbysFileBackup 
JobDefs = MyJobDefs 
Client = bacula-fd 
FileSet=EbysFiles 
Schedule = MultipleRUN 
Priority = 10 
} 
Job { 
Name = LoggerBackup 
JobDefs = MyJobDefs 
Client = logger-fd 
FileSet=Logger 
Schedule = MultipleRUN 
Priority = 15 
} 
Job { 
Name = RadiusBackup 
JobDefs = MyJobDefs 
Client = radius-fd 
FileSet=RadiusFiles 
Schedule = MultipleRUN 
Priority = 20 
} 
Schedule { 
Name = MultipleRUN 
Run = Level=Full Pool=Daily mon-thu at 2:17 
Run = Level=Full Pool=Daily 2nd-5th fri at 2:17 
Run = Level=Full Pool=Daily 2nd-5th sat at 2:17 
#never run Daily on 1st 
Run = Level=Full Pool=Weekly sun at 2:17 
#Run = Level=Incremental Pool=Weekly mon-sat at 19:05 
Run = Level=Full Pool=Monthly 1st sat at 2:17 
#Run = Level

Re: [Bacula-users] bacula can't make use of multi drives

2014-11-20 Thread Süleyman Kuran

On 19-11-2014 18:52, Josh Fisher wrote:
 On 11/19/2014 11:10 AM, hei...@bacula.com.br wrote:
 Is it a bug that bacula cannot write to multiple drives for the jobs
 in the same pool? Will there be a fix. Back in March 2014 Wolfgang
 Denk wrote it can but how?

 http://adsm.org/lists/html/Bacula-users/2014-03/msg00212.html

 It's not a bug, but just the way it's designed.
 Prefer Mounted Volumes=no it's a directive that could allow to
 write multiple volumes within the same pool at the same time, however
 this is a little buggy and not recommended at this time.

 It's not a bug, but it is a little buggy??

 I think that the only problem with setting Prefer Mounted Volumes =
 no is that it will result in a lot of moving of a volume back and
 forth between drives. While it might not be a bug, since it works as
 advertised, it CAN be a problem. For tape, it will really slow things
 down because it takes a substantial time to move a tape out of one
 drive and into another. For disk virtual autochangers, though, the
 moving between drives is simply closing a disk file and then
 re-opening it, meaning that the delay is very negligible.


I would really prefer autochanger to move volumes back and forth rather
than wait a couple of hours for the job to finish especially when there
are 3 drives just sitting lazy.

 If there is some other issue, like a race condition that I am not
 aware of, then that would indeed be a bug in my book. But I have used
 PreferMountedVolumes=no for disk virtual autochanger without (so far)
 encountering any such problems, just the swapping between drives. And
 for disk virtual autochangers, I don't see that as a problem in and of
 itself.


 Regards,
 =
 Heitor Medrado de Faria  - LPIC-III | ITIL-F
 Faltam poucos dias - Treinamento Telepresencial
 Bacula: http://www.bacula.com.br/?p=2174
 61 2021-8260 tel:%2B55%2061%202021-8260 | 8268-4220
 tel:%2B55%2061%208268-4220
 Site: www.bacula.com.br
 http://www.bacula.com.br/ | Facebook: heitor.faria
 http://www.facebook.com/heitor.faria | Gtalk: heitorfa...@gmail.com
 mailto:heitorfa...@gmail.com
 ==




 --
 Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
 from Actuate! Instantly Supercharge Your Business Reports and Dashboards
 with Interactivity, Sharing, Native Excel Exports, App Integration  more
 Get technology previously reserved for billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk


 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula can't make use of multi drives

2014-11-20 Thread Süleyman Kuran
Dear Kern,

I applied solution 1 AND 3 without success.

On 20-11-2014 12:28, Kern Sibbald wrote:
 Hello,

 There are a number of different ways to write to several drives at the
 same time.  They are listed with the preferred solution (for most
 cases) first and the worst solution last.

 1. This is probably the simplest and best.  Simply limit the number of
 simultaneous jobs by putting a Maximum Simultaneous Jobs = nn inside
 each Device resource in your bacula-sd.conf file.  Bacula version
 7.0.x comes with this directive in the Device resources as a default.


Do you mean Maximum Concurrent Jobs = nn ? But wait, I put the setting
in Storage and Job definitions in bacula-sd.conf and bacula-dir.conf. I
will update the bacula-sd.conf to use the setting in Device resource and
see what happens.

 2. As other people have pointed out, direct the output of different
 jobs to different Pools.  This is very good for separating backups by
 say department, but is not an ideal way to limit concurrency.

 3. Set Prefer Mounted Volumes = no.  I *strongly* recommend against
 using this directive. It will inevitably lead to problems.

 Best regards,
 Kern

 On 11/18/2014 10:39 AM, Süleyman Kuran wrote:
 Hi,

 I am trying to make bacula use multi drives in a Fujitsu Tape Library
 with no success. Recently I added 3 more drives to bacula
 configuration to reduce backup time. But bacula insists on using only
 the first drive. Backup jobs are not sent to other suitable tape
 drives. Jobs are started at the same time and queued. Jobs in the
 queue is waiting for the previous job to finish even if there is a
 valid media (tape) for the pool and other drives are idle. I can
 mount other drives manually. Is there any other setting I'm missing
 to make use of multi-drives? Please advise.

 Regards,

 Suleyman

 ==
 CentOS release 6.5 (Final)
 Bacula version 5.0.0-12.el6

 *C**onfig files:*

 *bacula-sd.conf*
 ==
 Storage { # definition of myself
   Name = bacula-sd
   SDPort = 9103  # Director's port 
   WorkingDirectory = /var/spool/bacula
   Pid Directory = /var/run
 *  Maximum Concurrent Jobs = 2*
 }
 
 Autochanger {
   Name = AYKAutochanger
   Device = Drive-1
   Device = Drive-2
   Device = Drive-3
   Device = Drive-4
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
 }
 Device {
   Name = Drive-1
   Drive Index = 0
   Media Type = LTO-5
   Archive Device = /dev/nst0
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
   AutoChanger = yes
 }
 Device {
   Name = Drive-2
   Drive Index = 1
   Media Type = LTO-5
   Archive Device = /dev/nst1
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
   AutoChanger = yes
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }
 Device {
   Name = Drive-3
   Drive Index = 2
   Media Type = LTO-5
   Archive Device = /dev/nst2
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
 #  Changer Device = /dev/changer
   Changer Device = /dev/sg9
   AutoChanger = yes
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }
 Device {
   Name = Drive-4
   Drive Index = 3
   Media Type = LTO-5
   Archive Device = /dev/nst3
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
   AutoChanger = yes
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }
 ...
 ===
 *ba**cula-dir.conf

 *Director {# define myself
   Name = bacula-dir
   DIRport = 9101# where we listen for UA connections
   QueryFile = /etc/bacula/query.sql
   WorkingDirectory = /var/spool/bacula
   PidDirectory = /var/run
 *  Maximum Concurrent Jobs = 2*
   Password = mypassword # Console password
   Messages = Daemon
 }
 JobDefs {
   Name = MyJobDefs
   Type = Backup
   Storage = Fujitsu ETERNUS LT60
   Max Start Delay = 36000 #do not start jobs after 10 hours
   Messages = Standard
   Pool = Default # will be overwritten by MultipleRUN Schedule
   #Write Bootstrap = /var/spool/bacula/%c.bsr
 *  Prefer Mounted Volumes = no*
 }
 Job {
   Name = EbysFileBackup
   JobDefs = MyJobDefs
   Client = bacula-fd
   FileSet

Re: [Bacula-users] bacula can't make use of multi drives

2014-11-20 Thread Süleyman Kuran

On 20-11-2014 12:28, Kern Sibbald wrote:
 Hello,

 There are a number of different ways to write to several drives at the
 same time.  They are listed with the preferred solution (for most
 cases) first and the worst solution last.

 1. This is probably the simplest and best.  Simply limit the number of
 simultaneous jobs by putting a Maximum Simultaneous Jobs = nn inside
 each Device resource in your bacula-sd.conf file.  Bacula version
 7.0.x comes with this directive in the Device resources as a default.

For multi-drive configs, Maximum Concurrent Jobs = nn setting is
recommended in Storage and Director resource in bacula-dir.conf and
storage resource in bacula-sd.conf. Do you suggest to use it in only
Device resource in bacula-sd.conf omitting the others?



 2. As other people have pointed out, direct the output of different
 jobs to different Pools.  This is very good for separating backups by
 say department, but is not an ideal way to limit concurrency.

 3. Set Prefer Mounted Volumes = no.  I *strongly* recommend against
 using this directive. It will inevitably lead to problems.

 Best regards,
 Kern

 On 11/18/2014 10:39 AM, Süleyman Kuran wrote:
 Hi,

 I am trying to make bacula use multi drives in a Fujitsu Tape Library
 with no success. Recently I added 3 more drives to bacula
 configuration to reduce backup time. But bacula insists on using only
 the first drive. Backup jobs are not sent to other suitable tape
 drives. Jobs are started at the same time and queued. Jobs in the
 queue is waiting for the previous job to finish even if there is a
 valid media (tape) for the pool and other drives are idle. I can
 mount other drives manually. Is there any other setting I'm missing
 to make use of multi-drives? Please advise.

 Regards,

 Suleyman

 ==
 CentOS release 6.5 (Final)
 Bacula version 5.0.0-12.el6

 *C**onfig files:*

 *bacula-sd.conf*
 ==
 Storage { # definition of myself
   Name = bacula-sd
   SDPort = 9103  # Director's port 
   WorkingDirectory = /var/spool/bacula
   Pid Directory = /var/run
 *  Maximum Concurrent Jobs = 2*
 }
 
 Autochanger {
   Name = AYKAutochanger
   Device = Drive-1
   Device = Drive-2
   Device = Drive-3
   Device = Drive-4
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
 }
 Device {
   Name = Drive-1
   Drive Index = 0
   Media Type = LTO-5
   Archive Device = /dev/nst0
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
   AutoChanger = yes
 }
 Device {
   Name = Drive-2
   Drive Index = 1
   Media Type = LTO-5
   Archive Device = /dev/nst1
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
   AutoChanger = yes
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }
 Device {
   Name = Drive-3
   Drive Index = 2
   Media Type = LTO-5
   Archive Device = /dev/nst2
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
 #  Changer Device = /dev/changer
   Changer Device = /dev/sg9
   AutoChanger = yes
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }
 Device {
   Name = Drive-4
   Drive Index = 3
   Media Type = LTO-5
   Archive Device = /dev/nst3
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
   AutoChanger = yes
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }
 ...
 ===
 *ba**cula-dir.conf

 *Director {# define myself
   Name = bacula-dir
   DIRport = 9101# where we listen for UA connections
   QueryFile = /etc/bacula/query.sql
   WorkingDirectory = /var/spool/bacula
   PidDirectory = /var/run
 *  Maximum Concurrent Jobs = 2*
   Password = mypassword # Console password
   Messages = Daemon
 }
 JobDefs {
   Name = MyJobDefs
   Type = Backup
   Storage = Fujitsu ETERNUS LT60
   Max Start Delay = 36000 #do not start jobs after 10 hours
   Messages = Standard
   Pool = Default # will be overwritten by MultipleRUN Schedule
   #Write Bootstrap = /var/spool/bacula/%c.bsr
 *  Prefer Mounted Volumes = no*
 }
 Job {
   Name = EbysFileBackup
   JobDefs = MyJobDefs
   Client = bacula-fd
   FileSet=EbysFiles
   Schedule = MultipleRUN

Re: [Bacula-users] bacula can't make use of multi drives

2014-11-19 Thread Süleyman Kuran
Thanks for the response heitor,

Is it a bug that bacula cannot write to multiple drives for the jobs in
the same pool? Will there be a fix. Back in March 2014 Wolfgang Denk
wrote it can but how?

http://adsm.org/lists/html/Bacula-users/2014-03/msg00212.html


On 18-11-2014 14:03, hei...@bacula.com.br wrote:
 I am trying to make bacula use multi drives in a Fujitsu Tape Library
 with no success. Recently I added 3 more drives to bacula
 configuration to reduce backup time. But bacula insists on using only
 the first drive. Backup jobs are not sent to other suitable tape
 drives. Jobs are started at the same time and queued. Jobs in the
 queue is waiting for the previous job to finish even if there is a
 valid media (tape) for the pool and other drives are idle. I can mount
 other drives manually. Is there any other setting I'm missing to make
 use of multi-drives? Please advise.

 Hey Mr. Suleyman: if you want Bacula to write in more than one drive
 simultaneously, the most reliable option is submit the job into
 different pools at the same given scheduled time.

 Regards,
 
 Heitor Medrado de Faria
 Need Bacula training? 10% discount coupon code at Udemy: bacula-users
 https://www.udemy.com/bacula-backup-software/?couponCode=bacula-users
 +55 61 2021-8260 tel:%2B55%2061%202021-8260 | 8268-4220
 tel:%2B55%2061%208268-4220
 Site: www.bacula.com.br
 http://www.bacula.com.br/ | Facebook: heitor.faria
 http://www.facebook.com/heitor.faria | Gtalk: heitorfa...@gmail.com
 mailto:heitorfa...@gmail.com
 

 
 *De: *Süleyman Kuran sku...@ayk.gov.tr
 *Para: *bacula-users bacula-users@lists.sourceforge.net
 *Enviadas: *Terça-feira, 18 de novembro de 2014 7:39:33
 *Assunto: *[Bacula-users] bacula can't make use of multi drives

 Hi,

 I am trying to make bacula use multi drives in a Fujitsu Tape Library
 with no success. Recently I added 3 more drives to bacula
 configuration to reduce backup time. But bacula insists on using only
 the first drive. Backup jobs are not sent to other suitable tape
 drives. Jobs are started at the same time and queued. Jobs in the
 queue is waiting for the previous job to finish even if there is a
 valid media (tape) for the pool and other drives are idle. I can mount
 other drives manually. Is there any other setting I'm missing to make
 use of multi-drives? Please advise.

 Regards,

 Suleyman

 ==
 CentOS release 6.5 (Final)
 Bacula version 5.0.0-12.el6

 *C**onfig files:*

 *bacula-sd.conf*
 ==
 Storage { # definition of myself
   Name = bacula-sd
   SDPort = 9103  # Director's port 
   WorkingDirectory = /var/spool/bacula
   Pid Directory = /var/run
 *  Maximum Concurrent Jobs = 2*
 }
 
 Autochanger {
   Name = AYKAutochanger
   Device = Drive-1
   Device = Drive-2
   Device = Drive-3
   Device = Drive-4
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
 }
 Device {
   Name = Drive-1
   Drive Index = 0
   Media Type = LTO-5
   Archive Device = /dev/nst0
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
   AutoChanger = yes
 }
 Device {
   Name = Drive-2
   Drive Index = 1
   Media Type = LTO-5
   Archive Device = /dev/nst1
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
   AutoChanger = yes
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }
 Device {
   Name = Drive-3
   Drive Index = 2
   Media Type = LTO-5
   Archive Device = /dev/nst2
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
 #  Changer Device = /dev/changer
   Changer Device = /dev/sg9
   AutoChanger = yes
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }
 Device {
   Name = Drive-4
   Drive Index = 3
   Media Type = LTO-5
   Archive Device = /dev/nst3
   AutomaticMount = yes
   AlwaysOpen = yes
   RemovableMedia = yes
   Random Access = no
   Maximum File Size = 10GB
   Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg9
   AutoChanger = yes
   Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }
 ...
 ===
 *ba**cula-dir.conf

 *Director

[Bacula-users] bacula can't make use of multi drives

2014-11-18 Thread Süleyman Kuran
Hi,

I am trying to make bacula use multi drives in a Fujitsu Tape Library
with no success. Recently I added 3 more drives to bacula configuration
to reduce backup time. But bacula insists on using only the first drive.
Backup jobs are not sent to other suitable tape drives. Jobs are started
at the same time and queued. Jobs in the queue is waiting for the
previous job to finish even if there is a valid media (tape) for the
pool and other drives are idle. I can mount other drives manually. Is
there any other setting I'm missing to make use of multi-drives? Please
advise.

Regards,

Suleyman

==
CentOS release 6.5 (Final)
Bacula version 5.0.0-12.el6

*C**onfig files:*

*bacula-sd.conf*
==
Storage { # definition of myself
  Name = bacula-sd
  SDPort = 9103  # Director's port 
  WorkingDirectory = /var/spool/bacula
  Pid Directory = /var/run
*  Maximum Concurrent Jobs = 2*
}

Autochanger {
  Name = AYKAutochanger
  Device = Drive-1
  Device = Drive-2
  Device = Drive-3
  Device = Drive-4
  Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/sg9
}
Device {
  Name = Drive-1
  Drive Index = 0
  Media Type = LTO-5
  Archive Device = /dev/nst0
  AutomaticMount = yes
  AlwaysOpen = yes
  RemovableMedia = yes
  Random Access = no
  Maximum File Size = 10GB
  Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/sg9
  AutoChanger = yes
}
Device {
  Name = Drive-2
  Drive Index = 1
  Media Type = LTO-5
  Archive Device = /dev/nst1
  AutomaticMount = yes
  AlwaysOpen = yes
  RemovableMedia = yes
  Random Access = no
  Maximum File Size = 10GB
  Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/sg9
  AutoChanger = yes
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
}
Device {
  Name = Drive-3
  Drive Index = 2
  Media Type = LTO-5
  Archive Device = /dev/nst2
  AutomaticMount = yes
  AlwaysOpen = yes
  RemovableMedia = yes
  Random Access = no
  Maximum File Size = 10GB
  Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
#  Changer Device = /dev/changer
  Changer Device = /dev/sg9
  AutoChanger = yes
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
}
Device {
  Name = Drive-4
  Drive Index = 3
  Media Type = LTO-5
  Archive Device = /dev/nst3
  AutomaticMount = yes
  AlwaysOpen = yes
  RemovableMedia = yes
  Random Access = no
  Maximum File Size = 10GB
  Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/sg9
  AutoChanger = yes
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
}
...
===
*ba**cula-dir.conf

*Director {# define myself
  Name = bacula-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = /etc/bacula/query.sql
  WorkingDirectory = /var/spool/bacula
  PidDirectory = /var/run
*  Maximum Concurrent Jobs = 2*
  Password = mypassword # Console password
  Messages = Daemon
}
JobDefs {
  Name = MyJobDefs
  Type = Backup
  Storage = Fujitsu ETERNUS LT60
  Max Start Delay = 36000 #do not start jobs after 10 hours
  Messages = Standard
  Pool = Default # will be overwritten by MultipleRUN Schedule
  #Write Bootstrap = /var/spool/bacula/%c.bsr
*  Prefer Mounted Volumes = no*
}
Job {
  Name = EbysFileBackup
  JobDefs = MyJobDefs
  Client = bacula-fd
  FileSet=EbysFiles
  Schedule = MultipleRUN
  Priority = 10
}
Job {
  Name = LoggerBackup
  JobDefs = MyJobDefs
  Client = logger-fd
  FileSet=Logger
  Schedule = MultipleRUN
  Priority = 15
}
Job {
  Name = RadiusBackup
  JobDefs = MyJobDefs
  Client = radius-fd
  FileSet=RadiusFiles
  Schedule = MultipleRUN
  Priority = 20
}
Schedule {
  Name = MultipleRUN
  Run = Level=Full Pool=Daily mon-thu at 2:17
  Run = Level=Full Pool=Daily 2nd-5th fri at 2:17
  Run = Level=Full Pool=Daily 2nd-5th sat at 2:17
  #never run Daily on 1st
  Run = Level=Full Pool=Weekly sun at 2:17
  #Run = Level=Incremental Pool=Weekly mon-sat at 19:05
  Run = Level=Full Pool=Monthly 1st sat at 2:17
  #Run = Level=Incremental Pool=Monthly sun-fri at 2:05
  Run = Level=Full Pool=Offsite 1st fri at 2:17
}
Client {
  Name = radius-fd
  Address = client-address
  FDPort = 9102
  Catalog = MyCatalog
  Password = mypassword # password for FileDaemon 2
}
Storage {
  Name = Fujitsu ETERNUS LT60
  Address = sd-FQDN-address# N.B. Use a fully qualified
name here
  SDPort = 9103
  Password = mypassword  # password for Storage daemon
  Device = AYKAutochanger
  Media Type = LTO-5  # must be same as MediaType in
Storage daemon
  Autochanger = yes   # enable for autochanger device
  Maximum Concurrent Jobs = 

Re: [Bacula-users] exclude day from schedule

2013-09-30 Thread Süleyman Kuran
Sample schedule is missing weekly and montly pools. Each pools retention 
time is different. Daily pool expires after a week. Weekly pool expires 
after 4 weeks, monthly pool expires after 12 months. Sometimes it is 
necessary to restore previous backups not the latest. This way I have a 
wide range of options to restore.


But i'm not sureif itis better by including weekly and montly pool media 
to daily pool and set the expiration time to 365 daysand only backup to 
daily pool. If you want to restore a 6 months old backup, how do you 
configureyour schedule?





On 03/08/13 07:06, Gary Dale wrote:

On 02/08/13 05:56 PM, Süleyman Kuran wrote:

I export the Offsite media on Friday morning from the library and move
it to another location. Because there is no monthly backup in the
library I also schedule a job a day after the offsite backupin case I
need to recover from a montly backup immediately. 1stsat is always 1
day after the 1st friday, or am i wrong?

You are right that I have two full backups on sunday, it is a mistake.
I should remove daily backup on sundays.


The really strange thing is that you are running a full backup to the
Daily pool at 3:17 each morning and an incremental each day except
Sunday at 19:05 to the Weekly pool. Assuming normal business hours, that
means you are doing an incremental followed by a full each day. Do you
need two backups each day?

The sample schedule looks pretty good and appears to do what you want:

Schedule {
  Name = ScheduleTest
  Run = Full 1st sun at 23:05
  Run = Differential 2nd-5th sun at 23:05
  Run = Incremental mon-sat at 23:05
}

In fact, you could even simplify it to running a full every Sunday and
incrementals in between.

Schedule {
  Name = ScheduleTest2
  Run = Full sun at 23:05
  Run = Incremental mon-sat at 23:05
}

If you put the incrementals into a different pool from the
full/differential then you keep the size of the pool you want offsite
manageable.

If you are backing up the catalogue (a common practise) along with the
files, then you don't need to run a full backup to an Offsite pool. I
just copy the Weekly pool to a removable drive/media each week after the
weekly Full or Differential backup finishes. This can be done as a
RunAfterJob script or as a cron job. Should you need to restore the
pool, just copy it back to your disk drive.



--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] exclude day from schedule

2013-08-02 Thread Süleyman Kuran

Hi,

I read the docs but couldn't find any info. Is it possible to exclude 
from schedule? My schedule is as follows:


Schedule {
  Name = MultipleRUN
  Run = Level=Full Pool=Daily mon-sun at 3:17
  Run = Level=Full Pool=Weekly sun at 9:05
  Run = Level=Incremental Pool=Weekly mon-sat at 19:05
  Run = Level=Full Pool=Monthly 1st sat at 2:05
  Run = Level=Full Pool=Offsite 1st fri at 2:05
}

What I'm trying to do is to prevent Daily full backup from running when 
thereis a Monthly full backup is scheduled for the same day.



Is the following possible?

Run = Level=Full Pool=Daily mon-sun at 3:17 *not 1 st sat*

Thanksfor your time.




--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] exclude day from schedule

2013-08-02 Thread Süleyman Kuran
I export the Offsite media on Friday morning from the library and move 
it to another location. Because there is no monthly backup in the 
library I also schedule a job a day after the offsite backupin case I 
need to recover from a montly backup immediately. 1stsat is always 1 day 
after the 1st friday, or am i wrong?


You are right that I have two full backups on sunday, it is a mistake. I 
should remove daily backup on sundays.




On 02/08/13 19:53, Gary Dale wrote:

On 02/08/13 12:25 PM, Martin Simmons wrote:

On Fri, 02 Aug 2013 10:12:03 +0300, Süleyman Kuran said:

Hi,

I read the docs but couldn't find any info. Is it possible to exclude
from schedule? My schedule is as follows:

Schedule {
 Name = MultipleRUN
 Run = Level=Full Pool=Daily mon-sun at 3:17
 Run = Level=Full Pool=Weekly sun at 9:05
 Run = Level=Incremental Pool=Weekly mon-sat at 19:05
 Run = Level=Full Pool=Monthly 1st sat at 2:05
 Run = Level=Full Pool=Offsite 1st fri at 2:05
}

This schedule looks strange to me, because incremental jobs are always
relative to the last full job, but you are sending them all to the Weekly
pool.  On Monday it will be relative to the Pool=Daily full and on the 1st
Friday it will be relative to the Pool=Offsite full.

__Martin


I thought incrementals were relative to the last backup job and
differentials relative to the last full backup. He does a full on Sunday
to the weekly pool and incrementals the rest of the week. Each
incremental should have just the day's changes.

What I find strange is that he's running the Offsite a day before the
Monthly while the Weekly full is 31 hours after the Monthly. Given that
the month doesn't always start on the same day of the week, the various
backups could be done on different weeks (e.g. the first Saturday may be
before or after the first Sunday).

Another strange thing is that he's running both full and incremental
backups each day, with two full backups on Sunday. I don't understand
why anyone would do this.


--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Purging Message

2013-02-08 Thread Süleyman Kuran
I am also not sure about  upgrading from Simone Caronni's repo. If 
purging works fine than there is no need to break Bacula.

On 07-02-2013 16:08, Summers, James B. II wrote:
 On Feb 6, 2013, at 5:25 AM, Tilman Schmidt t.schm...@phoenixsoftware.de 
 wrote:

 Am 06.02.2013 04:19, schrieb Summers, James B. II:
 On Feb 5, 2013, at 5:15 PM, Tilman Schmidt t.schm...@phoenixsoftware.de 
 wrote:

 Am 05.02.2013 18:09, schrieb Summers, James B. II:
 I was looking at my backup email reports and keep seeing the following at 
 the end of each report:

 JobId 5968: Begin pruning Jobs older than 42 years 7 months 21 days 15 
 hours 57 mins 50 sec.
 JobId 5968: No Jobs found to prune.

 My understanding from the documentation is that the default job retention 
 is 180 days.  But for some reason it is trying to only purge things older 
 than 42 years?
 I seem to remember that was a bug in some old version of Bacula.
 Which version are you using?
 We are running 5.0.0-9 on a RHEL 6.3 machine.
 I'm quite happy with Simone Caronni's Bacula builds for RHEL from
 http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-6/x86_64/ .
 It's currently at release 5.2.12-7.

 Scanning through my old logs, I see I did get that same message
 back when I still ran 5.0.0. It disappeared after the upgrade to
 5.2.6 in March 2012.

 Before I actually do the upgrade, I was wondering, if it is just an erroneous 
 message and it actually is purging on the 180 day job retention?

 The reason I ask is last week I had reached a point where I needed to start 
 re-using old volumes.  Which  I was able to resolve by adjusting the Volume 
 retention time.  But I think when I did that it also overrides the job and 
 file retention anyway, so it really was not a problem.

 I think I will use bconsole and see if I can determine if the job and file 
 retention times are being used as expected.

 Thanks Again




 -- 
 Tilman Schmidt
 Phoenix Software GmbH
 Bonn, Germany

 Jim Summers
 University of Oklahoma
 jsumm...@ou.edu




 --
 Free Next-Gen Firewall Hardware Offer
 Buy your Sophos next-gen firewall before the end March 2013
 and get the hardware for free! Learn more.
 http://p.sf.net/sfu/sophos-d2d-feb
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Purging Message

2013-02-06 Thread Süleyman Kuran

I am also having this problem,

*version
bacula-dir Version: 5.0.0 (26 January 2010) x86_64-unknown-linux-gnu 
redhat (Final)


Installed on Centos 6.3 with yum


On 05-02-2013 19:09, Summers, James B. II wrote:

Hello All,

I was looking at my backup email reports and keep seeing the following at the 
end of each report:

JobId 5968: Begin pruning Jobs older than 42 years 7 months 21 days 15 hours 57 
mins 50 sec.
JobId 5968: No Jobs found to prune.

My understanding from the documentation is that the default job retention is 
180 days.  But for some reason it is trying to only purge things older than 42 
years?

Ideas?

Thanks
Jim Summers
University of Oklahoma
jsumm...@ou.edu




--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] full and incremental backups

2013-02-02 Thread Süleyman Kuran
On 02/02/2013 02:04 PM, John Drescher wrote:
 On Sat, Feb 2, 2013 at 7:03 AM, John Drescher dresche...@gmail.com wrote:
 On Fri, Feb 1, 2013 at 2:56 AM, Süleyman Kuran sku...@ayk.gov.tr wrote:
 Hi List,

 I am scheduling montly backups to move to an off-site location in case of a
 disaster. Monthly backup job copies a full backup 1st friday night of every
 month then backups up incremental on the remaining days of month. What I am
 trying to achive is to export a tape cartridge 1 st friday of every month
 before leaving the office containing the full and incrementals backup ups of
 the previous month.  The schedule config is as follows :


 Schedule {
Name = MultipleRUN
Run = Level=Full Pool=Daily mon-sun at 3:17
Run = Level=Full Pool=Weekly sun at 9:05
Run = Level=Incremental Pool=Weekly mon-sat at 5:05
Run = Level=Full Pool=Monthly 1st fri at 22:05
Run = Level=Incremental Pool=Monthly sun-fri at 2:05
 }


 Now the problem; full and incremental backups are not bound to pools, bacula
 just picks up the last full backup to compare, regardless of the pool when
 preparing for the incremental. When I remove the cartridge out of the
 office, there is a chance that the corresponding full backups are still
 located in the library, and my montly backup is useless without a recent
 full backup.

 How can i make sure my monthly backup consists of a full backup and
 incrementals derived from the full on the same media

 I would do a separate job and schedule for the offline set. This way
 the incrementals will work correctly instead of being based on the
 daily full backups.
 In this case you keep the exact same fileset but have a different job
 and a different schedule resource.

 John
Thanks for yor reply John,
I have more than 15 different fd-clients that needs to be backed up, is 
it practical to create extra 15 more jobs for monthly offsite backups?

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] full and incremental backups

2013-01-31 Thread Süleyman Kuran

Hi List,

I am scheduling montly backups to move to an off-site location in case 
of a disaster. Monthly backup job copies a full backup 1st friday 
nightof every month then backups up incremental on the remaining days of 
month. What I am trying to achive is to export a tape cartridge 1 st 
friday of every month before leaving the office containing the full and 
incrementals backup ups of the previous month. The schedule config is as 
follows :



Schedule {
  Name = MultipleRUN
  Run = Level=Full Pool=Daily mon-sun at 3:17
  Run = Level=Full Pool=Weekly sun at 9:05
  Run = Level=Incremental Pool=Weekly mon-sat at 5:05
*Run = Level=Full Pool=Monthly 1st fri at 22:05*
*Run = Level=Incremental Pool=Monthly sun-fri at 2:05*
}


Now the problem; full and incremental backups are not bound to pools, 
bacula just picks up the last full backup to compare, regardless of the 
pool when preparing for the incremental. When I remove the cartridgeout 
of the office, there is a chance that the corresponding full backupsare 
still located in the library, and my montly backup is useless without a 
recent full backup.


How can i make sure my monthly backup consists of a full backup and 
incrementals derived from the full *on the same **media*




Regards,

Suleyman

--

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users