Hi,
I'm trying to set up bacula 2.0.2 to back up Windows XP (for testing,
later Win2k3 Server for production) to a NAS (supporting SMB) with no
success. The problem is to access the smb share with the storage daemon.
First I changed the account for the storage daemon / service to a local
user account (the account I'm logged in).
Then I tried this:
---- bacula-sd.conf ----
...
Device {
Name = FileStorage
Media Type = File
Archive Device = "\\\\pegasus\\backup"
LabelMedia = yes # lets Bacula label unlabeled media
Random Access = Yes
AutomaticMount = yes # when device opened, read it
RemovableMedia = no
AlwaysOpen = no
}
...
----
then this (share mounted manually):
---- bacula-sd.conf ----
...
Device {
Name = FileStorage
Media Type = File
Archive Device = "L:\\"
LabelMedia = yes # lets Bacula label unlabeled media
Random Access = Yes
AutomaticMount = yes # when device opened, read it
RemovableMedia = no
AlwaysOpen = no
}
...
----
and this:
---- bacula-sd.conf ----
...
Device {
Name = FileStorage
Media Type = File
Archive Device = "L:\\"
LabelMedia = yes # lets Bacula label unlabeled media
Random Access = Yes
AlwaysOpen = no
RequiresMount = yes
MountPoint = "L:\\"
MountCommand = "\"C:\\WINDOWS\\SYSTEM32\\NET USE L:
\\\\netdisk1\\backup /PERSISTENT:NO\""
UnmountCommand = "\"C:\\WINDOWS\\SYSTEM32\\NET USE L: /DELETE\""
}
...
----
I always get a error message like this:
----
27-Feb 13:58 hades-dir: Start Backup JobId 13, Job=Client1.2007-02-27_13.58.09
27-Feb 13:58 hades-sd: Client1.2007-02-27_13.58.09 Error:
../../stored/dev.c:126 Unable to stat device L:\: ERR=Das System kann den
angegebenen Pfad nicht finden.
27-Feb 13:58 hades-sd: Client1.2007-02-27_13.58.09 Warning:
Device "FileStorage" requested by DIR could not be opened or does not
exist.
27-Feb 13:58 hades-sd: Client1.2007-02-27_13.58.09 Error:
../../stored/dev.c:126 Unable to stat device L:\: ERR=Das System kann den
angegebenen Pfad nicht finden.
27-Feb 13:58 hades-sd: Client1.2007-02-27_13.58.09 Warning:
Device "FileStorage" requested by DIR could not be opened or does not
exist.
27-Feb 13:58 hades-sd: Client1.2007-02-27_13.58.09 Error:
../../stored/dev.c:126 Unable to stat device L:\: ERR=Das System kann den
angegebenen Pfad nicht finden.
27-Feb 13:58 hades-sd: Client1.2007-02-27_13.58.09 Warning:
Device "FileStorage" requested by DIR could not be opened or does not
exist.
27-Feb 13:58 hades-sd: Failed command: Jmsg Job=Client1.2007-02-27_13.58.09
type=5 level=1172581091 hades-sd: Client1.2007-02-27_13.58.09 Warning:
Device "FileStorage" requested by DIR could not be opened or does not
exist.
27-Feb 13:58 hades-sd: Client1.2007-02-27_13.58.09 Fatal error:
----
Has anybody got a similar setup working?
Best Regards,
Sascha
--
Sascha Knific K Systems & Design
Tel. +49-8151-773260 Waxensteinstr. 32
Fax. +49-8151-773262 82319 Starnberg, Germany
[EMAIL PROTECTED] http://www.k-sysdes.net
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users