On Wed, Nov 4, 2009 at 9:45 AM, Martin Simmons <mar...@lispworks.com> wrote: >>>>>> On Fri, 30 Oct 2009 16:13:58 -0300, Victor Hugo dos Santos said: >> ... >> >> If I select yes... bacula show this message: >> >> ========================== >> 30-Oct 15:13 bacula-sd JobId 16787: Please mount Volume >> "oracle-completo-0901" for: >> Job: Restaurar.2009-10-30_15.13.09 >> Storage: "FileStorage" (/var/bacula) >> Pool: Default >> Media type: File >> ========================== >> >> because the volumen isn't on storage0, but yes on storage1. >> >> well.. IMHO, the problem is in this line: >> ---------------------------------- >> Storage "" not found, using Storage "Storage0" from MediaType "File". >> Bootstrap records written to /var/lib/bacula/bacula-dir.restore.2.bsr >> ---------------------------------- >> >> why bacula, don't know in which local/storage it saved the volume and >> try to use the "storage0" for default ?? > > Bacula uses the media type to choose the storage. You need to configure > different media types for each storage and then update the existing volumes to > match.
Hello Martin... OK.. I read the documentation and Basica Volume Management (http://www.bacula.org/en/rel-manual/Basic_Volume_Management.html) and for me is clear how work (or as should work) bacula with multiples storages... now.. I changed my configuration to: ======== director ======== Storage { Name = Storage0 Address = bacula.mydomain.com SDPort = 9103 Password = "XXXXXXXXXXXXXX" Device = FileStorage Media Type = File } Storage { Name = Storage1 Address = bacula-st1.mydomain.com SDPort = 9103 Password = "YYYYYYYYYYYYYY" Device = FileStorage1 Media Type = File1 } ======================== ======== storage0 ======== Device { Name = FileStorage Media Type = File Archive Device = /var/respaldo/bacula LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } ======================== ======== storage1 (there is the change) ======== Device { Name = FileStorage1 Media Type = File1 Archive Device = /var/respaldo/bacula LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } ======================== basically, I changed the parameter "Media Type" from "File" to "File1" on section "storage" in director's configuration file and "device" in storage's configuration file.. after this changes, I restarted the director and storage and on console I tried to update the volumes with "update" command, but don't worked... :-( In documentation of console (http://www.bacula.org/en/rel-manual/Bacula_Console.html#SECTION002150000000000000000), I don't see options for update the parameter "Media Type" of current volumes !!! When you wrote "then update the existing volumes to match." You wanted make reference to command update of console or other method ?? some documentation or help about this ?? very much thanks -- -- Victor Hugo dos Santos Linux Counter #224399 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users