Good afternoon ! I don’t understand why files located in different folders should have different “Media Type”? This is somehow not logical... These are still the same files... I don't think it's that hard to make changes to your wonderful Bareos program. https://docs.bareos.org/bareos-22/DeveloperGuide/catalog.html In your "Media (Volume)" table you also have the fields "PoolId" and "StorageId" by which you can accurately determine which "Storage Device" you should contact for the next volume. Please correct me, I think it won't take much time. Thank you.
вторник, 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 [email protected] > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/c1f4a8da-2ec2-4415-8c29-abb1b9f44cfcn%40googlegroups.com.
