Hello, If I knew why you were asking, I might understand the problem better (your last sentence seems to go in that direction, but the double negative kept me from really understanding what you wanted to convey -- sorry).
Mainly, it is set when the catalog record for the Storage resource is created when the Director has first started. But it appears that under certain conditions it can get out of sync. I don't know what those conditions are. I suspect they may have something to do with adding Storage definitions or changing storage names. After doing so, I would recommend restarting the Director as a precaution. I am pretty sure that the StorageId is reset during an "update slots" bconsole command, but I haven't checked the code to verify. In any case, I also recommend that you always do an "update slots" on any storage you change. Best regards, Kern On 04/05/2013 10:50 AM, Bugbear wrote: > Hello, > > Can someone tell me, when Bacula is doing a BACKUP job(not a restore > one), where(or how) the StorageId value (which is added in Media table) > is taken from ? > > I've made some tests and it seems that bacula doesn't get the StorageId > from the catalogs on a Backup job (not a Restore job). > > Thanks, > Regards > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Bacula-devel mailing list > Bacula-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-devel > ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel