Good afternoon ! 
Thanks for your help, I made a different Media Type for each folder. 
Tell me how to change the Media Type for previously created volumes. 
I need to get them back to work. Thank you very much for your help.

Pool: Inc-32D-Pool
+---------+---------------------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-------------+---------------------+-------------------+
| mediaid | volumename                | volstatus | enabled | volbytes    | 
volfiles | volretention | recycle | slot | inchanger | mediatype   | 
lastwritten         | storage           |
+---------+---------------------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-------------+---------------------+-------------------+
|       5 | test-front1-Incremental-0 | Used      |       1 | 195,603,360 | 
       0 |    2,764,800 |       1 |    0 |         0 | File        | 
2024-03-26 19:02:51 | Local-Inc-Storage |
|       6 | test-front1-Incremental-1 | Used      |       1 | 191,850,710 | 
       0 |    2,764,800 |       1 |    0 |         0 | File        | 
2024-03-27 19:03:05 | Local-Inc-Storage |
|       7 | test-front1-Incremental-2 | Used      |       1 | 193,452,106 | 
       0 |    2,764,800 |       1 |    0 |         0 | File        | 
2024-03-28 19:02:50 | Local-Inc-Storage |
|       9 | test-front1-Incremental-3 | Used      |       1 | 192,004,056 | 
       0 |    2,764,800 |       1 |    0 |         0 | File        | 
2024-03-29 19:02:54 | Local-Inc-Storage |
|      10 | test-dmp-Incremental-4     | Used      |       1 | 173,813,007 
|        0 |    2,764,800 |       1 |    0 |         0 | File        | 
2024-03-30 19:02:03 | Local-Inc-Storage |
|      11 | test-front1-Incremental-5 | Used      |       1 |       1,583 | 
       0 |    2,764,800 |       1 |    0 |         0 | File        | 
2024-03-30 19:02:38 | Local-Inc-Storage |
|      12 | test-dmp-Incremental-6     | Used      |       1 | 173,931,275 
|        0 |    2,764,800 |       1 |    0 |         0 | File        | 
2024-03-31 19:02:03 | Local-Inc-Storage |
|      13 | test-front1-Incremental-7 | Used      |       1 | 191,838,574 | 
       0 |    2,764,800 |       1 |    0 |         0 | File        | 
2024-03-31 19:02:52 | Local-Inc-Storage |
|      14 | test-dmp-Incremental-8     | Used      |       1 | 174,214,813 
|        0 |    2,764,800 |       1 |    0 |         0 | File        | 
2024-04-01 19:02:05 | Local-Inc-Storage |
|      15 | test-dmp-Incremental-9     | Used      |       1 | 174,150,016 
|        0 |    2,764,800 |       1 |    0 |         0 |* Storage-Inc* | 
2024-04-02 12:01:54 | Local-Inc-Storage |
+---------+---------------------------+-----------+---------+-------------+----------+--------------+---------+------+-----------+-------------+---------------------+-------------------+
 


вторник, 2 апреля 2024 г. в 10:49:55 UTC+3, Andreas Rogge: 

> Hi,
> that behaviour is documented, but regularly overlooked.
> The last paragraph of the Media Type[1] parameter states the following:
>
> """In addition, if you are using disk storage, each Device resource will 
> generally have a different mount point or directory. In order for Bareos 
> to select the correct Device resource, each one must have a unique Media 
> Type."""
>
> While there probably is room for improvement (feel free to file a PR to 
> clarify the documentation), distinct storage locations (i.e. mount 
> points / directories) require distinct media types.
>
> Best Regards,
> Andreas
>
> [1] 
>
> https://docs.bareos.org/Configuration/StorageDaemon.html#config-Sd_Device_MediaType
>
> -- 
> Andreas Rogge andrea...@bareos.com
> Bareos GmbH & Co. KG Phone: +49 221-630693-86 <+49%20221%2063069386>
> http://www.bareos.com
>
> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
> Komplementär: Bareos Verwaltungs-GmbH
> Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz
>

-- 
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/37b96a74-5be8-46a5-991f-aee5f791ee6bn%40googlegroups.com.

Reply via email to