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.
>
> Also "AutomaticMount" seems to have no effect at all. Does anybody know
> what this option is good for? It appears in examples, but is
> otherwise not documented anywhere.
>
> I ran the SD with "-f -d300" and could not find the SD trying to use the
> unmount command, neither after backup nor with a manual "unmount"
> from within bconsole.
>
> Any hints someone?
>
> this is my SD's device resource:
>
> Device {
>   Name = FtpFileStorage
>   Device Type = File
>   Media Type = File
>   Requires Mount = Yes
>   Mount Point = /mnt/backup
>   Mount Command = "/usr/bin/curlftpfs <user>:<password>@<host> %m"
>   Unmount Command = "/usr/bin/fusermount -u %m"
>   Archive Device = /mnt/backup
>   LabelMedia = yes
>   Random Access = Yes
>   AutomaticMount = no   # I also tried "yes" here...
>   RemovableMedia = no   # I also tried "yes" here...
>   AlwaysOpen = no
> }

How about runAfter? Just have a script do it.

-- 
Christopher

-------------------------------------------------------------------------
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

Reply via email to