Hello,

First I must apologize if I'm asking a question that has already
answered. I have search the archives on sourceforge but I couldn't get the 
answer.

I'm using the default deb packages of bacula. The operating system is
debian sarge. (The file daemons are version 1.38.10)

The config:

I want to use two storage devices (two separate directories on the
same disk):
bacula-dir.conf:
Storage {
  Name = DesktopStorage
  Maximum Concurrent Jobs = 20
  Address = 10.10.234.82             # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "secure"
  Device = DesktopsFileStorage
  Media Type = DesktopsFile
}

Storage {
  Name = ServerStorage
  Maximum Concurrent Jobs = 20
  Address = 10.10.234.82             # N.B. Use a fully qualified name here
  SDPort = 9103
  Password = "secure"
  Device = ServersFileStorage
  Media Type = ServersFile
}
bacula-sd.conf:

Device {
  Name = DesktopsFileStorage
  Media Type = DesktopsFile
  Archive Device = /backup/desktops
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = yes;
}
Device {
  Name = ServersFileStorage
  Media Type = ServersFile
  Archive Device = /backup/servers
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = yes;
}

the problem:
I seems that the backup of the servers works fine. The file daemon can
connect to the storage daemon but when I want to backupa desktop
machine it doesn't work.
I created the volumes in the pools. When I issue list nextvol
command on console I got this:
Select Job resource (1-23): 14
The next Volume to be used by Job "client01-job" will be DesktopsDiff01

then I want to run the job manually I got this:

Running Jobs:
Backup Job client01-job.2006-10-02_15.00.11 waiting for Client connection.
Full Backup job horvai-job JobId=149 Volume="" device="/backup/desktops"
    Files=0 Bytes=0 Bytes/sec=0
    FDSocket closed

I got this message:

02-Oct 15:20 client01-fd: client01-job.2006-10-02_15.00.11 Warning:
c:\cygwin\home\kern\bacula\k\src\win32\lib\../../lib/bnet.c:853 Could
not connect to Storage daemon on 10.10.234.82:9103. ERR=No error
Retrying ...

I don't know why bacula doesn't use the prelabeled volumes. Because
the volume files are exists:

bacula:/backup/desktops# ls -la
-rw-r-----  1 bacula tape           221 Oct  2 11:40 DesktopsDiff01
-rw-r-----  1 bacula tape           221 Oct  2 11:40 DesktopsDiff02
-rw-r-----  1 bacula tape           221 Oct  2 10:59 DesktopsFull01
-rw-r-----  1 bacula tape           221 Oct  2 11:11 DesktopsFull02
-rw-r-----  1 bacula tape           221 Oct  2 11:17 DesktopsFull03
-rw-r-----  1 bacula tape           221 Oct  2 11:38 DesktopsFull04
-rw-r-----  1 bacula tape           221 Oct  2 11:39 DesktopsFull05

Thanks in advance,

Andras




mailto:[EMAIL PROTECTED]


-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to