Hi,

I don't understand why sometimes autolabeling doesn't work. I wonder if
this the expected behaviour:

~~~~
19-jun 10:57 DEBIAN01-dir JobId 381: Start Backup JobId 381,
Job=BackupMtaCuarto.2018-06-19_10.57.08_06
19-jun 10:57 DEBIAN01-dir JobId 381: Using Device "WStorage4" to write.
19-jun 10:57 bacula-sd JobId 381: Job
BackupMtaCuarto.2018-06-19_10.57.08_06 is waiting. Cannot find any
appendable volumes.
Please use the "label" command to create a new Volume for:
    Storage:      "WStorage4" (/backup/external/4week)
    Pool:         Cuarto
    Media type:   File
~~~~


I have the following configuration:

~~~~
# File Pool definition
Pool {
  Name = Cuarto
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 2 days         # one year
  Maximum Volume Bytes = 125G          # Limit Volume size to something
reasonable
  Maximum Volumes = 1               # Limit number of Volumes in Pool
  Label Format = "Cuarto-"               # Auto label
#  UseVolumeOnce = yes
# Maximum Volume Jobs = 100
  Volume Use Duration = 2d
  Storage = Semana4
  Action On Purge = Truncate
}
~~~~


And finally this the volume details:

~~~~
*llist volume=Cuarto-0123
          MediaId: 123
       VolumeName: Cuarto-0123
             Slot: 0
           PoolId: 11
        MediaType: File
      MediaTypeId: 0
     FirstWritten: 2018-06-15 23:15:29
      LastWritten: 2018-06-16 04:37:14
        LabelDate: 2018-06-13 23:12:40
          VolJobs: 6
         VolFiles: 31
        VolBlocks: 2,080,511
        VolMounts: 25
         VolBytes: 134,217,695,697
        VolABytes: 0
      VolAPadding: 0
     VolHoleBytes: 0
         VolHoles: 0
        VolErrors: 0
        VolWrites: 6,825,149
 VolCapacityBytes: 0
        VolStatus: Full
          Enabled: 1
          Recycle: 1
     VolRetention: 172,800
   VolUseDuration: 172,800
       MaxVolJobs: 0
      MaxVolFiles: 0
      MaxVolBytes: 134,217,728,000
        InChanger: 0
          EndFile: 31
         EndBlock: 1,073,709,520
         VolParts: 1
        LabelType: 0
        StorageId: 8
         DeviceId: 0
  MediaAddressing: 0
      VolReadTime: 0
     VolWriteTime: 2,800,219,045
       LocationId: 0
     RecycleCount: 3
     InitialWrite: NULL
    ScratchPoolId: 0
    RecyclePoolId: 0
    ActionOnPurge: 1
        ExpiresIn: 0
          Comment: NULL
~~~~


Please could you help me  and tell me if I'm misunderstanding something?

Thanks in advance

Sergio Belkin

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to