Hello,

I'm trying to configure a pool to create a volume by every client and job,
but I've noticed that bareos has created a lot of volumes using the most of
time the name of one of the clients instead label the volumes when are
necessary and using the name of the curren job lcient...


My pool look like this:

Pool {
  Name = i2tic
  Catalog = i2tic
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 15 days
  Job Retention = 15 days
  Volume Use Duration = 1 day
  Maximum Volume Jobs = 1
  Purge Oldest Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volumes = 100
  Label Format = "i2tic-$Client-$Level-$NumVols"
}

Pool {
  Name = i2tic-Full
  Catalog = i2tic
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 15 days
  Job Retention = 15 days
  Volume Use Duration = 1 day
  Maximum Volume Jobs = 1
  Purge Oldest Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volumes = 100
  Label Format = "i2tic-$Client-Full-$NumVols"
}

Pool {
  Name = i2tic-Differential
  Catalog = i2tic
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 15 days
  Job Retention = 15 days
  Volume Use Duration = 1 day
  Maximum Volume Jobs = 1
  Purge Oldest Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volumes = 100
  Label Format = "i2tic-$Client-Differential-$NumVols"
}


Pool {
  Name = i2tic-Incremental
  Catalog = i2tic
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 15 days
  Job Retention = 15 days
  Volume Use Duration = 1 day
  Maximum Volume Jobs = 1
  Purge Oldest Volume = yes
  Recycle Oldest Volume = yes
  Maximum Volumes = 100
  Label Format = "i2tic-$Client-Incremental-$NumVols"
}


This catalog was cleared, so the volumes are new.
*list volume
+---------+-------------------------------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
| mediaid | volumename                          | volstatus | enabled |
volbytes       | volfiles | volretention | recycle | slot | inchanger |
mediatype | lastwritten         | storage |
+---------+-------------------------------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
|       1 | i2tic-i2tic.server.webServ-Full-0   | Used      |       1 |
 3,138,334,993 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-22 02:26:34 |         |
|       2 | i2tic-i2tic.server.vpnServ-Full-1   | Used      |       1 |
 1,691,046,298 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-22 02:42:55 |         |
|       3 | i2tic-i2tic.server.vpnServ-Full-2   | Used      |       1 |
 8,608,701,407 |        2 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-22 03:44:50 |         |
|       4 | i2tic-i2tic.server.vpnServ-Full-3   | Used      |       1 |
 1,227,865,648 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-22 03:52:11 |         |
|       5 | i2tic-i2tic.server.vpnServ-Full-4   | Used      |       1 |
26,466,592,845 |        6 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-22 06:09:23 |         |
|       6 | i2tic-i2tic.server.vpnServ-Full-5   | Used      |       1 |
 3,912,139,751 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-22 06:34:47 |         |
|       7 | i2tic-i2tic.server.vpnServ-Full-6   | Used      |       1 |
12,585,820,483 |        2 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-22 07:53:11 |         |
|       8 | i2tic-i2tic.server.vpnServ-Full-7   | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|       9 | i2tic-i2tic.server.vpnServ-Full-8   | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      10 | i2tic-i2tic.server.vpnServ-Full-9   | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      11 | i2tic-i2tic.server.vpnServ-Full-10  | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      12 | i2tic-i2tic.server.vpnServ-Full-11  | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      13 | i2tic-i2tic.server.vpnServ-Full-12  | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      14 | i2tic-i2tic.server.vpnServ-Full-13  | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      15 | i2tic-i2tic.server.vpnServ-Full-14  | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      16 | i2tic-i2tic.server.vpnServ-Full-15  | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      17 | i2tic-i2tic.server.vpnServ-Full-16  | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      18 | i2tic-i2tic.server.vpnServ-Full-17  | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      19 | i2tic-i2tic.server.vpnServ-Full-18  | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      20 | i2tic-i2tic.server.vpnServ-Full-19  | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      21 | i2tic-i2tic.server.srv2-Full-20     | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      22 | i2tic-i2tic.server.proxyWeb-Full-21 | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      23 | i2tic-i2tic.server.nube-Full-22     | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      24 | i2tic-i2tic.server.monit-Full-23    | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
|      25 | i2tic-i2tic.server.dev-Full-24      | Append    |       1 |
         0 |        0 |    1,296,000 |       1 |    0 |         0 | File
   |                     |         |
+---------+-------------------------------------+-----------+---------+----------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
Pool: i2tic
No results to list.
Pool: i2tic-Differential
No results to list.
Pool: i2tic-Incremental
+---------+--------------------------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
| mediaid | volumename                                 | volstatus |
enabled | volbytes      | volfiles | volretention | recycle | slot |
inchanger | mediatype | lastwritten         | storage |
+---------+--------------------------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+
|      26 | i2tic-i2tic.server.webServ-Incremental-0   | Used      |
1 | 1,282,883,594 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-23 02:05:10 |         |
|      27 | i2tic-i2tic.server.vpnServ-Incremental-1   | Used      |
1 |   187,860,200 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-23 02:10:01 |         |
|      28 | i2tic-i2tic.server.vpnServ-Incremental-2   | Used      |
1 | 1,201,812,652 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-23 02:20:43 |         |
|      29 | i2tic-i2tic.server.vpnServ-Incremental-3   | Used      |
1 |   174,539,995 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-23 02:21:08 |         |
|      30 | i2tic-i2tic.server.vpnServ-Incremental-4   | Used      |
1 |   391,646,106 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-23 02:25:15 |         |
|      31 | i2tic-i2tic.server.vpnServ-Incremental-5   | Used      |
1 |   309,937,970 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-23 02:27:25 |         |
|      32 | i2tic-i2tic.server.vpnServ-Incremental-6   | Used      |
1 |   219,255,208 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-23 02:30:02 |         |
|      33 | i2tic-i2tic.server.vpnServ-Incremental-7   | Used      |
1 | 1,282,166,255 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-24 02:05:13 |         |
|      34 | i2tic-i2tic.server.vpnServ-Incremental-8   | Used      |
1 |   307,154,435 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-24 02:11:31 |         |
|      35 | i2tic-i2tic.server.vpnServ-Incremental-9   | Used      |
1 |   997,635,571 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-24 02:20:13 |         |
|      36 | i2tic-i2tic.server.vpnServ-Incremental-10  | Used      |
1 |   216,270,514 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-24 02:20:45 |         |
|      37 | i2tic-i2tic.server.vpnServ-Incremental-11  | Used      |
1 |   400,328,825 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-24 02:22:43 |         |
|      38 | i2tic-i2tic.server.vpnServ-Incremental-12  | Used      |
1 |   471,209,813 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-24 02:29:21 |         |
|      39 | i2tic-i2tic.server.vpnServ-Incremental-13  | Used      |
1 |   357,114,852 |        0 |    1,296,000 |       1 |    0 |         0 |
File      | 2017-07-24 02:31:47 |         |
|      40 | i2tic-i2tic.server.vpnServ-Incremental-14  | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      41 | i2tic-i2tic.server.vpnServ-Incremental-15  | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      42 | i2tic-i2tic.server.vpnServ-Incremental-16  | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      43 | i2tic-i2tic.server.vpnServ-Incremental-17  | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      44 | i2tic-i2tic.server.vpnServ-Incremental-18  | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      45 | i2tic-i2tic.server.vpnServ-Incremental-19  | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      46 | i2tic-i2tic.server.srv2-Incremental-20     | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      47 | i2tic-i2tic.server.proxyWeb-Incremental-21 | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      48 | i2tic-i2tic.server.monit-Incremental-22    | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      49 | i2tic-i2tic.server.monit-Incremental-23    | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      50 | i2tic-i2tic.server.dev-Incremental-24      | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      51 | i2tic-i2tic.server.vpnServ-Incremental-25  | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      52 | i2tic-i2tic.server.vpnServ-Incremental-26  | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      53 | i2tic-i2tic.server.srv2-Incremental-27     | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      54 | i2tic-i2tic.server.proxyWeb-Incremental-28 | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      55 | i2tic-i2tic.server.dev-Incremental-29      | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      56 | i2tic-i2tic.server.dev-Incremental-30      | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
|      57 | i2tic-i2tic.server.dev-Incremental-31      | Append    |
1 |             0 |        0 |    1,296,000 |       1 |    0 |         0 |
File      |                     |         |
+---------+--------------------------------------------+-----------+---------+---------------+----------+--------------+---------+------+-----------+-----------+---------------------+---------+

The volumes that are in Append doesn't exists on disk, but are being
created when bareos needs it, so I think that bareos pre-create that
volumes on catalog and then how already exists it don't use the client name.

My question is if maybe I need to create a pool for every client to allow
to separate the client volumes of that client.

Thanks!!

-- 
_________________________________________

      Daniel Carrasco Marín
      Ingeniería para la Innovación i2TIC, S.L.
      Tlf:  +34 911 12 32 84 Ext: 223
      www.i2tic.com
_________________________________________

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to