On Wednesday 25 November 2015 03.04:00 Deimos Deimos wrote: > среда, 25 ноября 2015 г., 15:54:29 UTC+5 пользователь [email protected] > написал: > > Zitat von Deimos Deimos <[email protected]>: > > > > > Hi all! > > > I have a problem with backup to network drive. Console returns me > > > error "Unable to stat device" when bareos-sd running as service, but > > > it works perfect when i run bareos-sd.exe manually(logged in as > > > Administrator and map network drive). In "Archive device" i write > > > "Z:\\test". I try to run .bat file with service, i try write network > > > path to "Archive device" as "\\\\server\\folder", but it doesn't work. > > > Also i try map drive on director use "ClientRunBeforeJob = > > > c:\mapdrive.bat" directive, but i think is not performed. > > > > > > How to write correctly "ClientRunBeforeJob", or how write "Archive > > > device" to make it work? > > > Thanks all! > > > > If you are on Windows the default user Bareos run as service is "local > > system" to my knowledge. This user does not have any access to network > > shares. You need to run Bareos service with a user account able to > > access the share like for example the local administrator account you > > used for testing. > > > > Regards > > > > Andreas > > Thanks for answer, Andreas, i forgot to write that the service has run on > administrator account now(with rights on network share), but it's dosen't > work. > > Stupid question if you want to user \\server\folder as storage place, why not installing bareos-sd on those server ?
Would avoid all those kind of strange stuff. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member & Board, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
