I'm not being able to backup for a mounted usb external disk.

 

My jobs fail with this error:

 

21-Dec 19:29 Home-Server-sd JobId 21: Warning: label.c:351 Open device 
"usb-drive-1" (/mnt/usb1/backups) Volume "CatalogBackup-0001" failed: 
ERR=dev.c:490 Could not open: /mnt/usb1/backups/CatalogBackup-0001, 
ERR=Permission denied

 

/mnt/usb1/backups exists and owner is bacula:disk with mode 777.

CatalogBackup-0001 file doesn't exists, i can't figure out why can't bacula 
create it.

 

My device is defined like this

 

Device {
  Name = usb-drive-1
  Media Type = File
  Device Type = File
  Archive Device = /mnt/usb1/backups
  LabelMedia = yes;
  Random Access = Yes;
  AutomaticMount = yes;
  RemovableMedia = no;
  AlwaysOpen = yes;
}

 

And the device like this

 

 

Storage {
  Name = usb01
  Address = Home-Server
  SDPort = 9103
  Password = <IT'S OK, JUST REMOVED FOR SECURITY REASONS>

  Device = usb-drive-1
  Media Type = File
}
                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to