Hello.

    I have seen some questions/problems with automount on the list. I am also having an issue with it. Perhaps Im not understanding what it is intended to do. 

    Here is my situation. I have bacula running great. ( linux server , single dds-4 drive NO changer , sqlite ) It works. As far as I can tell its backing up the files and I was able to restore them in tests. The FULL backup is about 15 gig which I do weekly. incremental every night during the week. My plan was to be able to just switch tapes before the office closes on friday and let it use the new tape for the next week .. I have a pool set up 8 volumes or so. I have allow any volume set to YES.  Also automatic mount is set to YES 

    Here is my issue. if for some reason bacula needs a different volume. For whatever reason tape fills because they forgot to change it. whatever. once the tape is changed it does not automatically mount and run the job. I have to use bconsole to mount the volume. after that all runs fine. 

    Am I misunderstanding the automount directive ? 

he is a snpiit from the users manual on the directive ( this is from the SD config section ) 

Automatic mount = Yes|No
If Yes (the default), permits the daemon to examine the device to determine if it contains a Bacula labeled volume. This is done initially when the daemon is started, and then at the beginning of each job.

    

    perhaps I am just not understanding when the poll is done or the process of how the job is run. I would have thought that this poll of the drive would be done every once in a while while bacula is in a "wait for tape" state. or if it does only do this when a job is created. Perhaps a change can be made to poll the drive every X number minutes while in a wait for tape state. Perhaps right before it sends an error requesting a tape change ? 


Please if I am totally wrong on this or if there is another way to do what I need it to do , let me know. My desire is to be able to just let bacula run and detect the weekly tape changes without me having to manually log in and mount the tape. 


Thanks for your time in this matter 


-Chris 


Reply via email to