Bacula-users

[Bacula-users] Bacula 7.0.5 MaximumVolumeJobs=1 not working żbug?

2014-12-30 07:39:57
Subject: [Bacula-users] Bacula 7.0.5 MaximumVolumeJobs=1 not working żbug?
From: Pr0sper0 <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 30 Dec 2014 04:36:53 -0800
Hello All,

Today i?m having a really strange issue. I only want to store 1 job per volume. 
Reading the documentation i found that ?Maximum Volume Jobs = 1? is the correct 
way to tell bacula to do this?

Let me show you the problem:

The first time i run an incremental backup, everything work as expected:

30-dic 08:51 DIR JobId 271: Start Backup JobId 271, 
Job=BKPserver1INC.2014-12-30_08.51.55_03
30-dic 08:51 DIR JobId 271: Created new Volume="Inc-0079", Pool="poolINC", 
MediaType="File1" in catalog.
30-dic 08:51 DIR JobId 271: Using Device "STGdev2" to write.
30-dic 08:52 SD JobId 271: Labeled new Volume "Inc-0079" on file device 
"STGdev2" (/var/storage).
30-dic 08:52 SD JobId 271: Wrote label to prelabeled Volume "Inc-0079" on file 
device "STGdev2" (/var/storage)
30-dic 08:51 DIR JobId 271: Volume used once. Marking Volume "Inc-0079" as Used.
30-dic 08:52 SD JobId 271: Elapsed time=00:00:10, Transfer rate=0  Bytes/second
30-dic 08:52 SD JobId 271: Sending spooled attrs to the Director. Despooling 0 
bytes ...


Here?s the issue, the second incremental reuse the same volume as the first 
one, rewriting it and ?dropping? the previous data...

30-dic 08:52 DIR JobId 272: Start Backup JobId 272, 
Job=BKPserver1INC.2014-12-30_08.52.29_04
30-dic 08:52 DIR JobId 272: There are no more Jobs associated with Volume 
"Inc-0079". Marking it purged.
30-dic 08:52 DIR JobId 272: All records pruned from Volume "Inc-0079"; marking 
it "Purged"
30-dic 08:52 DIR JobId 272: Recycled volume "Inc-0079"
30-dic 08:52 DIR JobId 272: Using Device "STGdev2" to write.
30-dic 08:53 SD JobId 272: Recycled volume "Inc-0079" on file device "STGdev2" 
(/var/storage), all previous data lost.
30-dic 08:52 DIR JobId 272: Volume used once. Marking Volume "Inc-0079" as Used.
30-dic 08:53 SD JobId 272: Elapsed time=00:00:10, Transfer rate=0  Bytes/second
30-dic 08:53 SD JobId 272: Sending spooled attrs to the Director. Despooling 0 
bytes ...


Again, the third incremental work as expected, creating another volume

30-dic 08:57 DIR JobId 273: Start Backup JobId 273, 
Job=BKPserver1INC.2014-12-30_08.57.45_03
30-dic 08:57 DIR JobId 273: Created new Volume="Inc-0080", Pool="poolINC", 
MediaType="File1" in catalog.
30-dic 08:57 DIR JobId 273: Using Device "STGdev2" to write.
30-dic 08:58 SD JobId 273: Labeled new Volume "Inc-0080" on file device 
"STGdev2" (/var/storage).
30-dic 08:58 SD JobId 273: Wrote label to prelabeled Volume "Inc-0080" on file 
device "STGdev2" (/var/storage)
30-dic 08:57 DIR JobId 273: Volume used once. Marking Volume "Inc-0080" as Used.
30-dic 08:58 SD JobId 273: Elapsed time=00:00:10, Transfer rate=0  Bytes/second
30-dic 08:58 SD JobId 273: Sending spooled attrs to the Director. Despooling 0 
bytes ...

This is the config for my pool. I don't understand why is this happening, may 
be a bug?

Pool {
  Name = poolINC
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 20 days
  Label Format = "Inc-"
  Maximum Volume Jobs = 1
}

Thanks in advance for your help
I really appreciated
Have a great day!

+----------------------------------------------------------------------
|This was sent by pr0sper0stuff AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
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>