Hi,

I use bacula 7.0 and I'm testing Volume Recycling, below, the Pool
configuration:

Pool {
  Name = TestShortZN
  Use Volume Once = no
  Pool Type = Backup
  LabelFormat = "TestShortZN"
  AutoPrune = yes
  Volume Retention =  1h
  Maximum Volumes = 2
  Maximum Volume Bytes = 5M
  Action On Purge = Truncate
  Recycle = yes
}


Schedule {
  Name = "testzn"
  Run = Level=Full Pool=TestShortZN Messages=Standard Storage=TempFile
hourly at 0:30
  Run = Level=Full Pool=TestShortZN Messages=Standard Storage=TempFile
hourly at 0:00
}


After second run ask my to label a new volume:


*list joblog jobid=1283
+----------------------------------------------------------------------------------------------------+
|
LogText
|
+----------------------------------------------------------------------------------------------------+
| bacula-dir JobId 1283: Start Backup JobId 1283,
Job=Filetest.2016-12-21_12.30.00_09
                 |
| bacula-dir JobId 1283: Using Device "TempFileStorage" to write.
                                     |
| bacula-sd JobId 1283: Volume "TestShortZN0014" previously written, moving
to end of data.
           |
| bacula-sd JobId 1283: Ready to append to end of Volume "TestShortZN0014"
size=4,583,657
             |
| bacula-sd JobId 1283: End of medium on Volume "TestShortZN0014"
Bytes=5,228,777 Blocks=82 at 21-Dec-2016 12:30.
 |
| bacula-sd JobId 1283: Job Filetest.2016-12-21_12.30.00_09 is waiting.
Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
    Storage:      "TempFileStorage" (/tmp)
    Pool:         TestShortZN
    Media type:   File
 |
+----------------------------------------------------------------------------------------------------+
+-------+----------+---------------------+------+-------+----------+----------+-----------+
| JobId | Name     | StartTime           | Type | Level | JobFiles |
JobBytes | JobStatus |
+-------+----------+---------------------+------+-------+----------+----------+-----------+
| 1,283 | Filetest | 2016-12-21 12:30:02 | B    | F     |        0 |
0 | R         |
+-------+----------+---------------------+------+-------+----------+----------+-----------+

Also I have the storage SD config with

Label Media = Yes

Why does bacula not create and label a new volume automatically?

Thanks in advance!
-- 
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to