* Arno Lehmann schrieb am 23.04.07 um 00:59 Uhr: > Hi, > > On 4/23/2007 12:06 AM, Marc Schiffbauer wrote: > > * Christopher Rasch-Olsen Raa schrieb am 22.04.07 um 23:25 Uhr: > >> On Sunday 22 April 2007 19:17:52 Marc Schiffbauer wrote: > >>> Hi all, > >>> > >>> one of my SD's stores backups to a disk. > >>> This "disk" is an FTP Storage mounted via fuse (curlftpfs). > >>> > >>> Making bacula mount the "disk" when opening the device works fine. > >>> (using Requires Mount / Mount Command) > >>> Doing backups and restores works fine too. > >>> > >>> But: Is there any way to make bacula unmount it again after > >>> finishing the backup? >
[...] > > >>> I thought "Unmount Command" would do the trick, but this seems to be > >>> a NOOP option because it is *never* used for disk backups AFAICT. > > Yes, as far as I know. > [...] > > Try to add 'echo "umount sd=..."|bconsole -c ...' to your script before > you execute the umount command. I did not try it so far, but my guess it that it will not work because if the job has finished I am able to unmount the disk manually. I think this is due to "AlwaysOpen = no" being set. > > By the way: I wouldn't call this a bad hack, but rather a valid and > reliable work-around for something not implemented in Bacula. OK, I will try it to be sure... > > Of course, having the unmount capability in the SD by using the umount > command when the device type is file and automaticmount is set would be > preferrable... Yes, and I have been a bit confused because I found that in the docs: http://www.bacula.org/dev-manual/Storage_Daemon_Configuratio.html "Unmount Command = name-string This directive specifies the command that must be executed to unmount devices such as DVDs and many USB devices. [...]" That 'many USB devices' made me think that this should work... Do you think this would be worth a bug report? -Marc -- +-O . . . o . . . O . . . o . . . O . . . ___ . . . O . . . o .-+ | Ein Service von Links2Linux.de: / o\ RPMs for SuSE | | --> PackMan! <-- naeheres unter | __| and others | | http://packman.links2linux.de/ . . . O \__\ . . . O . . . O . | ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users