Re: [Bacula-users] Label command failed

2009-10-01 Thread Gregory
Gregory  :
 Someone he already encountered this problem ?
 Can you help me ?

 Many thanks :)

 Gregory

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   
I am wrong of backport (lenny instead of etch) it was still 1.38 that 
worked :(
I am going to punish me in hell... ;)

Grégory



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Label command failed

2009-09-30 Thread Grégory Tousseul
Someone he already encountered this problem ?
Can you help me ?

Many thanks :)

Gregory

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Label command failed

2009-09-28 Thread Gregory
Hi,

(I have already sent this message. Sorry if you already received)

I use bacula 2.4.4 in debian lenny and etch with FileStorages of 2 servers :
- localhost named bacula-srv (lenny)
- remote named bombarde (etch with backports)

The bacula-director is installed of bacula-srv.
The true server storage is bombarde and i use bacula-srv for storage
only for test.

I do a label command of FileStorage at bacula-srv :
Connecting to Storage daemon FileStorage at bacula-srv:9103 ...
Sending label command for Volume DD-SITE01-03 Slot 0 ...
3000 OK label. VolBytes=202 DVD=0 Volume=DD-SITE01-03
Device=FileStorage (/home/bacula)
Catalog record for Volume DD-SITE01-03, Slot 0  successfully created.
Requesting to mount FileStorage ...
3906 File device FileStorage (/home/bacula) is always mounted.

All is ok.

I do a label command of the FileStorageBombarde :
Connecting to Storage daemon FileStorageBombarde at bombarde:9103 ...
Sending label command for Volume DD-SITE01-04 Slot 0 ...
3000 OK label. Volume=DD-SITE01-04 Device=FileStorageBombarde
(/home/bacula)
Label command failed for Volume DD-SITE01-04.
Do not forget to mount the drive!!!

In finally, the filestorage exist in bombarde:/home/bacula and label is
ok but the FileStorage is not in the mysql database.

- Configuration of bombarde :
   * bacula-sd.conf
Storage { # definition of myself
  Name = bombarde-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run/bacula
  Maximum Concurrent Jobs = 20
  SDAddress = ip bombarde
}
Director {
  Name = bacula-dir
  Password = password
}
Device {
  Name = FileStorageBombarde
  Media Type = File
  Archive Device = /home/bacula
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

- Configuration of bacula-srv :
   * bacula-sd.conf
Storage { # definition of myself
  Name = bacula-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run/bacula
  Maximum Concurrent Jobs = 20
  SDAddress = 127.0.0.1
}
Director {
  Name = bacula-dir
  Password = password
}
Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /home/bacula
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

   * bacula-dir.conf
#--STORAGES
DEFINE---
# Definition of file storage device
Storage {
  Name = FileStorage
# Do not use localhost here
  Address = bacula# N.B. Use a fully qualified name here
  SDPort = 9103
  Password = password
  Device = FileStorage
  Media Type = File
}
# Definition of file storage device
Storage {
  Name = FileStorageBombarde
# Do not use localhost here
  Address = bombarde# N.B. Use a fully qualified name here
  SDPort = 9103
  Password = password
  Device = FileStorageBombarde
  Media Type = File
}

I search a solution since 2 days  :( 
Do you have an idea ?

Grégory


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Label command failed

2009-09-25 Thread Gregory
Hi,

I use bacula 2.4.4 in debian lenny and etch with FileStorages of 2 servers :
- localhost named bacula-srv (lenny)
- remote named bombarde (etch with backports)

The bacula-director is installed of bacula-srv.
The true server storage is bombarde and i use bacula-srv for storage 
only for test.

I do a label command of FileStorage at bacula-srv :
Connecting to Storage daemon FileStorage at bacula-srv:9103 ...
Sending label command for Volume DD-SITE01-03 Slot 0 ...
3000 OK label. VolBytes=202 DVD=0 Volume=DD-SITE01-03 
Device=FileStorage (/home/bacula)
Catalog record for Volume DD-SITE01-03, Slot 0  successfully created.
Requesting to mount FileStorage ...
3906 File device FileStorage (/home/bacula) is always mounted.

All is ok.

I do a label command of the FileStorageBombarde :
Connecting to Storage daemon FileStorageBombarde at bombarde:9103 ...
Sending label command for Volume DD-SITE01-04 Slot 0 ...
3000 OK label. Volume=DD-SITE01-04 Device=FileStorageBombarde 
(/home/bacula)
Label command failed for Volume DD-SITE01-04.
Do not forget to mount the drive!!!

In finally, the filestorage exist in bombarde:/home/bacula and label is 
ok but the FileStorage is not in the mysql database.

- Configuration in bombarde :
   * bacula-sd.conf
Storage { # definition of myself
  Name = bombarde-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run/bacula
  Maximum Concurrent Jobs = 20
  SDAddress = ip bombarde
}
Director {
  Name = bacula-dir
  Password = password
}
Device {
  Name = FileStorageBombarde
  Media Type = File
  Archive Device = /home/bacula
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

- Configuration in bacula-srv :
   * bacula-sd.conf
Storage { # definition of myself
  Name = bacula-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = /var/lib/bacula
  Pid Directory = /var/run/bacula
  Maximum Concurrent Jobs = 20
  SDAddress = 127.0.0.1
}
Director {
  Name = bacula-dir
  Password = password
}
Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /home/bacula
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

   * bacula-dir.conf
#--STORAGES 
DEFINE---
# Definition of file storage device
Storage {
  Name = FileStorage
# Do not use localhost here
  Address = bacula# N.B. Use a fully qualified name here
  SDPort = 9103
  Password = password
  Device = FileStorage
  Media Type = File
}
# Definition of file storage device
Storage {
  Name = FileStorageBombarde
# Do not use localhost here
  Address = bombarde# N.B. Use a fully qualified name here
  SDPort = 9103
  Password = password
  Device = FileStorageBombarde
  Media Type = File
}

I search a solution since 2 days :(
Do you have an idea ?

Grégory

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users