[Bacula-users] Feature Sugestion...

2007-04-13 Thread Jaime Ventura
Whenever we want include some sort of description on a resurce, we can 
always write a comment on the txt config file. 
But now that an administration tools is being developed, it seens to me 
that all the resources(or at least most of them) should have a 
description value that could be showed on the interface.

Thanks,
   Jaime Ventura


-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature Sugestion...

2007-04-13 Thread Jaime Ventura
oops...my mistake.
I've missed that in Resource Directive Format section of the manual, 
and since there's no example on the default configuration file, I didn't 
thought that feature existed.
My apologies,
Jaime


Kern Sibbald wrote:
 On Friday 13 April 2007 13:44, Jaime Ventura wrote:
   
 Whenever we want include some sort of description on a resurce, we can 
 always write a comment on the txt config file. 
 But now that an administration tools is being developed, it seens to me 
 that all the resources(or at least most of them) should have a 
 description value that could be showed on the interface.
 

 All resources do have a Description directive.  For the moment, no software 
 displays it.

   
 Thanks,
Jaime Ventura


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 

   




-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] suggestion for the bacula.spec

2007-03-29 Thread Jaime Ventura
Hello,
In the rpm based upgrade, I got the following:
...
  Updating  : bacula-mysql # [1/4]
Hmm, doesn't look like you have an existing database.
Granting privileges for MySQL user bacula...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using 
password: NO)
Error creating privileges.
Creating MySQL bacula database...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using 
password: NO)
Creation of bacula database failed.
Creating bacula tables...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using 
password: NO)
.

Thats ok because my mysql server is password protected.
But since the message wasn't so accurate to the problem, i took a look 
at the spec file.
So Im sending you a suggestion.
As you can see it applies only on the mysql part of the script, because 
I don't have sqlite or posgres to test it.


So, instead of:
...
%if %{mysql}
# test for an existing database
# note: this ASSUMES no password has been set for bacula database
DB_VER=`mysql 2/dev/null bacula -e 'select * from Version;'|tail -n 1`

# grant privileges and create tables if they do not exist
if [ -z $DB_VER ]; then
echo Hmm, doesn't look like you have an existing database.
...


you could:
...
# test for an existing database
# note: this ASSUMES no password has been set for bacula database
DB_VER=`mysql 21 bacula -e 'select * from Version;'|tail -n 1`
if expr $DB_VER : '.*ERROR.*' /dev/null; then
echo Couldn't access your database server.($DB_VER)
echo If you are installing bacula for the first time you will 
need to run the bacula database creation scripts.
echo If you are upgrading you may need to run the bacula 
database updating scripts.
# grant privileges and create tables if they do not exist
elif [ -z $DB_VER ]; then
echo Hmm, doesn't look like you have an existing database.
...

As you can see, I sugest to redirect stderror to std output the command, 
and then search for the ERROR string to stat if there was an error.

Or you could ask for the database root password.
I didn't do any patch because the suggested code applies to mysql only 
(may be you could do it for the other databases:P )

Thanks,
Jaime
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Changing catalog name...

2007-03-27 Thread Jaime Ventura
Thanks Kern for your reply.
According to your instructions, seems like you are explaining how to 
change the database name, right?
Where I say to the catalog's name, Im referring to the catalog 
resource name and not the database name itself.

I mean, for example, change from:

Catalog {
  Name = MyCatalog
  dbname = bacula; user = bacula; password = X
}
to:
Catalog {
  Name = CatalogForSERVERS
  dbname = bacula; user = bacula; password = X
}

Thanks, once again,
   Jaime

Kern Sibbald wrote:
 On Monday 26 March 2007 20:49, Jaime Ventura wrote:
   
 Hello,
 Is there a safe way to change a catalog's name?
  Can I simply change it on the config files or its also mentioned on 
 the database itself?
 

 First backup the database before doing anything.

 I cannot reply for PostgreSQL, but for SQLite, you simply change the name of 
 the database file.  For MySQL, you change the name of the directory that 
 holds the database files, and you must also grant access to the users that 
 will access the new name.

 For both, you must also change the name in the bacula-dir.conf Catalog 
 resource entry.

 For PostgreSQL, you will need to find a PostgreSQL expert, or simply export 
 the database such as Bacula does when it backs it up, create a new one by 
 modifying the appropriate scripts and running them, then feeding the export 
 file back into PostgreSQL, and then making sure users have access rights to 
 the new name.  This would also work with MySQL and SQLite and is a more 
 conservative (but slower) way of doing the change.

   
 Thanks
 -- 



  


 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url: www.isep.ipp.pt http://www.isep.ipp.pt 

  




 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   


-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Changing catalog name...

2007-03-27 Thread Jaime Ventura
Sorry for my previous errorious explanation and thanks for you reply.

Kern Sibbald wrote:
 On Tuesday 27 March 2007 11:40, Jaime Ventura wrote:
   
 Thanks Kern for your reply.
 According to your instructions, seems like you are explaining how to 
 change the database name, right?
 

 Yes

   
 Where I say to the catalog's name, Im referring to the catalog 
 resource name and not the database name itself.
 

 OK, I speak of that as the name of the Catalog resource.

 You simply change the name everywhere it appears, then restart the Director, 
 or optionally use the reload command.



   
 I mean, for example, change from:

 Catalog {
   Name = MyCatalog
   dbname = bacula; user = bacula; password = X
 }
 to:
 Catalog {
   Name = CatalogForSERVERS
   dbname = bacula; user = bacula; password = X
 }

 Thanks, once again,
Jaime

 Kern Sibbald wrote:
 
 On Monday 26 March 2007 20:49, Jaime Ventura wrote:
   
   
 Hello,
 Is there a safe way to change a catalog's name?
  Can I simply change it on the config files or its also mentioned on 
 the database itself?
 
 
 First backup the database before doing anything.

 I cannot reply for PostgreSQL, but for SQLite, you simply change the name 
   
 of 
   
 the database file.  For MySQL, you change the name of the directory that 
 holds the database files, and you must also grant access to the users that 
 will access the new name.

 For both, you must also change the name in the bacula-dir.conf Catalog 
 resource entry.

 For PostgreSQL, you will need to find a PostgreSQL expert, or simply 
   
 export 
   
 the database such as Bacula does when it backs it up, create a new one by 
 modifying the appropriate scripts and running them, then feeding the 
   
 export 
   
 file back into PostgreSQL, and then making sure users have access rights 
   
 to 
   
 the new name.  This would also work with MySQL and SQLite and is a more 
 conservative (but slower) way of doing the change.

   
   
 Thanks
 -- 



  


 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:   www.isep.ipp.pt http://www.isep.ipp.pt 






 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   
   
 -- 



  


 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url: www.isep.ipp.pt http://www.isep.ipp.pt 

  



 

   


-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Strange ERROR on successful backup

2007-03-26 Thread Jaime Ventura
 2 secs
   Priority:   10
   FD Files Written:   20,621
   SD Files Written:   0
   FD Bytes Written:   9,756,487,879 (9.756 GB)
   SD Bytes Written:   0 (0 B)
   Rate:   4275.4 KB/s
   Software Compression:   None
   VSS:yes
   Encryption: no
   Volume name(s): 
   Volume Session Id:  2
   Volume Session Time:1174687096
   Last Volume Bytes:  64,512 (64.51 KB)
   Non-fatal FD errors:0
   SD Errors:  0
   FD termination status:  OK
   SD termination status:  Error
   Termination:*** Backup Error ***

 The error messages are not descriptive. At the top, the message just 
 says error. Then at the bottom it says SD termination status: Error. 
 I don't know what any of that means. What does this all mean? This 
 backup job uses spooling BTW.

 Jason

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 
 
   
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 
   

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   


-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Changing catalog name...

2007-03-26 Thread Jaime Ventura
Hello,
Is there a safe way to change a catalog's name?
 Can I simply change it on the config files or its also mentioned on 
the database itself?
Thanks
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Estimating full backup size...

2007-01-22 Thread Jaime Ventura
Hello,
Is there any to check to test a FileSet Resource?
When specifying several directories on a fileSet, I cant get to know 
if all the specified directories are accessible(exists) unless I do a 
full backup.
Is there any way to do it? estimate command doesnt complain about 
unaccessible(or non-existing) directories. :(
 
Thanks  
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Question about Migration Jobs

2007-01-16 Thread Jaime Ventura
Hello,
I would like to make backups to disk (for speed ) and to tapes too 
(for media safety).
So, will use a migration job for it.
On the configuration manual its said  the File catalog records 
associated with the first backup job are purged.
   Since «File catalog records associated with the first backup job are 
purged», I wont be able to restore using the Volume from the first job 
without rebuilding the «File catalog records», right?
   Is there any way to migrate without purge the file catalog records 
(making it a pure copy job)?
Thanks
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Enabling Client SSL connections

2007-01-12 Thread Jaime Ventura
Hello,
When TLS is enabled on the fd, does all the connections betwen  dir
and fd are secured or just the connections betwen sd and fd?
Thanks


-- 






Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Enabling Client SSL connections

2007-01-12 Thread Jaime Ventura
Thanks Dan, for your reply.

So, if I specify Require TLS = yes only on the fd conf, whenever I do 
a status client the connection should be secured (since the connection 
is established on the dir-fd direction), right?
Is there any way to see that the connection is 
secured(console,status,...), besides sniffing the traffic?

(I'm trying to configure secure connections between the win32 clients 
and the server.)

Thanks.


Dan Langille wrote:
 On 12 Jan 2007 at 18:46, Jaime Ventura wrote:

   
 Hello,
 When TLS is enabled on the fd, does all the connections betwen  dir
 and fd are secured or just the connections betwen sd and fd?
 

 The answer applies to any Bacula node.  If you specify Require TLS = 
 yes then that node will rufuse all non-TLS comms.

 In short, all comms with that FD will be via TLS.

   


-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] backing up outlook, outlookExpress or thunderbird

2007-01-10 Thread Jaime Ventura
Hello,
Does anyone have any experience backing up outlook, outlookExpress 
or thunderbird files with bacula VSS?
Does those applications support VSS?
Whenever o search for outlook vss only exchange related results 
are returned :(
Thanks,
 Jaime
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula 2.0 director and backward compatibility with file daemons

2007-01-09 Thread Jaime Ventura
Mikael Kermorgant wrote:
 Hello,

 I'd like to upgrade my installation of bacula but I have many clients.

 But is a 2.0 bacula director compatible with 1.38 file daemons ?

 Thanks in advance,

   
Mikael,
as you may read from  the 2.0 releaseNotes file:
- You *should* be able to use 1.38.x FDs with version 2.0.0 Director
  and SD providing you do not use any of the new features (runscript,  
  data encryption). It seems to work here, but we do not guarantee it.
- Your Director and SD must be simultaneously upgraded.
I've upgrade the dir and sd without problems

I've upgraded the dir and sd, and everything seems to be working.
I'm now upgrading the fd's now.
 

-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-2.0.0 rpm release

2007-01-09 Thread Jaime Ventura
It would be nice if the rpm upgraded all the databases.
I have 2 catalogs/databases and only one was automatically upgraded.


Alan Brown wrote:
 On Mon, 8 Jan 2007, Felix Schwarz wrote:

   
 Just a short note that my Fedora/CentOS RPMs are released, too. The 
 updatedb RPM is a noarch package (which is only not labeled as such due 
 to technical restrictions of rpm). You can use one of the updatedb 
 packages released by Scott.
 

 One of the other posters has commented on the updatedb problem if a mysql 
 root/bacula password is set.

 As locking down mysql access is essential for security, I think it would 
 be best if the script asked for login/pass before touching mysql

 Something for 2.0.1 ?



 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   


-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mount a resquested tape

2006-12-21 Thread Jaime Ventura
Hi Alan
Sorry about recalling this subject.
I believe that in if understand this correctly I might be able to 
help too other people.
You say, about the update slots command , «assuming the drive is 
empty AND there is nothing actively attempting to using the drive ».
The update slots command its not save because in order to bacula 
know which tape is in the slots, it needs to load all the tapes on the 
drive in order to read their labels, right?
If so, and saying that my tape loader can read barcodes and bacula 
is using them  to label the tapes, can i say that in this case its safe 
even though its not the recommended way to do it?

When you say «This behaviour is corrected in late 1.39 betas», you 
mean about the the mount issue?
 Thanks for your help.
I which you a merry Christmas.
 Jaime

Alan Brown wrote:
 On Mon, 11 Dec 2006, Jaime Ventura wrote:

   
   Thank you for your reply.
   Shouldn't the update slots do the same as the command you suggested?
 

 It will, assuming the drive is empty AND there is nothing actively 
 attempting to using the drive (That's not a safe bet if there are 
 lots of simultaneous backups happening.)

 This behaviour is corrected in late 1.39 betas..

 Don't forget the mount command to tell bacula the drive is usable again.

 AB


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   


-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] about the 1.40 version release

2006-12-13 Thread Jaime Ventura
Hello,
   I've read a few messages ago that the new stable version of 
bacula would be released 'till the end of 2006. Does this sting stand?
   On The Current State of Bacula -- 1.39.29 (01 December 2006) 
its says Configurable TLS (SSL) communications encryption 
http://www.bacula.org/dev-manual/Bacula_TLS_Communication.html#CommEncryption 
between each component
   Does the w32 client supports such feature or just the *nix?
   Thanks.

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] about the 1.40 version release

2006-12-13 Thread Jaime Ventura
Thank you, Robert, for you reply.
Those are very good news, since the current stable version didnt.

Robert Nelson wrote:
 Yes TLS communication is supported by the Windows version.  Openssl is
 installed as part of the Bacula installation.  Configuration is similar to
 the UNIX environment and requires some hand editing of the configuration
 files.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Jaime
 Ventura
 Sent: Wednesday, December 13, 2006 7:22 AM
 To: bacula-users@lists.sourceforge.net
 Subject: [Bacula-users] about the 1.40 version release

 Hello,
I've read a few messages ago that the new stable version of 
 bacula would be released 'till the end of 2006. Does this sting stand?
On The Current State of Bacula -- 1.39.29 (01 December 2006) 
 its says Configurable TLS (SSL) communications encryption 
 http://www.bacula.org/dev-manual/Bacula_TLS_Communication.html#CommEncrypti
 on 
 between each component
Does the w32 client supports such feature or just the *nix?
Thanks.

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




   


-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] mount a resquested tape

2006-12-11 Thread Jaime Ventura
  Im using a tape loader with 5 tapes(all labeled and inserted in 
one single pool). After a previous backup, I have removed the tape( in 
which that backup was saved, from the tape loader), in order to keep it 
on a vault outside the building. The other 4 tape were kept in the 
tapeloader.
For that I did:
1) on console, issued the umount command
2) removed the tape from the tape loader,
3)on console, issued the update slots command
 
Please correct me if i did anything wrong int order to remove the tape.
Today, a new backup job started, but the tape I've removed wasnt on 
the tape loader, so I got the following operator email message:

08-Dec 05:00 bserver-sd: Job dns1Backup.2006-12-08_05.00.00 waiting to reserve 
a device.


 Since I would expect that, I knew which tape i should I insert on the tape 
loader. 
But my first question is: How can bacula tell me which is the tape that he 
needs?


So, after inserting the tape back again on the tape loader, i issued the 
update slotscommand and I had to wait for bacula  retry the  backup 
and mount the tape.
That took a (long) while.(no other backup was running)
So, my second question is, is there any way to say to bacula that the 
tape is there and he may continue the backup?
Thanks
 


-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] new RPMs for 1.38.11

2006-12-11 Thread Jaime Ventura
Hi Felix,
I got a bit confused with your email.
Does this mean from now on you will release the rpm packages of bacula?
Thanks
Jaime,

Felix Schwarz wrote:
 Hi all,

 my build infrastructure is in place now, so I released new RPMs for FC5 
 (x86_64), FC6 
 (i386 and x86_64) and CentOS/RHEL 4.4 (x86_64). You can find them in the 
 package 
 rpms-contrib-fschwarz. All RPMs are signed by my new RPM signing key (ID: 
 0xFAF24CCA). The 
 rpmkey package contains a RPM which includes this key.

 [RPM release tag 4]
 Please note that bacula 1.38.11 did not compile on FC6 out of the box. I had 
 to backport 
 some changes from 1.39.22 (console.c, name clash tee with a library). This 
 problem does 
 not occur in earlier releases (FC4, EL4). The RPMs named bacula-1.38.11-4.* 
 use this 
 patch. In all other aspects they are identical to their bacula-1.38.11-3.* 
 counterparts. I 
 think the patch is correct, but no core developer reviewed it yet.

 [testing]
 The packages are mostly untested. They are working on my setups. Use at your 
 own risk etc.

 [old Fedora releases]
 I will continue building packages for old releases of Fedora as long Redhat 
 provides 
 official security fixes for these releases (no, I don't consider Fedora 
 Legacy as a source 
 for reliable updates).

 [RHEL releases]
 The el4 packages were built on CentOS. Hopefully, they can be used on RHEL, 
 too but no 
 guarantees... Additionally, please don't expect the RHEL packages to be 
 maintained as long 
 as the rest of RHEL (seven years). I will only rebuild the rpm source 
 packages released by 
 Scott. No efforts will be done to backport security fixes from newer Bacula 
 versions etc.
 wxConsole is not present in the RHEL packages as there are no wxGtk packages 
  2.4 and 
 Bacula needs 2.6.

 Have fun
 Felix


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   


-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mount a resquested tape

2006-12-11 Thread Jaime Ventura
Kern,
   Thanks for you reply.
   You're right, I didnt.
The thing is, i dont know how to do it.
Remember the thread [Bacula-users] Cant mount a tape after 
server reboot.?
Back then, When I typed the mount command, it did nothing.

I wrote «I think its logical why bacula doesnt load the tape: its because mount 
command is not associated to a pool(a job is!), so bacula doesnt know 
what tape to load.»

I didnt typed the mount command because i thought i would get the same 
behavior from bacula.
Would it be diferent since bacula was waiting for the tape?
Thanks,
Jaime

  
 Kern Sibbald wrote:
 On Monday 11 December 2006 15:06, Jaime Ventura wrote:
   
   Im using a tape loader with 5 tapes(all labeled and inserted in 
 one single pool). After a previous backup, I have removed the tape( in 
 which that backup was saved, from the tape loader), in order to keep it 
 on a vault outside the building. The other 4 tape were kept in the 
 tapeloader.
 For that I did:
 1) on console, issued the umount command
 2) removed the tape from the tape loader,
 3)on console, issued the update slots command
  
 Please correct me if i did anything wrong int order to remove the tape.
 Today, a new backup job started, but the tape I've removed wasnt on 
 the tape loader, so I got the following operator email message:

 08-Dec 05:00 bserver-sd: Job dns1Backup.2006-12-08_05.00.00 waiting to 
 
 reserve a device.
   
  Since I would expect that, I knew which tape i should I insert on the tape 
 
 loader. 
   
 But my first question is: How can bacula tell me which is the tape that he 
 
 needs?
   
 So, after inserting the tape back again on the tape loader, i issued the 
 update slotscommand and I had to wait for bacula  retry the  backup 
 and mount the tape.
 That took a (long) while.(no other backup was running)
 So, my second question is, is there any way to say to bacula that the 
 tape is there and he may continue the backup?
 

 You probably forgot to do a mount after the update slots (at least it 
 wasn't 
 in the steps you showed above).


   
 Thanks
  


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 

   


-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] mount a resquested tape

2006-12-11 Thread Jaime Ventura
Alan,
Thank you for your reply.
Shouldn't the update slots do the same as the command you suggested?
Thanks
   Jaime
Alan Brown wrote:
 On Mon, 11 Dec 2006, Jaime Ventura wrote:

 So, my second question is, is there any way to say to bacula that the
 tape is there and he may continue the backup?

 Update volume - set the slot and inchanger flags




-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cant mount a tape after server reboot.

2006-11-30 Thread Jaime Ventura
Thank you Josh, kern, for you replies.
Yes Im using 1.38.11, and the slot= does not seems to work(although 
bacula doesn't complaint about it)

I think its logical why bacula doesnt load the tape: its because mount 
command is not associated to a pool(a job is!), so bacula doesnt know 
what tape to load.
Am I right?

By the way, how can I track down why the tapeloader/bacula-sd take so 
much time to respond? Is it normal?. Seems to me that it is waiting for 
something and he gets timeout.
Im looking at the the debug info, and seems to me that bacula-sd is 
waiting for tapeloader to rewind the tape, but there is no tape on the 
drive.

Just one other question: what is the meaning of the device is BLOCKED? 
Is it blocked because the device is waiting/reserved for a job?

Once again, thanks you for your help





 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Josh Fisher wrote:
 Kern Sibbald wrote:
   
 On Thursday 30 November 2006 16:20, Josh Fisher wrote:
   
 
 I believe that is the expected behavior. The mount command mounts the 
 volume in a particular archive device. It does not perform a load and 
 mount  for autochangers. Notice that the mount command does not ask for 
 a slot number, thus could not possibly know what volume to load and mount.

 The short answer is to load a tape using mtx and then go into bconsole 
 and issue the mount.
 
   
 If I am not mistaken, you can also specify the Slot  (mount storage=xxx 
 slot=nnn) and in that case, Bacula will know what Slot to load into the 
 drive 
 and will proceed to do it.

   
 

 That is new in the 1.39 series, I think. Jaime is using 1.38.11.

   
 Jaime Ventura wrote:
 
   
 Hello,
 I had to reboot my bacula server(dir and sd) and now I cant  mount 
 the tape manually(via console)
 Please have a look on the following:

 [EMAIL PROTECTED] bacula]# ./bconsole
 Connecting to Director bserver:9101
 1000 OK: bserver-dir Version: 1.38.11 (28 June 2006)
 Enter a period to cancel a command.
 *
 *status dir
 Using default Catalog name=MyCatalog DB=bacula
 bserver-dir Version: 1.38.11 (28 June 2006) x86_64-redhat-linux-gnu redhat
 Daemon started 30-Nov-06 12:30, 0 Jobs run since started.

 Scheduled Jobs:
 Level  Type Pri  Scheduled  Name   Volume

   
 
 ===
  
   
 
 IncrementalBackup10  30-Nov-06 23:05Client1
 baculaFiles-vol0001
 Full   Backup11  30-Nov-06 23:10BackupCatalog  
 baculaFiles-vol0001
 Full   Backup10  01-Dec-06 05:00webserver02Backup  
 serversFiles-vol0012
 Full   Backup10  01-Dec-06 05:00qualidadeBackup
 serversFiles-vol0012
 

 Running Jobs:
 No Jobs running.
 

 Terminated Jobs:
 JobId  Level Files  Bytes Status   FinishedName
 
  1856  Incr  0  0 OK   29-Nov-06 23:05 Client1
  1857  Full  1 17,178,275 OK   29-Nov-06 23:10 
   
 
 BackupCatalog
   
 
  1864  Incr  0  0 OK   30-Nov-06 05:06 
 webserver02Backup
  1865  Incr 26  1,442,055 OK   30-Nov-06 05:07 
 qualidadeBackup

 
 *status sd
 The defined Storage resources are:
 1: File
 2: IBM-Ultrium-3
 3: TapeLoader124T
 4: FileSERVERS
 5: FileUSERS
 Select Storage resource (1-5): 3
 Connecting to Storage daemon TapeLoader124T at 193.136.60.17:9103

 bserver-sd Version: 1.38.11 (28 June 2006) x86_64-redhat-linux-gnu redhat
 Daemon started 30-Nov-06 12:30, 0 Jobs run since started.

 Running Jobs:
 No Jobs running.
 

 Jobs waiting to reserve a drive:
 

 Terminated Jobs:
 JobId  Level   Files  Bytes Status   FinishedName
 ==
  1856  Incr  0  0 OK   29-Nov-06 23:05 Client1
  1857  Full  1 17,178,382 OK   29-Nov-06 23:10 
 BackupCatalog
  1864  Incr  0  0 OK   30-Nov-06 05:06 
 webserver02Backup
 

 Device status:
 Autochanger TapeLoader124T with devices:
   IBM-Ultrium-3 (/dev/nst0)
 Device FileStorage (/backupspace/bacula/bacula) is not open or does 
 not exist.
 Device FileStorageSERVERS (/backupspaceSERVERS/bacula/servers) is not 
 open or does not exist.
 Device FileStorageUSERS (/backupspace/bacula/users) is not open or 
 does not exist.
 Device IBM-Ultrium-3 (/dev/nst0) open but no Bacula volume is mounted.
Drive 0 is not loaded.
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block

Re: [Bacula-users] Listing jobs and volumes...

2006-11-24 Thread Jaime Ventura
Thank you for your reply.
I knew about the list jobmedia command.
But I wanted  both results(job media and jobs) merged using just one 
command.
Once again, thanks.




 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Georg Altmann wrote:
 --On Donnerstag, 23. November 2006 17:36 + Jaime Ventura 
 [EMAIL PROTECTED] wrote:

   
 Hello,
 Is it possible to get a list jobs having also listed the volume(s)
 related to them?
 

 This is in the manual:
 http://www.bacula.org/rel-manual/Bacula_Console.html#SECTION000206000

 Use
 list jobmedia jobid=thejobid

 Regards,
 Georg


 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Creating filesets on-the-fly

2006-11-23 Thread Jaime Ventura
Hi,
you can change the configuration file and the issue the command 
reload on console.
Be careful,  if the configuration file has any mistake you may get 
the bacula-dir to terminate itself :(.




 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Ruben Lopez wrote:
 Hi,

 I'm new to bacula, and after reading the documentation I couldn't find a
 way of creating filesets from the consoles. It seems that the only way
 of creating them is by modifying the configuration file of the director,
 but this would involve restarting the bacula server to have the new
 fileset into account, right?

 Sometimes I need to schedule a backup of some new folder that wasn't
 backed up previously. Is there another way of doing this remotely from a
 console?

 Thanks in advance,

 Ruben



 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Listing jobs and volumes...

2006-11-23 Thread Jaime Ventura
Hello,
Is it possible to get a list jobs having also listed the volume(s)
related to them?
Thanks for your help
-- 






Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt







-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Preventing windows bacula-fd from accessing some files

2006-11-17 Thread Jaime Ventura
Hello.
   I need to backup some directories on windows client used by a 
user AA.
   The problem is that the user AA have some confidential files 
which cant be accessible by bacula.
   I thought I could create a user BB having permissions to access 
specific directories(the ones that should by backed up) and having 
bacula-fd running as  user BB. The problem with this solution is that 
bacula-fd runnig as BB cant  have access to user AA desktop, and so i 
cant get the icon on AA' systray.
How can I solve this?
   As far as i can see, there isn't a bacula monitor for Windows?
   Is there any client side ACL's.
   Thanks for you help
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Preventing windows bacula-fd from accessing some files

2006-11-17 Thread Jaime Ventura
Hi Bill,
thank you for your reply.
I know that if install the windows client using default options, it 
will run as a service using the system user.
Since bacula-fd is running using the system user, it will be able 
to access every file on the pc, rigth?
I need to limit the bacula-fd to access to just a few files ( the 
ones I need to backup). The thing is, the pc user (AAA in my previous 
email) have personal information on it and he doesn't want bacula to 
able to access it.
So I thought  of running bacula-fd as a BBB user having permissions 
to access only files I need to backup. That way, bacula-fd doesnt have 
access to all files on the system, but just the ones I need to backup.
This should work just fine.
But, having bacula-fd running as BBB user, it wont have permissions 
to put the icon tray on the AAA systemTray when he is logged in.
I could solve this problem if bacula had a bacula-monitor for 
windows, which  it does not.
So, i don't really know how to solve this :(
Once again, thanks



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Bill Moran wrote:
 In response to Jaime Ventura [EMAIL PROTECTED]:
   
 Hello.
I need to backup some directories on windows client used by a 
 user AA.
The problem is that the user AA have some confidential files 
 which cant be accessible by bacula.
I thought I could create a user BB having permissions to access 
 specific directories(the ones that should by backed up) and having 
 bacula-fd running as  user BB. The problem with this solution is that 
 bacula-fd runnig as BB cant  have access to user AA desktop, and so i 
 cant get the icon on AA' systray.
 How can I solve this?
As far as i can see, there isn't a bacula monitor for Windows?
Is there any client side ACL's.
Thanks for you help
 

 Are you sure?  Have you tried?

 When I installed Bacula on W$ machines, it runs as some meta-user that
 has read rights to the entire system.  Are you doing some sort of
 custom install?  Why not just use the meta-user built into Windows?

   

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Preventing windows bacula-fd from accessing some files

2006-11-17 Thread Jaime Ventura
Kern,
thank you very much for your reply.
I will look at it carefully,
Once again, thanks



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Kern Sibbald wrote:
 On Tuesday 14 November 2006 13:28, Jaime Ventura wrote:
   
 Hello.
I need to backup some directories on windows client used by a 
 user AA.
The problem is that the user AA have some confidential files 
 which cant be accessible by bacula.
I thought I could create a user BB having permissions to access 
 specific directories(the ones that should by backed up) and having 
 bacula-fd running as  user BB. The problem with this solution is that 
 bacula-fd runnig as BB cant  have access to user AA desktop, and so i 
 cant get the icon on AA' systray.
 How can I solve this?
As far as i can see, there isn't a bacula monitor for Windows?
Is there any client side ACL's.
Thanks for you help
 

 I recently added a section to the Win32 chapter of the online development 
 manual (1.39.28) that explain how to do this.  It takes the point of view 
 that there should be no completely confidential files, so if this is a 
 requirement, you should pay close attention to the suggested changes so that 
 they do not comprise any specific security you want.

   
 -- 



  


 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url: www.isep.ipp.pt http://www.isep.ipp.pt 

  




 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore bacula client backup to another system

2006-11-17 Thread Jaime Ventura
Hi.
You can change where you want to restore to( where option), the 
same way you change the  client  you want to restore to.
Jaime



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







George R.Kasica wrote:
 I sure this is a simple answer but I'm not sure how to do it correctly
 and as I need to get it correct the first time due to the length of
 time it will take to execute, I thought asking first is better than
 guessing...

 I've backed up a system here first-fd to tape and want to restore the
 files back to another system second-fd on a big empty drive so that
 the contents can be inspected, copied, etc.

 How do I go about this, when I start restore it wants to put it back
 on first-fd and switching the Client to second-fd seem to also change
 the drive its trying to restore from etc.

 Assistance greatly appreciated.

 Thanks,
 ===[George R. Kasica]===+1 262 677 0766
 President   +1 206 374 6482 FAX 
 Netwrx Consulting Inc.  Jackson, WI USA 
 http://www.netwrx1.com
 [EMAIL PROTECTED]
 ICQ #12862186

 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature (already coded) request..

2006-11-15 Thread Jaime Ventura

Item 1:   Bacula support for a MailOnSuccess feature.
 Origin: Jaime Ventura jaimeventura at ipp dot pt
 Date:   15 November 2006
 Status: for 1.38.11: coded(patch on attachment), compiled, tested
  for 1.39.28: coded(patch on attachment), complied, NOT tested


 What:  be able to send a email message for a specified email address if (and 
only if) a job finishes successfully.
	 Its similar to the MailOnError feature. 


 Why:The importance is about the same as MailOnError feature.
  Since its not possible to do it using bacula's message types(info, 
error,...)filter, this could be done using some kind of filter, right after the 
mail was sent.
  But since there is a MailOnError feature, why not have a 
MailOnSuccess feature?


Notes: 

	Why its not possible to do it using bacula's message types(info, error,...)? 


Imagine I want bacula to send ONLY successful job reports/messages to 
[EMAIL PROTECTED]
	When a job starts, bacula send the message : 10-Nov 17:37 bserver-dir: Start Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30   
   	Since this is a info message (msgtype = M_INFO) the bacula's messaging system put it on the job messages (jcr-jcr_msgs) to be sent 
	to all dest that have the info type enabled (including [EMAIL PROTECTED]).
   	But when/if the job fails, that message (10-Nov 17:37 bserver-dir: Start Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30) has already 
	been queued to be sent to [EMAIL PROTECTED], even though it refers to a unsuccessful backup.
   	So when its time to send all messages to emails, the bacula's messaging system send that message (10-Nov 17:37 bserver-dir: Start 
	Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30) to [EMAIL PROTECTED], but using the subject bacula ERROR, because the job terminated unsuccessful.
  
   	This problem could also happen if I wanted bacula to send emails regarding unsuccessful backups, if i didnt use the MailOnError feature. 
	This feature is implemented so that if messages that  where queued to be sent if the backup was unsuccessful, to be discarded if the backup is 
successful.




--






Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url: 	www.isep.ipp.pt http://www.isep.ipp.pt 	 






diff -ur bacula-1.38.11/src/lib/message.c bacula-1.38.11-MailOnSuccess/src/lib/message.c
--- bacula-1.38.11/src/lib/message.c	2005-12-16 16:39:02.0 +
+++ bacula-1.38.11-MailOnSuccess/src/lib/message.c	2006-11-15 12:19:49.0 +
@@ -418,12 +418,19 @@
 break;
  case MD_MAIL:
  case MD_MAIL_ON_ERROR:
-Dmsg0(850, Got MD_MAIL or MD_MAIL_ON_ERROR\n);
+ case MD_MAIL_ON_SUCCESS:
+Dmsg0(850, Got MD_MAIL, MD_MAIL_ON_ERROR or MD_MAIL_ON_SUCCESS\n);
 if (!d-fd) {
break;
 }
-if (d-dest_code == MD_MAIL_ON_ERROR  jcr 
-jcr-JobStatus == JS_Terminated) {
+if (
+(d-dest_code == MD_MAIL_ON_ERROR  jcr 
+jcr-JobStatus == JS_Terminated) 
+||
+(d-dest_code == MD_MAIL_ON_SUCCESS  jcr 
+jcr-JobStatus == JS_ErrorTerminated)
+){
+
goto rem_temp_file;
 }
 
@@ -656,6 +663,7 @@
 break;
  case MD_MAIL:
  case MD_MAIL_ON_ERROR:
+ case MD_MAIL_ON_SUCCESS:
 Dmsg1(850, MAIL for following msg: %s, msg);
 if (!d-fd) {
POOLMEM *name = get_pool_memory(PM_MESSAGE);
diff -ur bacula-1.38.11/src/lib/message.h bacula-1.38.11-MailOnSuccess/src/lib/message.h
--- bacula-1.38.11/src/lib/message.h	2005-12-10 13:18:05.0 +
+++ bacula-1.38.11-MailOnSuccess/src/lib/message.h	2006-11-15 12:18:55.0 +
@@ -115,6 +115,7 @@
 #define MD_OPERATOR  8/* email a single message to the operator */
 #define MD_CONSOLE   9/* send msg to UserAgent or console */
 #define MD_MAIL_ON_ERROR 10   /* email messages if job errors */
+#define MD_MAIL_ON_SUCCESS 11 /* email messages if job succeeds */
 
 /* Queued message item */
 struct MQUEUE_ITEM {
diff -ur bacula-1.38.11/src/lib/parse_conf.c bacula-1.38.11-MailOnSuccess/src/lib/parse_conf.c
--- bacula-1.38.11/src/lib/parse_conf.c	2006-06-04 13:24:40.0 +0100
+++ bacula-1.38.11-MailOnSuccess/src/lib/parse_conf.c	2006-11-15 12:18:55.0 +
@@ -91,6 +91,7 @@
{syslog,  store_msgs, ITEM(res_msgs), MD_SYSLOG,   0, 0},
{mail,store_msgs, ITEM(res_msgs), MD_MAIL, 0, 0},
{mailonerror, store_msgs, ITEM(res_msgs), MD_MAIL_ON_ERROR, 0, 0},
+   {mailonsuccess, store_msgs, ITEM(res_msgs), MD_MAIL_ON_SUCCESS, 0, 0},
{file

[Bacula-users] Preventing windows bacula-fd from accessing some files

2006-11-14 Thread Jaime Ventura











Hello.
   I need to backup some directories on windows client used by a
user AA.
   The problem is that the user AA have some confidential files
which cant be accessible by bacula.
   I thought I could create a user BB having permissions to access
specific directories(the ones that should by backed up) and having
bacula-fd running as  user BB. The problem with this solution is that
bacula-fd runnig as BB cant  have access to user AA desktop, and so i
cant get the icon on AA' systray.
How can I solve this?
   As far as i can see, there isn't a bacula monitor for Windows?
   Is there any client side ACL's.
   Thanks for you help


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-10 Thread Jaime Ventura
kern,
thanks for your reply.
I've commented the line  mail = [EMAIL PROTECTED] = all, !skipped so 
that there were only only one mail directive.
I still receive the error messages on [EMAIL PROTECTED] email 
account.(and also on [EMAIL PROTECTED] email account, but that's the expected 
behavior).
   
I don't have much time right now, but if you point me out where in 
the code is this implemented, I would like to take a look at it.
Thanks
  


 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Kern Sibbald wrote:
 On Wednesday 08 November 2006 12:55, Jaime Ventura wrote:
   
 Hello
  This is my second email concerning this subject.
  Since no one answer me, and I've tested all possible ways (i think) 
 should I consider this a bug?
  Thanks


 Message I sent before:

  I'm trying to set the messages resource so that messages about
 successful backups/restores are sent to one email address and the
 messages concerning error backups/restore to another.
  Here goes my resource:

 Messages {
Name = MessagesForUsers
mailcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\ -s
 \Bacula: %t %e of %c %l\ %r
operatorcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\
 -s \Bacula: Intervention needed for %j\ %r
mail = [EMAIL PROTECTED] = all, !skipped
operator = [EMAIL PROTECTED] = mount
mail = [EMAIL PROTECTED] = info, warning, saved, !error, !fatal
MailOnError = [EMAIL PROTECTED] = all, !skipped, !terminate

console = all, !skipped, !saved
 # WARNING! the following will create a file that you must cycle from
 #  time to time as it will grow indefinitely. However, it will
 #  also keep all your messages if they scroll off the console.
 #
append = /var/bacula/log = all, !skipped
 }



  The problem is that I get both ERROR and OK messages on the address
 where only OK messages should go ([EMAIL PROTECTED] in my case).
  Any ideas?
 

 You have two mail directives. Perhaps this is the problem.

   
 Thanks,

 -- 






 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url: www.isep.ipp.pt http://www.isep.ipp.pt

  




 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
 
 easier
   
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-10 Thread Jaime Ventura
Kern,
   I now understand whats happening and if I where more specific 
with the explanation maybe you would figure out what was happening to me.
   Here's what I wanted:
  If backup  succides, then a messages would be sent to 
[EMAIL PROTECTED]
  If not, then a message would be sent to [EMAIL PROTECTED]

   Messages concerning backups failures would correctly be followed 
by a message to [EMAIL PROTECTED]
   But  all messages (success ou failure) would go to [EMAIL PROTECTED]
   Actually their not.
   When a backup is successfull, to [EMAIL PROTECTED] goes the full 
report(starting job, ...bla,bla, report, OK), with a backup OK subject.
   When a backup is NOT successfull, to [EMAIL PROTECTED] goes just 
some messages(starting job, ...bla,bla), not the full report, with a 
backup ERROR subject, and thats why  I was saying that error messages 
would go to [EMAIL PROTECTED]
   Those messages(starting job, ...bla,bla) are sent just after 
the job starts and at that point bacula doesnt know if the backup has 
succided or not.
  
   Thats why (i think) you have created the MailOnError feature.
   And I would like to have something like that for  successfully 
terminated jobs.
   Is there any way to do it on configuration (besides coding a new 
feature)?
   Thanks.
  
  



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Kern Sibbald wrote:
 On Friday 10 November 2006 11:08, Jaime Ventura wrote:
   
 kern,
 thanks for your reply.
 I've commented the line  mail = [EMAIL PROTECTED] = all, !skipped so 
 that there were only only one mail directive.
 I still receive the error messages on [EMAIL PROTECTED] email 
 account.(and also on [EMAIL PROTECTED] email account, but that's the 
 expected 
 behavior).

 I don't have much time right now, but if you point me out where in 
 the code is this implemented, I would like to take a look at it.
 Thanks
   
 

 Take a look at the file:  bacula/src/lib/message.c for the implementation.

 The configuration code (reading conf files and creating the resource 
 structures) is probably in bacula/src/lib/parse-conf.c

   
  


 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url: www.isep.ipp.pt http://www.isep.ipp.pt 

  





 Kern Sibbald wrote:
 
 On Wednesday 08 November 2006 12:55, Jaime Ventura wrote:
   
   
 Hello
This is my second email concerning this subject.
Since no one answer me, and I've tested all possible ways (i think) 
 should I consider this a bug?
Thanks


 Message I sent before:

  I'm trying to set the messages resource so that messages about
 successful backups/restores are sent to one email address and the
 messages concerning error backups/restore to another.
  Here goes my resource:

 Messages {
Name = MessagesForUsers
mailcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\ -s
 \Bacula: %t %e of %c %l\ %r
operatorcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\
 -s \Bacula: Intervention needed for %j\ %r
mail = [EMAIL PROTECTED] = all, !skipped
operator = [EMAIL PROTECTED] = mount
mail = [EMAIL PROTECTED] = info, warning, saved, !error, !fatal
MailOnError = [EMAIL PROTECTED] = all, !skipped, !terminate

console = all, !skipped, !saved
 # WARNING! the following will create a file that you must cycle from
 #  time to time as it will grow indefinitely. However, it will
 #  also keep all your messages if they scroll off the console.
 #
append = /var/bacula/log = all, !skipped
 }



  The problem is that I get both ERROR and OK messages on the address
 where only OK messages should go ([EMAIL PROTECTED] in my case).
  Any ideas?
 
 
 You have two mail directives. Perhaps this is the problem.

   
   
 Thanks,

 -- 






 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:   www.isep.ipp.pt http://www.isep.ipp.pt






 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache 
 
 Geronimo
   
 http://sel.as-us.falkag.net/sel?cmd

Re: [Bacula-users] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-10 Thread Jaime Ventura
Kern,
This is not a bug i think. Bacula is not capable of doing what I 
want.
Making it simple
I want that ONLY messages regarding successful backups go to 
[EMAIL PROTECTED], right?
When a job starts, bacula send the message : 10-Nov 17:37 
bserver-dir: Start Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30   
Since this is a info message (msgtype = M_INFO) the bacula's 
messaging system put in on the job messages (jcr-jcr_msgs) to be sent 
to all dest that have the info type enabled (including [EMAIL PROTECTED]).
But when/if the job fails, that message (10-Nov 17:37 bserver-dir: 
Start Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30) has already 
been queued to be sent to [EMAIL PROTECTED], even though it refers to a 
unsuccessful backup.
So when its time to send all messages to emails, the bacula's 
messaging system send that message (10-Nov 17:37 bserver-dir: Start 
Backup JobId 1605, Job=Job.GSI04.2006-11-10_17.37.30) to 
[EMAIL PROTECTED], but using the subject bacula ERROR, because the job 
terminated unsuccessful.
   
This problem could also happen if I wanted bacula to send emails 
regarding unsuccessful backups, if i didnt use the MailOnError feature. 
This feature is implemented so that if messages that  where queued to be 
sent if the backup was insuccessful, to be discarded if the backup is 
successful.

So what Im asking you is if  i can  implement a MailOnSuccess 
feature to be used on the project.
Once again, thanks.
   



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Kern Sibbald wrote:
 On Friday 10 November 2006 19:04, Jaime Ventura wrote:
   
 Kern,
I now understand whats happening and if I where more specific 
 with the explanation maybe you would figure out what was happening to me.
Here's what I wanted:
   If backup  succides, then a messages would be sent to 
 [EMAIL PROTECTED]
   If not, then a message would be sent to [EMAIL PROTECTED]

Messages concerning backups failures would correctly be followed 
 by a message to [EMAIL PROTECTED]
But  all messages (success ou failure) would go to [EMAIL PROTECTED]
Actually their not.
When a backup is successfull, to [EMAIL PROTECTED] goes the full 
 report(starting job, ...bla,bla, report, OK), with a backup OK subject.
When a backup is NOT successfull, to [EMAIL PROTECTED] goes just 
 some messages(starting job, ...bla,bla), not the full report, with a 
 backup ERROR subject, and thats why  I was saying that error messages 
 would go to [EMAIL PROTECTED]
Those messages(starting job, ...bla,bla) are sent just after 
 the job starts and at that point bacula doesnt know if the backup has 
 succided or not.
   
Thats why (i think) you have created the MailOnError feature.
And I would like to have something like that for  successfully 
 terminated jobs.
Is there any way to do it on configuration (besides coding a new 
 feature)?
 

 I see what you are trying to do, and I don't see why it cannot be done.  
 However, it seems that something is going wrong, and I don't know what.  If 
 you are absolutely sure it is a bug, then you can file a bug report.  I'd 
 recommend that you include a conf file that explicitly reproduces the 
 problem. In any case, however, don't hold your breath as there are a number 
 of critical bugs to be worked on first ...


   
 Kern Sibbald wrote:
 
 On Friday 10 November 2006 11:08, Jaime Ventura wrote:
   
   
 kern,
 thanks for your reply.
 I've commented the line  mail = [EMAIL PROTECTED] = all, !skipped so 
 that there were only only one mail directive.
 I still receive the error messages on [EMAIL PROTECTED] email 
 account.(and also on [EMAIL PROTECTED] email account, but that's the 
 expected 
 behavior).

 I don't have much time right now, but if you point me out where in 
 the code is this implemented, I would like to take a look at it.
 Thanks
   
 
 
 Take a look at the file:  bacula/src/lib/message.c for the 
   
 implementation.
   
 The configuration code (reading conf files and creating the resource 
 structures) is probably in bacula/src/lib/parse-conf.c

   
   
  


 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:   www.isep.ipp.pt http://www.isep.ipp.pt 







 Kern Sibbald wrote:
 
 
 On Wednesday 08 November 2006 12:55, Jaime Ventura wrote:
   
   
   
 Hello
  This is my second email

Re: [Bacula-users] Problems with accentuation in windows

2006-11-09 Thread Jaime Ventura
Hello Diego.
This is a problem which had already been discussed.
 I had the same problem and as far as i understood the problem is 
that bacula handles UTF-8 only.
That will be fixed later on.
 If you change you bacula-dir.conf encoding to UTF-8 and rewrite all 
the accentuated character it will work.
If you need any  help you may contact me directly in Portuguese.
Jaime



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Diego Rozzini Pires wrote:
 Hi!!

 I start using Bacula a few days ago. I don't have any problem using 
 it and I'm really happy with it.

 But a few days I needed to add to include one folder to a FileSet 
 for one of my Windows Server. The name of the folder is: cotação. The 
 full is: e:/Util/cotação. But, when de job run, I got error:
 

 08-Nov 16:17 zen-srv7-fd:  Could not stat e:/Util/cotação: ERR=O sistema 
 não pode encontrar o arquivo especificado.

 (Trying to translate: The system couldn't find the file)

 But, that is the director and the full path.

 Other files and directories with accentuions that was inside other 
 folders, i don't have problems, that files are backuped and recovered 
 without any errors.

 I tought that was a problem with configuration in LANG in my system,  
 but making tests, i could create and read any file with accentuation. 
 I'm usind LANG=pt_BR.ISO8859-1, my kernel has built-in suport 
 iso-8859-1 and module support for nls_cp850 and i do a modprobe in it in 
 every boot.

 Bacula Version: 1.38.9
 O.S. Gentoo kernel 2.6.17

 (sorry for my poor english)

   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] should I consider this a bug?- How to send OK messages to one address and ERROR messages no another.

2006-11-08 Thread Jaime Ventura
Hello
This is my second email concerning this subject.
Since no one answer me, and I've tested all possible ways (i think) 
should I consider this a bug?
Thanks


Message I sent before:

 I'm trying to set the messages resource so that messages about
successful backups/restores are sent to one email address and the
messages concerning error backups/restore to another.
 Here goes my resource:

Messages {
   Name = MessagesForUsers
   mailcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\ -s
\Bacula: %t %e of %c %l\ %r
   operatorcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\
-s \Bacula: Intervention needed for %j\ %r
   mail = [EMAIL PROTECTED] = all, !skipped
   operator = [EMAIL PROTECTED] = mount
   mail = [EMAIL PROTECTED] = info, warning, saved, !error, !fatal
   MailOnError = [EMAIL PROTECTED] = all, !skipped, !terminate

   console = all, !skipped, !saved
# WARNING! the following will create a file that you must cycle from
#  time to time as it will grow indefinitely. However, it will
#  also keep all your messages if they scroll off the console.
#
   append = /var/bacula/log = all, !skipped
}



 The problem is that I get both ERROR and OK messages on the address
where only OK messages should go ([EMAIL PROTECTED] in my case).
 Any ideas?

Thanks,

-- 






Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Question about bacula console

2006-11-08 Thread Jaime Ventura
Hi, Tom
I'm not sure about all GUI consoles available  since I use only the 
CLI console, but you can do it.
On bacula's gnome-console, once you have you jobs defined, you may 
run them manually with the run command(or clicking on the run 
button). This command allows you to quickly change any of the job 
parameters if you want to and run it.

   
   


 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Tom Moyer wrote:
 I am thinking about setting up bacula to handle the backups for about 
 5 computers on a network, one of which will be a laptop.  I was 
 wondering how easy it is to initiate a manual backup from the console, 
 and is it possible to do so through the GUI consoles that are available?
 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to send OK messages to one address and ERROR messages no another.

2006-11-02 Thread Jaime Ventura
Hello
I'm trying to set the messages resource so that messages about 
successful backups/restores are sent to one email address and the 
messages concerning error backups/restore to another.
Here goes my resource:

Messages {
  Name = MessagesForUsers
  mailcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\ -s 
\Bacula: %t %e of %c %l\ %r
  operatorcommand = /usr/sbin/bsmtp -h 127.0.0.1 -f \\(Bacula\) %r\ 
-s \Bacula: Intervention needed for %j\ %r
  mail = [EMAIL PROTECTED] = all, !skipped
  operator = [EMAIL PROTECTED] = mount
  mail = [EMAIL PROTECTED] = info, warning, saved, !error, !fatal
  MailOnError = [EMAIL PROTECTED] = all, !skipped, !terminate
 
  console = all, !skipped, !saved
# WARNING! the following will create a file that you must cycle from
#  time to time as it will grow indefinitely. However, it will
#  also keep all your messages if they scroll off the console.
#
  append = /var/bacula/log = all, !skipped
}



The problem is that I get both ERROR and OK messages on the address 
where only OK messages should go ([EMAIL PROTECTED] in my case).
Any ideas?

Thanks,
   
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Special characters on Ms Windows filenames...

2006-10-27 Thread Jaime Ventura
Thank you Arno,
   I've changed the system's charset to UTF-8 and after converted 
the configuration file it works normally.
   Thank you, again, you have have been most helpfully.




 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Arno Lehmann wrote:
 Hi,

 On 10/26/2006 5:03 PM, Jaime Ventura wrote:
   
 Hello,
On languages such as the Portuguese language there are special 
 characters with accute accent or circumflex accent, such as ÃÁÂ ç  
 (hope you see them correctly).
   When backing up windows files with filenames with characters such 
 as those, bacula (?) translate the to different characters. For instance:
On windows File System:
C:\Documents and Settings\Administrator\My 
 Documents\susana\backups\susana\serviço/susana\documentação\
Bacula(?) Translation:
 C:/Documents and Settings/Administrator/My 
 Documents/susana/backups/susana/serviço/susana/documentação/

   When I restore them, the filenames are correctly restored to their 
 original name. So that means that bacula seems to handle correctly those 
 characters.
My problem is that I'm trying to set one directory for backup(on 
 the file set) which have those kind of characters, but bacula (or the 
 system) cant get there

File option on file set:
File = C:/Documents and Settings/Susana Magalhães

What i get when trying to back it up:
  26-Oct 15:43 GSI01-fd:  Could not stat C:/Documents and 
 Settings/Susana Magalhães/: ERR=O sistema não conseguiu localizar o 
 ficheiro especificado.
Which means ERR=The system cannot find the path specified.
If I use  the translation bacula does, File option on file set 
 would be like this:
   File = C:/Documents and Settings/Susana Magalhães
And it works. So, whenever there's a folder with those special 
 characters, I need to do that translation

   
 Is there a easy way to overcome this situations?
 This seems to be a charset problem. But how can I solve it?
 Thanks
 

 It might help if you used the UTF-8 character set in the DIR configuration.
 I guess you've got it set to iso8859-something now.

 I'm never really sure how you do this, but I usually found that setting 
 LC_CTYPE=de_DE.UTF-8 in the shell gets me a utf-8 character set in 
 addition to telling programs I want german language.
 You have to set up your terminal to use or find the right character sets 
 and fonts, though. If your OS isn't prepared for utf-8 character sets 
 this might become difficult, I guess.

 Anyway, after you have your working environment set to utf-8 use your 
 favorite text editor to insert the right characters into the 
 configuration file. Start the editor from the shell where you set the 
 language environment.

 Arno

   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Special characters on Ms Windows filenames...

2006-10-26 Thread Jaime Ventura
Hello,
   On languages such as the Portuguese language there are special 
characters with accute accent or circumflex accent, such as ÃÁÂ ç  
(hope you see them correctly).
  When backing up windows files with filenames with characters such 
as those, bacula (?) translate the to different characters. For instance:
   On windows File System:
   C:\Documents and Settings\Administrator\My 
Documents\susana\backups\susana\serviço/susana\documentação\
   Bacula(?) Translation:
C:/Documents and Settings/Administrator/My 
Documents/susana/backups/susana/serviço/susana/documentação/

  When I restore them, the filenames are correctly restored to their 
original name. So that means that bacula seems to handle correctly those 
characters.
   My problem is that I'm trying to set one directory for backup(on 
the file set) which have those kind of characters, but bacula (or the 
system) cant get there

   File option on file set:
   File = C:/Documents and Settings/Susana Magalhães

   What i get when trying to back it up:
 26-Oct 15:43 GSI01-fd:  Could not stat C:/Documents and 
Settings/Susana Magalhães/: ERR=O sistema não conseguiu localizar o 
ficheiro especificado.
   Which means ERR=The system cannot find the path specified.
   If I use  the translation bacula does, File option on file set 
would be like this:
  File = C:/Documents and Settings/Susana Magalhães
   And it works. So, whenever there's a folder with those special 
characters, I need to do that translation

  
Is there a easy way to overcome this situations?
This seems to be a charset problem. But how can I solve it?
Thanks



-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] minor issue question on console interface

2006-10-13 Thread Jaime Ventura
Shame on me :$
Sorry.
Thank you all.


 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Arno Lehmann wrote:
 Hi,

 On 10/11/2006 1:15 PM, Jaime Ventura wrote:
   
 Hello,
 Is there any way to cancel a command on console, instead of CTRL+C 
 and run the console again?
 

 Yes.

   
 For instance, If i execute the run command, console will show me 
 the list of jobs so i can pick one. At that point, who can I get  back 
 to the  console prompt without actually choose one job.
 If theres no way, can I implement it(creating a cancel option) or 
 its better not to(since kern will(?) work soon on developing/improving 
 the console protocol)?
 Thanks
 

 No need to develop something new:
 .

 Or, in other words:
 Connecting to Director goblin:9101
 1000 OK: goblin-dir Version: 1.39.22 (08 Septermber 2006)
 Enter a period to cancel a command.


 Arno
   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] minor issue question on console interface

2006-10-11 Thread Jaime Ventura
Hello,
Is there any way to cancel a command on console, instead of CTRL+C 
and run the console again?
For instance, If i execute the run command, console will show me 
the list of jobs so i can pick one. At that point, who can I get  back 
to the  console prompt without actually choose one job.
If theres no way, can I implement it(creating a cancel option) or 
its better not to(since kern will(?) work soon on developing/improving 
the console protocol)?
Thanks
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula não restarta o Backup auto maticamente em caso de erro

2006-10-10 Thread Jaime Ventura
Danilo,
Vc deveria escrever em inglês aqui na lista, de modo que todos 
possam ajudar.
Quando vc diz «não adianta eu simplesmente colocar a fita correta», 
como vc faz para colocar a fita correcta?
Vc tem um autocharger?
   
Cumprimentos
Jaime Ventura






Danilo Pinheiro Rodrigues wrote:
 Senhores, configurei em uma mesma máquina o Director, o Client, a 
 Fita, o MySQL e o console.

 Ele funciona perfeitamente, ele utiliza uma politica de backup com 
 multiplas fitas o unico problema

 que eu tenho encontrado é que se eu esqueço uma Fita no Drive e o 
 Bacula tenta executar um backup

 que se utiliza de uma outra fita não adianta eu simplesmente 
 colocar a fita correta, eu sou obrigado

 a reiniciar o bacula e o MySQL, alguém poderia me informar se é 
 normal esse procedimento ou se há

 alguma configuração que eu poderia estar fazendo para evitar este 
 tipo de transtorno.

 Obrigado.

 -- 
 Danilo Pinheiro Rodrigues
 

 -
 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.phpp=sourceforgeCID=DEVDEV
 

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Job not found??

2006-09-29 Thread Jaime Ventura
Hello.
Last night , one of my backup jobs started, but for some reason a 
problem occour. Here is part of the status dir command:

Running Jobs:
 JobId Level   Name   Status
==
  1304 FullJob.SCD03.2006-09-28_23.05.09 is waiting for Client 
SCD03-fd to connect to Storage FileUSERS
  1305 FullJob.BIBLIOTECA01.2006-09-28_23.05.10 is waiting for its 
start time
  1315 FullJob.jtgv.gsi.2006-09-29_09.50.00 is waiting for its start 
time


Now when I try to cancel the job, i get a job not found:
 
*cancel
Select Job:
 1: JobId=1304 Job=Job.SCD03.2006-09-28_23.05.09
 2: JobId=1305 Job=Job.BIBLIOTECA01.2006-09-28_23.05.10
 3: JobId=1315 Job=Job.jtgv.gsi.2006-09-29_09.50.00
Choose Job to cancel (1-3): 1
2001 Job Job.SCD03.2006-09-28_23.05.09 marked to be canceled.
3904 Job Job.SCD03.2006-09-28_23.05.09 not found.

How do I kill it? It will probaby work in i restart bacula-dir, but then 
I would have to start the other jobs manually.
Thanks.

-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 




d

-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] quick question on spool and multiple jobs

2006-09-21 Thread Jaime Ventura
Hello.
   Is it possible/safe to allow more than one job at a time to the 
same pool using a large spool?
   Thanks
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autoloaders

2006-09-13 Thread Jaime Ventura
Did RHEL correctly detected you scsi board or did you changed the 
/etc/modprobe.conf?
Which kernel version are you using?




 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Janco van der Merwe wrote:
 According to the Hardware browser the PV-124T is located on /dev/sg3 but 
 there is no sg3 under /dev..well there is no sg and when I try to 
 access /dev/sg3 it just says no such device any ideas?

 When I ls /proc/scsi I get the following:

 aic79xx/ device_info  scsi

 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708

 -Original Message-
 From: Jaime Ventura [mailto:[EMAIL PROTECTED] 
 Sent: 12 September, 2006 16:58
 To: Janco van der Merwe;Bacula Users
 Subject: Re: [Bacula-users] Autoloaders

 weird...:P
 do you have graphic interface?
 run the harware browser (hwbroswer on the command line)
 take a look on a screenshot I send as attachment.
 You should see you tape loader under the system devices. As you ca 
 seen in the picture mine is on /dev/sg5.
 If doesn't work or if you don't have access to the harware browser let 
 me see what you have on /proc/scsi (ls /proc/scsi )




  


 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:  www.isep.ipp.pt http://www.isep.ipp.pt 

   





 Janco van der Merwe wrote:
   
 When I run the script the following error occurs:

 /dev/sg*
 cannot open SCSI device '/dev/sg*' - No such file or directory
 --

 In the /proc/scsi/scsi :

 Host: scsi0 Channel: 00 Id: 08 Lun: 00
   Vendor: DP   Model: BACKPLANERev: 1.00
   Type:   EnclosureANSI SCSI revision: 05
 Host: scsi0 Channel: 02 Id: 00 Lun: 00
   Vendor: DELL Model: PERC 5/i Rev: 1.00
   Type:   Direct-AccessANSI SCSI revision: 05
 Host: scsi1 Channel: 00 Id: 05 Lun: 00
   Vendor: IBM  Model: ULTRIUM-TD3  Rev: 5BG2
   Type:   Sequential-AccessANSI SCSI revision: 03
 Host: scsi1 Channel: 00 Id: 05 Lun: 01
   Vendor: DELL Model: PV-124T  Rev: 0031
   Type:   Medium Changer   ANSI SCSI revision: 02

 The board is a Adaptec 39160

 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708

 -Original Message-
 From: Jaime Ventura [mailto:[EMAIL PROTECTED] 
 Sent: 12 September, 2006 15:26
 To: Janco van der Merwe;Bacula Users
 Subject: Re: [Bacula-users] Autoloaders

 First you need to be sure that you have the PV-124T correctly connected.
 I bought my PV-124T with a adaptec board scsi with it.
 First be sure that the board is recognized by linux.

 I didn't understand you message quite well. Does your cat 
 /proc/scsi/scsi is something like this?
 Attached devices:
 Host: scsi0 Channel: 00 Id: 06 Lun: 00
   Vendor: PE/PVModel: 1x2 SCSI BP  Rev: 1.0
   Type:   ProcessorANSI SCSI revision: 02
 Host: scsi0 Channel: 01 Id: 06 Lun: 00
   Vendor: PE/PVModel: 1x4 SCSI BP  Rev: 1.0
   Type:   ProcessorANSI SCSI revision: 02
 Host: scsi0 Channel: 02 Id: 00 Lun: 00
   Vendor: MegaRAID Model: LD 0 RAID1   69G Rev: 521S
   Type:   Direct-AccessANSI SCSI revision: 02
 Host: scsi0 Channel: 02 Id: 01 Lun: 00
   Vendor: MegaRAID Model: LD 1 RAID1  286G Rev: 521S
   Type:   Direct-AccessANSI SCSI revision: 02
 Host: scsi2 Channel: 00 Id: 15 Lun: 00
   Vendor: IBM  Model: ULTRIUM-TD3  Rev: 5BG2
   Type:   Sequential-AccessANSI SCSI revision: 03
 Host: scsi2 Channel: 00 Id: 15 Lun: 01
   Vendor: DELL Model: PV-124T  Rev: 0031
   Type:   Medium Changer   ANSI SCSI revision: 02


 Notice the 2 last scsi hosts.
 If you can get this, then your loader is correctly recognized. And If 
 so, you can run the code i sent you on my previous message, in a bash 
 console.

 If not, then  probably the tapeloader isn't  correctly recognized.
 What scsi board is your tapeloader connected to?

 Tell me what you got.





  


 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url: www.isep.ipp.pt http://www.isep.ipp.pt 

  





 Janco van der Merwe wrote:
   
 
 If I cat /proc/scsi/scsi the dell has an entry for the PV

Re: [Bacula-users] Autoloaders

2006-09-12 Thread Jaime Ventura
Hi, Janco
Try this:

#!/bin/sh
(for i in /dev/sg*; do 
   echo $i; 
   mtx -f $i inquiry 21;
   echo --;
done) \
| less

Assuming is connected correctly, this will give you which /dev/sg* is 
you loader in.
search in the results something like this:

/dev/sg5
Product Type: Medium Changer
Vendor ID: 'DELL '
Product ID: 'PV-124T '
Revision: '0031'
Attached Changer: No


Mine is on /dev/sg5, Yours may not.
If you get this, tell me. I can help you with the rest.

I have also a 124T on a rhel.

Jaime







Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt







Janco van der Merwe wrote:

 Hi,

 I’m going to ask a really dumb question now, so please bear with me. 
 We just bought a Dell Power Vault 124 with a LTO 3 now the problem is 
 that I don’t know what device the autoloader is specified in /dev.

 I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and 
 st0m. At least I know what the difference between nst0 and st0 is but 
 I don’t know which one of the rest is the autoloader ???

 The best thing is I just got to grips with Bacula and the AIT and now 
 I have to do everything over again but this time on RHEL 4 and the 
 Dell Autoloader, at least Bacula is easy but the hardware through a 
 curve ball.

 HELP???

 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708



 
 
 This communication and any attachments are confidential and intended 
 for the sole use of the
 intended recipient. Any form of copying or disclosure of this 
 communication to any third parties
 without permission is prohibited. The contents of this communication 
 and its attachments are
 not intended to be relied upon in law without subsequent written 
 confirmation. As such, Dunns
 Stores (Pty) Ltd accept no responsibility or liability (including 
 negligence) for the consequences
 of anyone acting, or not acting, on information contained therein.

 If you have received this communication in error please notify us 
 immediately and destroy or
 delete it.
  

 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autoloaders

2006-09-12 Thread Jaime Ventura
First you need to be sure that you have the PV-124T correctly connected.
I bought my PV-124T with a adaptec board scsi with it.
First be sure that the board is recognized by linux.

I didn't understand you message quite well. Does your cat 
/proc/scsi/scsi is something like this?
Attached devices:
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: PE/PVModel: 1x2 SCSI BP  Rev: 1.0
  Type:   ProcessorANSI SCSI revision: 02
Host: scsi0 Channel: 01 Id: 06 Lun: 00
  Vendor: PE/PVModel: 1x4 SCSI BP  Rev: 1.0
  Type:   ProcessorANSI SCSI revision: 02
Host: scsi0 Channel: 02 Id: 00 Lun: 00
  Vendor: MegaRAID Model: LD 0 RAID1   69G Rev: 521S
  Type:   Direct-AccessANSI SCSI revision: 02
Host: scsi0 Channel: 02 Id: 01 Lun: 00
  Vendor: MegaRAID Model: LD 1 RAID1  286G Rev: 521S
  Type:   Direct-AccessANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 15 Lun: 00
  Vendor: IBM  Model: ULTRIUM-TD3  Rev: 5BG2
  Type:   Sequential-AccessANSI SCSI revision: 03
Host: scsi2 Channel: 00 Id: 15 Lun: 01
  Vendor: DELL Model: PV-124T  Rev: 0031
  Type:   Medium Changer   ANSI SCSI revision: 02


Notice the 2 last scsi hosts.
If you can get this, then your loader is correctly recognized. And If 
so, you can run the code i sent you on my previous message, in a bash 
console.

If not, then  probably the tapeloader isn't  correctly recognized.
What scsi board is your tapeloader connected to?

Tell me what you got.





 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Janco van der Merwe wrote:
 If I cat /proc/scsi/scsi the dell has an entry for the PV-124T but there is 
 no /dev/sg*

 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708

 -Original Message-
 From: Jaime Ventura [mailto:[EMAIL PROTECTED] 
 Sent: 12 September, 2006 14:36
 To: Janco van der Merwe
 Cc: Bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Autoloaders

 Hi, Janco
 Try this:

 #!/bin/sh
 (for i in /dev/sg*; do 
echo $i; 
mtx -f $i inquiry 21;
echo --;
 done) \
 | less

 Assuming is connected correctly, this will give you which /dev/sg* is 
 you loader in.
 search in the results something like this:

 /dev/sg5
 Product Type: Medium Changer
 Vendor ID: 'DELL '
 Product ID: 'PV-124T '
 Revision: '0031'
 Attached Changer: No


 Mine is on /dev/sg5, Yours may not.
 If you get this, tell me. I can help you with the rest.

 I have also a 124T on a rhel.

 Jaime







 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail:   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url:  www.isep.ipp.pt http://www.isep.ipp.pt

   





 Janco van der Merwe wrote:
   
 Hi,

 I’m going to ask a really dumb question now, so please bear with me. 
 We just bought a Dell Power Vault 124 with a LTO 3 now the problem is 
 that I don’t know what device the autoloader is specified in /dev.

 I have a nst0, nst0a, nst0l, nst0m as well as st0, st0a, st0l and 
 st0m. At least I know what the difference between nst0 and st0 is but 
 I don’t know which one of the rest is the autoloader ???

 The best thing is I just got to grips with Bacula and the AIT and now 
 I have to do everything over again but this time on RHEL 4 and the 
 Dell Autoloader, at least Bacula is easy but the hardware through a 
 curve ball.

 HELP???

 Janco v.d Merwe
 Network Administrator
 Dunns Stores (PTY) Ltd
 Switchboard: 011 541 3000
 Direct: 011 541 3007
 Fax: 086 632 1708



 
 
 This communication and any attachments are confidential and intended 
 for the sole use of the
 intended recipient. Any form of copying or disclosure of this 
 communication to any third parties
 without permission is prohibited. The contents of this communication 
 and its attachments are
 not intended to be relied upon in law without subsequent written 
 confirmation. As such, Dunns
 Stores (Pty) Ltd accept no responsibility or liability (including 
 negligence) for the consequences
 of anyone acting, or not acting, on information contained therein.

 If you have received this communication in error please notify us 
 immediately and destroy or
 delete

[Bacula-users] Quick question about requested tape

2006-09-11 Thread Jaime Ventura
Hello.
When adding a new tape to the pool, bacula ask me in with slot the
new tape is.(I'm using an autocharger)
When launching a restore job, bacula asks me for a specific tape so
it can perform the restore.
My question is:
 do i need do insert the requested tape on the original
slot(specified when the tape was added to the pool),
 or can I insert the tape in any slot (bacula should search
for it)
 or insert it on the drive?
What then? Will issuing a mount command be sufficient for bacula
to continue the job?
Thanks

-- 






Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG?

2006-09-11 Thread Jaime Ventura
Thank you Alan.
I solved the problem in the very same day I requested help.
As I told on message with the subject Re: [Bacula-users] Automatic 
creation/labeling of volumes while backing up to disk. UPDATED...Is this 
a BUG? -PLEASE IGNORE, my mistake  , the problem was... me :P
I was looking at the wrong catalog and obviously, the volumes weren't 
on  the list volumes.
Once again thank you for your help.



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Alan Brown wrote:
 On Fri, 8 Sep 2006, Jaime Ventura wrote:

   
 Hello,
 Can anyone help me find the reason why bacula is asking me to create a
 new volume?

 08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. 
 Cannot find any appendable volumes.
 Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS


 I've read the documentation and basically I would need  2 things:
 LabelFormat on the pool definition and  LabelMedia = yes on storage
 definition (on sd).
 

 ...and some tapes which are ready to be recycled.

 Your pool is full and none of the tapes in it are fully expired.

 AB


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] getting a Unable to set file times on a recover job

2006-09-11 Thread Jaime Ventura
Hello.
I've backed up files on a FAT32 partition on a  dualboot machine 
using linux and its bacula client.
When restoring to Windows XP FAT32 partition, i get errors like the 
following on several directories (and directories only).
All  the files are recovered correctly, this error happens right 
after all the files on that directory are restored.
   
Is there any way I can debug this? Can I change the backup 
procedures so this doesn't happen?
   
 

11-Sep 13:43 jtgv.gsi-fd: RestoreFiles.2006-09-11_13.37.54 Error: 
c:\cygwin\home\kern\bacula\k\src\win32\findlib\../../findlib/attribs.c:377 
Unable to set file times d:/tmp/restore/arquivo/software/diskdirectorsuite9/: 
ERR=O acesso é negado.

 

ERR=O acesso é negado , means ERR=Access Denied 

Should these be considered warning instead if errors?

Thanks.

-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula Update from 1.38.x to 1.39.x

2006-09-09 Thread Jaime Ventura
Hello.
I will expand the use of bacula to a greater number of computers to backup.
Im using the 1.38.x version.
Should I  update now to 1.39.x?
What about backward compatibility?
- Clients (fd)
- Volumes
- Catalogs
- ...

If this is on documentation/bacula page, point me out where.
Thanks

-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Automatic creation/labeling of volumes while backing up to disk

2006-09-08 Thread Jaime Ventura
Hello,
Can anyone help me find the reason why bacula is asking me to create a 
new volume?

08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. Cannot 
find any appendable volumes.
Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS

 
I've read the documentation and basically I would need  2 things: 
LabelFormat on the pool definition and  LabelMedia = yes on storage 
definition (on sd).
Where is are the my definitions:
-bacula-dir.conf---
Pool {
 Name = DefaultPoolForUSERS
 Pool Type = Backup
 Recycle = yes   # Bacula can automatically recycle 
Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 365 days # one year
 Accept Any Volume = yes # write on any volume in the pool
 Maximum Volumes = 16
 Maximum Volume Bytes = 100  # 10 GBs
 LabelFormat = userFiles-vol
}
# * Definicao dos storages usados *
# Storage para os Utilizadores
Storage {
 Name = FileUSERS
 Address = bserver.isep.ipp.pt# N.B. Use a fully 
qualified name here
 SDPort = 9103
 Password = XXX
 Device = FileStorageUSERS
 Media Type = File
}


-bacula-sd.conf---

Device {
 Name = FileStorageUSERS
 Media Type = File
 Archive Device = /backupspace/bacula/users
 LabelMedia = yes;   # lets Bacula label unlabeled media
 Random Access = Yes;
 AutomaticMount = yes;   # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
}

I would really appreciate any help because this has already been working 
, but not any more
Thanks



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG?

2006-09-08 Thread Jaime Ventura
:Job.jtgv.gsi.2006-09-08_12.58.17
 Backup Level:   Full
 Client: jtgv.gsi-fd Windows XP,MVS,NT 5.1.2600
 FileSet:FileSetForjtgv 2006-05-05 14:35:07
 Pool:   DefaultPoolForUSERS
 Storage:FileUSERS
 Scheduled time: 08-Sep-2006 12:57:48
 Start time: 08-Sep-2006 12:58:22
 End time:   08-Sep-2006 12:58:37
 Elapsed time:   15 secs
 Priority:   10
 FD Files Written:   15
 SD Files Written:   15
 FD Bytes Written:   46,093,736 (46.09 MB)
 SD Bytes Written:   46,095,885 (46.09 MB)
 Rate:   3072.9 KB/s
 Software Compression:   None
 Volume name(s): userFiles-vol0017
 Volume Session Id:  3
 Volume Session Time:1157718788
 Last Volume Bytes:  46,131,378 (46.13 MB)
 Non-fatal FD errors:0
 SD Errors:  0
 FD termination status:  OK
 SD termination status:  OK
 Termination:Backup OK

08-Sep 12:58 bserver-dir: Begin pruning Jobs.
08-Sep 12:58 bserver-dir: No Jobs found to prune.
08-Sep 12:58 bserver-dir: Begin pruning Files.
08-Sep 12:58 bserver-dir: No Files found to prune.
08-Sep 12:58 bserver-dir: End auto prune.

*
*
*
*ç/list volumes
ç/list: is an illegal command.
*list volume
Pool: Default
+-+-+---+---+--+--+-+--+---+---+-+
| MediaId | VolumeName  | VolStatus | VolBytes  | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-+-+---+---+--+--+-+--+---+---+-+
|   2 | baculaFiles-vol0001 | Append| 2,438,223,330 |0 
|   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
23:05:04 |
+-+-+---+---+--+--+-+--+---+---+-+
Pool: DefaultPoolForSERVERS
+-+--+---+---+--+--+-+--+---+---+-+
| MediaId | VolumeName   | VolStatus | VolBytes  | VolFiles 
| VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-+--+---+---+--+--+-+--+---+---+-+
|   1 | serversFiles-vol0001 | Full  | 9,999,953,959 |2 
|   31,536,000 |   1 |0 | 0 | File  | 2006-05-31 
23:08:31 |
|   4 | serversFiles-vol0002 | Full  | 9,999,950,771 |2 
|   31,536,000 |   1 |0 | 0 | File  | 2006-07-08 
23:06:05 |
|   5 | serversFiles-vol0003 | Full  | 9,999,990,818 |2 
|   31,536,000 |   1 |0 | 0 | File  | 2006-09-03 
23:20:09 |
|   6 | serversFiles-vol0004 | Append| 2,308,730,846 |0 
|   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
23:10:43 |
+-+--+---+---+--+--+-+--+---+---+-+
Pool: DefaultPoolForUSERS
No results to list.
*

Any Ideias?
Thanks



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Jaime Ventura wrote:
 Hello,
 Can anyone help me find the reason why bacula is asking me to create a 
 new volume?

 08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. Cannot 
 find any appendable volumes.
 Please use the label  command to create a new Volume for:
 Storage:  FileStorageUSERS (/backupspace/bacula/users)
 Media type:   File
 Pool: DefaultPoolForUSERS

  
 I've read the documentation and basically I would need  2 things: 
 LabelFormat on the pool definition and  LabelMedia = yes on storage 
 definition (on sd).
 Where is are the my definitions:
 -bacula-dir.conf---
 Pool {
  Name = DefaultPoolForUSERS
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle 
 Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 365 days # one year
  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volumes = 16
  Maximum Volume Bytes = 100  # 10 GBs
  LabelFormat = userFiles-vol
 }
 # * Definicao dos storages usados *
 # Storage para os Utilizadores
 Storage {
  Name = FileUSERS
  Address = bserver.isep.ipp.pt# N.B. Use a fully 
 qualified name here
  SDPort = 9103
  Password = XXX

Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG? -----PLEASE IGNORE, my mistake

2006-09-08 Thread Jaime Ventura
My mistake.
I was looking at the wrong catalog and obviously, the volumes weren't on 
the list volumes.
Please ignore.
Sorry.



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Jaime Ventura wrote:
 Hello,
 Can anyone help me find the reason why bacula is asking me to create a 
 new volume?

 08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. 
 Cannot find any appendable volumes.
 Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS


 I've read the documentation and basically I would need  2 things: 
 LabelFormat on the pool definition and  LabelMedia = yes on storage 
 definition (on sd).
 Where is are the my definitions:
 -bacula-dir.conf---
 Pool {
 Name = DefaultPoolForUSERS
 Pool Type = Backup
 Recycle = yes   # Bacula can automatically recycle 
 Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 365 days # one year
 Accept Any Volume = yes # write on any volume in the pool
 Maximum Volumes = 16
 Maximum Volume Bytes = 100  # 10 GBs
 LabelFormat = userFiles-vol
 }
 # * Definicao dos storages usados *
 # Storage para os Utilizadores
 Storage {
 Name = FileUSERS
 Address = bserver.isep.ipp.pt# N.B. Use a fully 
 qualified name here
 SDPort = 9103
 Password = XXX
 Device = FileStorageUSERS
 Media Type = File
 }


 -bacula-sd.conf---

 Device {
 Name = FileStorageUSERS
 Media Type = File
 Archive Device = /backupspace/bacula/users
 LabelMedia = yes;   # lets Bacula label unlabeled media
 Random Access = Yes;
 AutomaticMount = yes;   # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
 }


 As you can see, there are no volumes for DefaultPoolForUSERS. Ive 
 deleted them with the delete command. After that Ive deletes the files 
 on disk as well.

 *list volume
 Pool: Default
 +-+-+---+---+--+--+-+--+---+---+-+
  

 | MediaId | VolumeName  | VolStatus | VolBytes  | VolFiles 
 | VolRetention | Recycle | Slot | InChanger | MediaType | 
 LastWritten |
 +-+-+---+---+--+--+-+--+---+---+-+
  

 |   2 | baculaFiles-vol0001 | Append| 2,438,223,330 |0 
 |   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
 23:05:04 |
 +-+-+---+---+--+--+-+--+---+---+-+
  

 Pool: DefaultPoolForSERVERS
 +-+--+---+---+--+--+-+--+---+---+-+
  

 | MediaId | VolumeName   | VolStatus | VolBytes  | 
 VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | 
 LastWritten |
 +-+--+---+---+--+--+-+--+---+---+-+
  

 |   1 | serversFiles-vol0001 | Full  | 9,999,953,959 |
 2 |   31,536,000 |   1 |0 | 0 | File  | 2006-05-31 
 23:08:31 |
 |   4 | serversFiles-vol0002 | Full  | 9,999,950,771 |
 2 |   31,536,000 |   1 |0 | 0 | File  | 2006-07-08 
 23:06:05 |
 |   5 | serversFiles-vol0003 | Full  | 9,999,990,818 |
 2 |   31,536,000 |   1 |0 | 0 | File  | 2006-09-03 
 23:20:09 |
 |   6 | serversFiles-vol0004 | Append| 2,308,730,846 |
 0 |   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
 23:10:43 |
 +-+--+---+---+--+--+-+--+---+---+-+
  

 Pool: DefaultPoolForUSERS
 No results to list.








 Then, just for curiosity, I've commented the line restricting the 
 number of volumes (Maximum Volumes = 16)
 When I ran a job, I got the following report. As you can see a new 
 volume was created. But the weirdest part is that the Catalog was not 
 updated:









 08-Sep 12:58 bserver-dir: Start Backup JobId 1141, 
 Job=Job.jtgv.gsi.2006-09-08_12.58.17
 08-Sep 12:58 bserver-sd: Volume userFiles-vol0017 previously 
 written, moving to end of data.
 08-Sep 12:58 jtgv.gsi-fd: Generate VSS snapshots. Driver=VSS WinXP, 
 Drive(s)=D
 08

Re: [Bacula-users] Bad response to Append Data command

2006-09-06 Thread Jaime Ventura
Thank you Alan and Arno, for your help.

Although I made a kernel update, i checked the the data cable. Is was 
slightly disconnected. Probably that was the problem.
Now those dmesg messages are gone.
Now I have a tape with volStatus =Error.
What now? What you recommend? delete the jobs associated with that tape 
and the volume?
By the way, I sent a message to the list about adding one single tape to 
the pool.
I would like to add one so I can replace the one with the error. How can 
I do it?
Ive search/read the documentation but I cat find the answer.
When I run the label barcodes, bacula only ask me if I want to label 
all of then (including the ones that are already labeled).
Once again, thanks



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Alan Brown wrote:
 On Tue, 5 Sep 2006, Arno Lehmann wrote:

   
 I get several messages like these on dmesg:
 (scsi2:A:15:0): data overrun detected in Data-in phase.  Tag == 0x3.
 (scsi2:A:15:0): Have seen Data Phase.  Length = 50.  NumSGs = 1.
 sg[0] - Addr 0x11c3b8000 : Length 50
   
 These are SCSI errors and it's unlikely that anything you do to / with
 Bacula can fix it.
 

 More specifically those are errors associated with cabling problems.

 Check cable lengths, that everything is plugged together properly and that 
 the terminators are OK/

 AB


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bad response to Append Data command

2006-09-05 Thread Jaime Ventura
Hello,
Im backing up data to tape using a tapeloader, and im experiencing 
the following problem:

05-Sep 09:38 isep-dir: Start Backup JobId 498, 
Job=jtgv-gsi.2006-09-05_09.38.17
05-Sep 09:38 localhost-sd: 3301 Issuing autochanger loaded drive 0 
command.
05-Sep 09:38 localhost-sd: 3302 Autochanger loaded drive 0, result: 
nothing loaded.
05-Sep 09:38 localhost-sd: 3304 Issuing autochanger load slot 1, drive 
0 command.
05-Sep 09:38 localhost-sd: jtgv-gsi.2006-09-05_09.38.17 Fatal error: 
3992 Bad autochanger load slot 1, drive 0: ERR=Child exited with code 1.
05-Sep 09:36 jtgv-fd: jtgv-gsi.2006-09-05_09.38.17 Fatal error: 
job.c:1617 Bad response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data


The list volumes say there is an appendable volume(01L3):

*list volumes
Pool: Default
+-++---+-+--+--+-+--+---+---+-+
 

| MediaId | VolumeName | VolStatus | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-++---+-+--+--+-+--+---+---+-+
 

|   8 | testeVol1  | Append| 171,591,154 |0 |   
31,536,000 |   1 |0 | 1 | File  | 2006-09-04 23:10:04 |
+-++---+-+--+--+-+--+---+---+-+
 

Pool: TapePoolForSERVERS
+-++---+-+--+--+-+--+---+---+-+
 

| MediaId | VolumeName | VolStatus | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-++---+-+--+--+-+--+---+---+-+
 

|  11 | 01L3   | Append|   7,651,509,655 |8 |   
31,536,000 |   1 |1 | 1 | Ultrium-3 | 2006-08-15 07:30:00 |
|  12 | 02L3   | Full  | 434,014,408,572 |  437 |   
31,536,000 |   1 |2 | 1 | Ultrium-3 | 2006-08-14 22:24:58 |
+-++---+-+--+--+-+--+---+---+-+
 

*


Is my data on the tape corrupted?
At this point I cant really tell if the last job that used that tape 
finished correctly.
How do I overcome the problem?
Thank you very much.

-- 



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bad response to Append Data command

2006-09-05 Thread Jaime Ventura
Arno Lehmann,
Thanks for you reply.
Im using RHEL 4 x86_64 with a dell powervault 124T.
Im using bacula for some time backing up to disk.
Now i bought a a dell powervault 124T so i can make backups to tape.
So, im newbe to tape issues.
Im on a test environment... making tests :P.

  When you say «Have you run btape on that device?», what is the purpose? test 
the tape? write a EOF?

  Cant get much info on status:


*mount
The defined Storage resources are:
1: File
2: IBM-Ultrium-3
3: TapeLoader124T
Select Storage resource (1-3): 3
3301 Issuing autochanger loaded drive 0 command.
3302 Autochanger loaded drive 0, result: nothing loaded.
3001 Mounted Volume: 01L3
3001 Device IBM-Ultrium-3 (/dev/nst0) is already mounted with Volume 
01L3
*
*status sd=TapeLoader124T
Connecting to Storage daemon TapeLoader124T at 10.0.23.17:9103

localhost-sd Version: 1.38.11 (28 June 2006) x86_64-redhat-linux-gnu 
redhat Enterprise release

Daemon started 28-Aug-06 14:48, 30 Jobs run since started.

Running Jobs:
No Jobs running.



Jobs waiting to reserve a drive:



Terminated Jobs:
JobId  Level   Files  Bytes Status   FinishedName
==
  498  Full  0  0 Error05-Sep-06 09:40 jtgv-gsi
  498  Full  0  0 Error05-Sep-06 09:43 jtgv-gsi
  498  Full  0  0 Error05-Sep-06 09:45 jtgv-gsi
  498  Full  0  0 Error05-Sep-06 09:48 jtgv-gsi
  498  Full  0  0 Error05-Sep-06 09:50 jtgv-gsi
  498  Full  0  0 Error05-Sep-06 09:52 jtgv-gsi
  498  Full  0  0 Error05-Sep-06 09:55 jtgv-gsi
  498  Full  0  0 Error05-Sep-06 09:57 jtgv-gsi
  498  Full  0  0 Error05-Sep-06 09:59 jtgv-gsi
  498  Full  0  0 Error05-Sep-06 10:02 jtgv-gsi



Device status:
Autochanger TapeLoader124T with devices:
  IBM-Ultrium-3 (/dev/nst0)
Device FileStorage (/backupspace/bacula) is not open or does not exist.
Device IBM-Ultrium-3 (/dev/nst0) is mounted with Volume=01L3 
Pool=TapePoolForSERVERS
   Drive 0 is not loaded.
   Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
   Positioned at File=0 Block=0

In Use Volume status:
01L3 on device IBM-Ultrium-3 (/dev/nst0)


How do I make that tape appendable again?

Again, thanks for you help




Arno Lehmann wrote:
 Hello,

 On 9/5/2006 10:44 AM, Jaime Ventura wrote:
   
 Hello,
 Im backing up data to tape using a tapeloader, and im experiencing 
 the following problem:

 05-Sep 09:38 isep-dir: Start Backup JobId 498, 
 Job=jtgv-gsi.2006-09-05_09.38.17
 05-Sep 09:38 localhost-sd: 3301 Issuing autochanger loaded drive 0 
 command.
 05-Sep 09:38 localhost-sd: 3302 Autochanger loaded drive 0, result: 
 nothing loaded.
 05-Sep 09:38 localhost-sd: 3304 Issuing autochanger load slot 1, drive 
 0 command.
 05-Sep 09:38 localhost-sd: jtgv-gsi.2006-09-05_09.38.17 Fatal error: 
 3992 Bad autochanger load slot 1, drive 0: ERR=Child exited with code 1.
 

 The changer script you use failed.

 Depending on the script you use and the kind of hardware you have, and 
 the OS you run, and lots of other things probably, you could fix that.

   
 05-Sep 09:36 jtgv-fd: jtgv-gsi.2006-09-05_09.38.17 Fatal error: 
 job.c:1617 Bad response to Append Data command. Wanted 3000 OK data
 , got 3903 Error append data


 The list volumes say there is an appendable volume(01L3):

 *list volumes
 Pool: Default
 +-++---+-+--+--+-+--+---+---+-+
  

 | MediaId | VolumeName | VolStatus | VolBytes| VolFiles | 
 VolRetention | Recycle | Slot | InChanger | MediaType | 
 LastWritten |
 +-++---+-+--+--+-+--+---+---+-+
  

 |   8 | testeVol1  | Append| 171,591,154 |0 |   
 31,536,000 |   1 |0 | 1 | File  | 2006-09-04 23:10:04 |
 +-++---+-+--+--+-+--+---+---+-+
  

 Pool: TapePoolForSERVERS
 +-++---+-+--+--+-+--+---+---+-+
  

 | MediaId | VolumeName | VolStatus | VolBytes| VolFiles | 
 VolRetention | Recycle | Slot | InChanger | MediaType | 
 LastWritten |
 +-++---+-+--+--+-+--+---+---+-+
  

 |  11 | 01L3   | Append|   7,651,509,655 |8 |   
 31,536,000 |   1 |1 | 1 | Ultrium-3 | 2006-08-15 07:30:00 |
 |  12 | 02L3

Re: [Bacula-users] Bad response to Append Data command

2006-09-05 Thread Jaime Ventura
Thanks for your reply.
I've already installer and heavily tested the tapeloader with bacula.
I've done lots of backups to tape. All worked ok.
Then I went on vacation, and when I came I was getting this error.
I cant figure out what happened.
Maybe the tape went on vacations too :P
  Jaime



Uwe Schuerkamp wrote:
 On Tue, Sep 05, 2006 at 10:54:43AM +0100, Jaime Ventura wrote:
   
 From: Jaime Ventura [EMAIL PROTECTED]
 To: Arno Lehmann [EMAIL PROTECTED]
 Cc: Bacula Users bacula-users@lists.sourceforge.net
 Date: Tue, 05 Sep 2006 10:54:43 +0100
 Subject: Re: [Bacula-users] Bad response to Append Data command

 Arno Lehmann,
 Thanks for you reply.
 Im using RHEL 4 x86_64 with a dell powervault 124T.
 Im using bacula for some time backing up to disk.
 Now i bought a a dell powervault 124T so i can make backups to tape.
 So, im newbe to tape issues.
 Im on a test environment... making tests :P.

   When you say «Have you run btape on that device?», what is the purpose? 
 test the tape? write a EOF?

   Cant get much info on status:


 *mount
 The defined Storage resources are:
 1: File
 2: IBM-Ultrium-3
 3: TapeLoader124T
 Select Storage resource (1-3): 3
 3301 Issuing autochanger loaded drive 0 command.
 3302 Autochanger loaded drive 0, result: nothing loaded.
 3001 Mounted Volume: 01L3
 3001 Device IBM-Ultrium-3 (/dev/nst0) is already mounted with Volume 
 01L3
 *
 *status sd=TapeLoader124T
 Connecting to Storage daemon TapeLoader124T at 10.0.23.17:9103

 localhost-sd Version: 1.38.11 (28 June 2006) x86_64-redhat-linux-gnu 
 redhat Enterprise release

 Daemon started 28-Aug-06 14:48, 30 Jobs run since started.

 Running Jobs:
 No Jobs running.
 


 Jobs waiting to reserve a drive:

 

 Terminated Jobs:
 JobId  Level   Files  Bytes Status   FinishedName
 ==
   498  Full  0  0 Error05-Sep-06 09:40 jtgv-gsi
   498  Full  0  0 Error05-Sep-06 09:43 jtgv-gsi
   498  Full  0  0 Error05-Sep-06 09:45 jtgv-gsi
   498  Full  0  0 Error05-Sep-06 09:48 jtgv-gsi
   498  Full  0  0 Error05-Sep-06 09:50 jtgv-gsi
   498  Full  0  0 Error05-Sep-06 09:52 jtgv-gsi
   498  Full  0  0 Error05-Sep-06 09:55 jtgv-gsi
   498  Full  0  0 Error05-Sep-06 09:57 jtgv-gsi
   498  Full  0  0 Error05-Sep-06 09:59 jtgv-gsi
   498  Full  0  0 Error05-Sep-06 10:02 jtgv-gsi
 


 Device status:
 Autochanger TapeLoader124T with devices:
   IBM-Ultrium-3 (/dev/nst0)
 Device FileStorage (/backupspace/bacula) is not open or does not exist.
 Device IBM-Ultrium-3 (/dev/nst0) is mounted with Volume=01L3 
 Pool=TapePoolForSERVERS
Drive 0 is not loaded.
Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
Positioned at File=0 Block=0
 
 In Use Volume status:
 01L3 on device IBM-Ultrium-3 (/dev/nst0)
 

 How do I make that tape appendable again?

 Again, thanks for you help

 

 Hi, 

 you need to run btape to ensure compatibility with your tape library /
 tape drive. First, you'll need to find out which scsi generic device
 represents your changer device (probably /dev/sg1, dependent on the
 scsi id you've configured for the changer). 

 Unless you tell Bacula where your tape changer is, it won't be able to
 load other tapes using mtx. 

 Here's an example from our setup: 

 Autochanger {
   Name = Overland
   Device = DLT8000
   Changer Command = /server/bacula/etc/mtx-changer %c %o %S %a %d
   Changer Device = /dev/changer
 }

 Where /dev/changer is a symlink to the generic scsi device: 

 /dev/changer - /dev/sg6

 and /proc/scsi/scsi has the following entry: 

 Host: scsi1 Channel: 00 Id: 05 Lun: 01
   Vendor: HP   Model: 1x8 autoloader   Rev: 1.46
   Type:   Medium Changer   ANSI SCSI revision: 03


 HTH, uwe 


   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bad response to Append Data command

2006-09-05 Thread Jaime Ventura
After rebooting the all system, the problem remains.

The result of mtx status is:
[EMAIL PROTECTED] bacula]# mtx -f /dev/sg5 status
 Storage Changer /dev/sg5:1 Drives, 8 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Unknown Storage Element Loaded):VolumeTag 
= 01L3
 Storage Element 1:Empty
 Storage Element 2:Full :VolumeTag=02L3
 Storage Element 3:Full :VolumeTag=03L3
 Storage Element 4:Empty
 Storage Element 5:Empty
 Storage Element 6:Empty
 Storage Element 7:Empty
 Storage Element 8:Empty

I get several messages like these on dmesg:
(scsi2:A:15:0): data overrun detected in Data-in phase.  Tag == 0x3.
(scsi2:A:15:0): Have seen Data Phase.  Length = 50.  NumSGs = 1.
sg[0] - Addr 0x11c3b8000 : Length 50

Meanwhile, I'll try to make the bacula use another tape. This way I can 
tel if the problem is related to the tape or the tapeloader/drive.
Thanks,



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Uwe Schuerkamp wrote:
 On Tue, Sep 05, 2006 at 12:59:57PM +0100, Jaime Ventura wrote:
   
 From: Jaime Ventura [EMAIL PROTECTED]
 To: Uwe Schuerkamp [EMAIL PROTECTED]
 Cc: Arno Lehmann [EMAIL PROTECTED],
  Bacula Users bacula-users@lists.sourceforge.net
 Date: Tue, 05 Sep 2006 12:59:57 +0100
 Subject: Re: [Bacula-users] Bad response to Append Data command

 Thanks for your reply.
I've already installer and heavily tested the tapeloader with bacula.
I've done lots of backups to tape. All worked ok.
Then I went on vacation, and when I came I was getting this error.
I cant figure out what happened.
Maybe the tape went on vacations too :P
  Jaime
 

 Hello Jaime, 

 to get the simple stuff out of the way first: have you tried
 restarting the bacula daemons? What's the output of 

 mtx status 

 and do you see any strange messages (scsi-errors and such) in the
 output of dmesg? 

 Cheers, uwe 


   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] newbie to tapes question

2006-09-05 Thread Jaime Ventura
Hello, This is a quick question about labeling new tapes

Im using RHEL 4 x86_64 with a dell powervault 124T.
Bacula is 1.38.11

I've already added (at the same time) 2 tapes to a pool (bacula read the 
barcodes and use it to label them):
This are the current volumes:

*list volumes
Using default Catalog name=MyCatalog DB=bacula
Pool: Default
+-++---+-+--+--+-+--+---+---+-+
 

| MediaId | VolumeName | VolStatus | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-++---+-+--+--+-+--+---+---+-+
 

|   8 | testeVol1  | Append| 171,591,154 |0 |   
31,536,000 |   1 |0 | 1 | File  | 2006-09-04 23:10:04 |
+-++---+-+--+--+-+--+---+---+-+
 

Pool: TapePoolForSERVERS
+-++---+-+--+--+-+--+---+---+-+
 

| MediaId | VolumeName | VolStatus | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-++---+-+--+--+-+--+---+---+-+
 

|  11 | 01L3   | Append|   7,651,509,655 |8 |   
31,536,000 |   1 |1 | 1 | Ultrium-3 | 2006-08-15 07:30:00 |
|  12 | 02L3   | Full  | 434,014,408,572 |  437 |   
31,536,000 |   1 |2 | 1 | Ultrium-3 | 2006-08-14 22:24:58 |
+-++---+-+--+--+-+--+---+---+-+
 

*


Now I want do add a new tape, but I down know exactly how to.
If I use the label barcodes , I get the following:

*label barcodes
Using default Catalog name=MyCatalog DB=bacula
The defined Storage resources are:
1: File
2: IBM-Ultrium-3
3: TapeLoader124T
Select Storage resource (1-3): 3
Connecting to Storage daemon TapeLoader124T at 10.0.23.17:9103 ...
3306 Issuing autochanger slots command.
Device TapeLoader124T has 8 slots.
Connecting to Storage daemon TapeLoader124T at 10.0.23.17:9103 ...
3301 Issuing autochanger loaded drive 0 command.
3302 Autochanger loaded drive 0, result: nothing loaded.
3306 Issuing autochanger list command.
The following Volumes will be labeled:
Slot  Volume
==
  1  01L3
  2  02L3
  3  03L3
Do you want to continue? (yes|no):

I just want to label and add to the pool the tape barcoded as 
03L3, not all of them
Does any one knows how to do it?

Thanks


-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] newbie to tapes question

2006-08-11 Thread Jaime Ventura
Here they are.

# Definition of file storage device
Storage {
 Name = IBM Ultrium 3
# Do not use localhost here
 Address = 10.13.23.17# N.B. Use a fully qualified name 
here
 SDPort = 9103
 Password = nTy3L4vcT+FonGqepWbqvLY6h4pmyDBnCvsu+qaaQ44s
 Device = IBM Ultrium 3
 Autochanger = yes
 Media Type = Ultrium 3
}

Pool {
 Name = TapePoolForSERVERS
 Pool Type = Backup
 Recycle = yes   # Bacula can automatically recycle 
Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 365 days # one year
 Accept Any Volume = yes # write on any volume in the pool
}



Job {
 Name = jtgv-gsi
 Client = jtgv-fd
 Type = Backup
 Pool = TapePoolForSERVERS
 Storage = IBM Ultrium 3
 Messages = Standard
 Fileset = FileSetForjtgv
 Write Bootstrap = /var/bacula/jtgv-gsi.bsr
 Reschedule On Error = yes
 Reschedule Interval = 2 minutes
 Reschedule Times = 10

}

I've made the changes you suggested. Since I'm testing backup to tape on 
a test environment (I was already doing backups to disk for a while),
I've canceled the job, deleted the volumes on bacula, initialized 
tapes(rewind, weof...) and now I'll do the same tests again: first 
without using a recycled tape, and then use a recycled one.

By the way, I've run a job without adding the volumes to the pool. So, 
job status is waiting for an appendable volume. I've added the tapes 
to the pool and I think bacula will wake up and search again for an 
appendable volume (and this time it will find one).
Is there any way to force the job to retry estead of wainting for it to 
wake up and retry itself ?
Once again, thank you for your help.





 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Alan Brown wrote:
 On Thu, 10 Aug 2006, Jaime Ventura wrote:

 Thank you for reply.
 Can you take a look on the sections you mentioned?
 My autocharger is a Dell PowerVault 124T with only one drive.
 I believe its correct.

 It looks mostly ok, but I would not use Whitespace in labels


 Thanks
 #
 Autochanger {
 Name = TapeLoader124T
 Device = IBM Ultrium 3

  Device = IBM-Ultrium-3

 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
 Changer Device = /dev/sg5
 }

 Device {
 Name = IBM Ultrium 3

 Name = IBM-Ultrium-3

 Drive Index = 0
 Media Type = Ultrium 3

 Media Type = Ultrium-3

 Archive Device = /dev/nst0
 AutomaticMount = yes;   # when device opened, read it
 AlwaysOpen = yes;
 RemovableMedia = yes;
 RandomAccess = no;

 LabelMedia = yes; # lets Bacula label unlabeled media
 Volume Poll Interval = 7200   # time between device rechecks

 Spool Directory = /var/bacula/spool/   # read spooling section
 Maximum Spool Size = 2000 # 200Gb  # of manual.
 Maximum Job Spool Size = 200 # 20Gb#


 AutoChanger = yes
 # Enable the Alert command only if you have the mtx package loaded
 Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
 }

 It looks mostly OK

 Because of the speed of LTO3 media, you should always use spooling for 
 everything - except possibly full backups - otherwise the tape spends 
 a lot of time shoe-shining

 What storage device are you calling in your -dir job{} entries?

 What are your bacula-dir storage{} entries?








 Jaime Ventura
 [Infra-estruturas e Comunicações]

 Rua Dr. António Bernardino de Almeida, 431
 4200 - 072 Porto
 Telef: +351 22 834 05 00 (04) - ext. 1641
 Fax: +351 22 832 11 59

 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 url: www.isep.ipp.pt http://www.isep.ipp.pt




 Alan Brown wrote:
 On Thu, 10 Aug 2006, Jaime Ventura wrote:

 *mount
 The defined Storage resources are:
1: File
2: IBM Ultrium 3

 Judging from this, you have malconfigured your autochanger resource.

 Please re-read the manual and ensure you have an autochanger section 
 AND
 a section for each tape drive in the autochanger.

 AB




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] newbie to tapes question

2006-08-10 Thread Jaime Ventura
Hi,
Im having the following problem.
Im tring to do a backup job (named jtgv-gsi) using 2 tapes labeled 
01L3 and 02L3(which are added in a pool named TapePoolForSERVERS).
When 01L3 go full, bacula asked me 02L3. I think it wasn't 
supposed to ask me for it since I'm using an auto charger and both tapes 
were in it.
As you can seen below, I do a mount and still bacula is asking me 
for it. Tape 01L3 is unloaded from the drive and 02L3 is loaded 
in to the drive.
Is it because 02L3 state is Recycle? Who can I force bacula to 
use it?
Thank you.



*
*status dir
isep-dir Version: 1.38.11 (28 June 2006) x86_64-redhat-linux-gnu redhat 
Enterprise release
Daemon started 09-Aug-06 17:17, 6 Jobs run since started.

Scheduled Jobs:
Level  Type Pri  Scheduled  Name   Volume
===
 

Full   Backup11  10-Aug-06 23:10BackupCatalog  
novoteste


Running Jobs:
JobId Level   Name   Status
==
  457 Fulljtgv-gsi.2006-08-10_10.11.48 is waiting for a mount request


Terminated Jobs:
JobId  Level Files  Bytes Status   FinishedName

  447  Incr  0  0 OK   07-Aug-06 23:05 Client1
  448  Full  1  1,751,631 OK   07-Aug-06 23:10 
BackupCatalog
  450  Full  0  0 Error09-Aug-06 00:05 
BackupCatalog
  449  Incr  0  0 Error09-Aug-06 05:23 Client1
  451  Full 11,123 88,265,557,275 OK   09-Aug-06 20:00 jtgv-gsi
  452  Incr  0  0 Cancel   09-Aug-06 20:00 jtgv-gsi
  453  Full 11,123 88,265,557,275 OK   09-Aug-06 22:18 jtgv-gsi
  454  Full 11,123 88,265,557,275 OK   10-Aug-06 00:35 jtgv-gsi
  455  Full 11,123 88,265,557,275 OK   10-Aug-06 02:53 jtgv-gsi
  456  Full  1  6,972,676 OK   10-Aug-06 02:53 
BackupCatalog


*mount
The defined Storage resources are:
1: File
2: IBM Ultrium 3
Select Storage resource (1-2): 2
3001 OK mount. Device=IBM Ultrium 3 (/dev/nst0)
*messages
10-Aug 13:15 localhost-sd: 3301 Issuing autochanger loaded drive 0 
command.
10-Aug 13:15 localhost-sd: 3302 Autochanger loaded drive 0, result is 
Slot 2.
10-Aug 13:15 localhost-sd: Please mount Volume 02L3 on Storage 
Device IBM Ultrium 3 (/dev/nst0) for Job jtgv-gsi.2006-08-10_10.11.48
*list volume
Pool: Default
+-++---+---+--+--+-+--+---+---+-+
 

| MediaId | VolumeName | VolStatus | VolBytes  | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-++---+---+--+--+-+--+---+---+-+
 

|   2 | novoteste  | Append| 1,452,894,204 |0 |   
31,536,000 |   1 |0 | 1 | File  | 2006-08-10 02:53:05 |
+-++---+---+--+--+-+--+---+---+-+
 

Pool: TapePoolForSERVERS
+-++---+-+--+--+-+--+---+---+-+
 

| MediaId | VolumeName | VolStatus | VolBytes| VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-++---+-+--+--+-+--+---+---+-+
 

|   6 | 02L3   | Recycle   |   1 |0 |   
31,536,000 |   1 |2 | 1 | Ultrium 3 | -00-00 00:00:00 |
|   7 | 01L3   | Full  | 434,114,617,268 |  437 |   
31,536,000 |   1 |1 | 1 | Ultrium 3 | 2006-08-10 12:20:06 |
+-++---+-+--+--+-+--+---+---+-+
 

-- 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] delete job files from a volume

2006-08-10 Thread Jaime Ventura
I think you can use the purge jobs volume.
Be cautioned while purging/deleting jobs.




Marco Strullato wrote:
 Hi all,
 I have a question about volumes: is it possible to delete job files
 from a volume (storage is a hard disk).
 I mean yesterday a huge backup fails and now I have my storage full: I
 tryed to delete files just from that job but I can't.

 Do you have any suggestion?

 Thanks

 marco

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] newbie to tapes question

2006-08-10 Thread Jaime Ventura
Thank you for reply.
Can you take a look on the sections you mentioned?
My autocharger is a Dell PowerVault 124T with only one drive.
I believe its correct.

Thanks
#
Autochanger {
 Name = TapeLoader124T
 Device = IBM Ultrium 3
 Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
 Changer Device = /dev/sg5
}

Device {
 Name = IBM Ultrium 3
 Drive Index = 0
 Media Type = Ultrium 3
 Archive Device = /dev/nst0
 AutomaticMount = yes;   # when device opened, read it
 AlwaysOpen = yes;
 RemovableMedia = yes;
 RandomAccess = no;
 AutoChanger = yes
 # Enable the Alert command only if you have the mtx package loaded
 Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
}




 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Alan Brown wrote:
 On Thu, 10 Aug 2006, Jaime Ventura wrote:

 *mount
 The defined Storage resources are:
1: File
2: IBM Ultrium 3

 Judging from this, you have malconfigured your autochanger resource.

 Please re-read the manual and ensure you have an autochanger section AND
 a section for each tape drive in the autochanger.

 AB



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] newbie with tapes question...

2006-08-09 Thread Jaime Ventura
Hi
I've made some tests with a tape using btape command.
Now, I don't know how to erase the tape so I cant use it with bacula.
Can you help me?
thanks
-- 



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] file permissions for bacula-sd on /var/bacula directory... again :P

2006-08-09 Thread Jaime Ventura
I believe this issue has been discussed before, but I dint understand 
how to solve it.
I would really appreciate if any anyone can help me.

Im using RHEL 4, and bacula 1.38.11-3 for x86_64 RPM and 'im trying to 
setup an autocharger.
When I run update slots command at bconsole, I get the following;

Connecting to Storage daemon IBM Ultrium 3 at 10.0.23.17:9103 ...
3306 Issuing autochanger slots command.
Device IBM Ultrium 3 has 8 slots.
Connecting to Storage daemon IBM Ultrium 3 at 10.0.23.17:9103 ...
3301 Issuing autochanger loaded drive 0 command.
3991 Bad autochanger loaded drive 0 command: ERR=Child exited with 
code 1.
3306 Issuing autochanger list command.
Invalid Slot number: mktemp: cannot create temp file 
/var/bacula/mtx.lHTkYe4218: Permission denied
Invalid Slot number: /etc/bacula/mtx-changer: line 157: 
/var/bacula/mtx.4217: Permission denied
Invalid Slot number: cat: /var/bacula/mtx.4217: Permission denied
Invalid Slot number: cat: /var/bacula/mtx.4217: Permission denied
Invalid Slot number: Autochanger error: ERR=Child exited with code 1
No Volumes found to label, or no barcodes.

I get a permission denied on /var/bacula/.
As I told I've installed the RPM package of bacula and all the 
permissions seems to be correct:
[EMAIL PROTECTED] ~]# ls /var/bacula -la
total 1808
drwxrwx---   2 root   bacula4096 Aug  9 14:35 .
drwxr-xr-x  25 root   root  4096 Mar 24 15:16 ..
-rw-r-   1 bacula bacula 200 Aug  7 23:10 BackupCatalog.bsr
-rw-r-   1 bacula bacula1396 Aug  9 14:35 bacula-dir.9101.state
-rw-r-   1 root   bacula 996 Aug  9 14:35 bacula-fd.9102.state
-rw-r-   1 bacula bacula 1752134 Aug  8 23:35 bacula.sql
-rw---   1 bacula bacula   0 Aug  9 14:24 isep-dir.conmsg
-rw-r-   1 bacula bacula   36921 Aug  9 05:23 log
[EMAIL PROTECTED] ~]# ps aux |  grep bacula
bacula2973  0.0  0.0 102624 2292 ?   Ssl  14:40   0:00 
/usr/sbin/bacula-sd -u bacula -g disk -c /etc/bacula/bacula-sd.conf
root  3057  0.0  0.0 80828 1904 ?Ssl  14:40   0:00 
/usr/sbin/bacula-fd -u root -g bacula -c /etc/bacula/bacula-fd.conf
bacula3073  0.0  0.0 104360 2792 ?   Ssl  14:40   0:00 
/usr/sbin/bacula-dir -u bacula -g bacula -c /etc/bacula/bacula-dir.conf
root  4169  0.0  0.0 79832 1936 pts/2Sl+  14:43   0:00 
/usr/sbin/bconsole -c /etc/bacula/bconsole.conf
root  4235  0.0  0.0 51056  608 pts/1S+   14:46   0:00 grep bacula

[EMAIL PROTECTED] ~]# grep bacula /etc/group
disk:x:6:root,bacula
bacula:x:102:bacula

[EMAIL PROTECTED] ~]# grep bacula /etc/passwd
bacula:x:101:6:Bacula:/var/bacula:/sbin/nologin
[EMAIL PROTECTED] ~]#

Thanks


-- 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] getting both error and success messages while testing tape with btape

2006-08-08 Thread Jaime Ventura
Hello,
I'v recently purchased an auto charger.
Im using RHEL 4, and bacula 1.38.11-3 for x86_64 RPM
   'till now I was using disk storage for my backups, and i would like 
bacula to use it.
I ran the fill command on btape.
The fowllowing are the last lines of the execution of the command.
As you can seen, the execution end with a The last block on the tape 
matches. Test succeeded..
But before that line there is an error detected The last block on the tape 
matches. Test succeeded. and rigth after ioctl MTWEOF error on IBM Ultrium 
3 (/dev/nst0). 
ERR=Input/output error.
Should I be worried?
 Thanks in advance,


Wrote blk_block=657, dev_blk_num=1 VolBytes=423,584,690,368 
rate=58104.9 KB/s
Wrote blk_block=6575000, dev_blk_num=15000 VolBytes=423,907,250,312 
rate=58117.3 KB/s
Wrote blk_block=658, dev_blk_num=4500 VolBytes=424,229,810,256 
rate=58105.7 KB/s
08-Aug 17:25 btape: End of Volume TestVolume1 at 616:6986 on device 
IBM Ultrium 3 (/dev/nst0). Write of 64512 bytes got -1.
08-Aug 17:25 btape: btape Error: Error writing final EOF to tape. This 
Volume may not be readable.
dev.c:1542 ioctl MTWEOF error on IBM Ultrium 3 (/dev/nst0). 
ERR=Input/output error.
btape: btape.c:2301 Last block at: 616:6985 this_dev_block_num=6986
btape: btape.c:2335 End of tape 616:6986. 
VolumeCapacity=424,390,187,064. Write rate = 58111.8 KB/s
Done writing ...
Wrote state file last_block_num1=6985 last_block_num2=0


17:25:16 Done filling tape at 616:6986. Now beginning re-read of tape ...
Rewinding.
Reading the first 1 records from 0:0.
1 records read now at 1:5084
Reposition from 1:5084 to 616:6985
Reading block 6985.

The last block on the tape matches. Test succeeded.
-- 



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] trouble with bacula-mtx install

2006-08-04 Thread Jaime Ventura
Hello,
I'v recently purchased an auto charger.
Im using RHEL 4, and bacula 1.38.11-3 for x86_64 RPM
   'till now I was using disk storage for my backups, and i would like 
bacula to use it.
   Ive installed the hardware and tested it using mtx command (from mtx 
OS package).
   My problem is:
   When I try do install bacula-mtx I get a conflit with installed 
mtx package.
   When i try to uninstall mtx package, I get an error saying that 
mtx package is required by bacula-mysql package.

How do I do it?
Thanks




-
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.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula and MSSQL.

2006-06-26 Thread Jaime Ventura
Hi,
I understand this subject has already been discussed, but this is a 
direct question.
Is it safe to backup mssql data/log files using VSS?
I'm using ms Windows 2003 server with ms sqlserver 2000 sp4
Thanks.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] rpm problem - libcrypto.so.5 not found

2006-06-14 Thread Jaime Ventura
Hi,
  FC3  doenst have libcrypto.so.5 or libssl.so.5.
It does have libcrypto.so.4 or libssl.so.4.

One way is to rebuild the rpm client from the src.rpm. You might need to 
install several *-devel packages (use yum packageYouNeed):

1) get the package
wget 
http://ufpr.dl.sourceforge.net/sourceforge/bacula/bacula-1.38.10-1.src.rpm

2) This will build all packages. Packages will be at  
/usr/redhat/RPMS/i386/*
2a) if  using mysql
rpmbuild --rebuild --define build_fc3 --define build_mysql 1 
bacula-1.38.10-1.src.rpm

2a) if  using build_postgresql
rpmbuild --rebuild --define build_fc3 --define  build_postgresql 1 
bacula-1.38.10-1.src.rpm

3) install the package the client
rpm -ivh /usr/redhat/RPMS/i386/bacula-client-1.38.10-1.FC3.i386.rpm

I dont have any FC3 right now or else I could send you the package 
(thougth its not safe to do it)
hope it helps
   Jaime
Dan Langille wrote:
 On 14 Jun 2006 at 9:58, Kessia Pinheiro wrote:

   
 Hi everyone,

 I'm installing Bacula in a Gentoo server with a DAT-72 device. It's
 ok, but, when i try install in my clients (other server with Fedora
 Core 3), how i dont find rpm's for Fedora Core 3, i try install for
 package for Fedora Core 4, but the instalation ocorred a errors:


 [EMAIL PROTECTED] ~]# rpm -ivh bacula-client-1.38.8-1.FC4.i386.rpm
 aviso: bacula-client-1.38.8-1.FC4.i386.rpm: V3 DSA signature: NOKEY,
 key ID 10a792ad erro: Failed dependencies:
 libcrypto.so.5 is needed by bacula-client-1.38.8-1.i386
 libssl.so.5 is needed by bacula-client-1.38.8-1.i386



 How i can resolve that?
 

 I don't know the answer, but perhaps a better subject will attract 
 those that do know.

   



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] rpm problem - libcrypto.so.5 not found

2006-06-14 Thread Jaime Ventura
Sean,

although, she(?) is working with gentoo as the main (director) server, he is 
trying to set up a fedora core 3 client.

Kessia Pinheiro wrote:
 when i try install in my clients (other server with Fedora
Core 3), how i dont find rpm's for Fedora Core 3, i try install for
package for Fedora Core 4



Sean O'Grady wrote:
 Dan's right the subject is somewhat misleading.

 I'm not a big fan of Gentoo as it package system can be somewhat painful 
 and requires enormous amounts of time for updates. The confusing issue 
 here is you say your using Gentoo but installing a Fedora Core 4 rpm 
 package. If your using Gentoo I'm not sure this package will work, maybe 
 someone else can confirm. If the rpm will work you could be missing 
 required files.

 That being said try on a *Gentoo* system -

 emerge openssl

 -  from the command line. You might not have this package installed 
 which could be the source of the problem.

 Sean

 Dan Langille wrote:
   
 On 14 Jun 2006 at 9:58, Kessia Pinheiro wrote:


 
 Hi everyone,

 I'm installing Bacula in a Gentoo server with a DAT-72 device. It's
 ok, but, when i try install in my clients (other server with Fedora
 Core 3), how i dont find rpm's for Fedora Core 3, i try install for
 package for Fedora Core 4, but the instalation ocorred a errors:


 [EMAIL PROTECTED] ~]# rpm -ivh bacula-client-1.38.8-1.FC4.i386.rpm
 aviso: bacula-client-1.38.8-1.FC4.i386.rpm: V3 DSA signature: NOKEY,
 key ID 10a792ad erro: Failed dependencies:
libcrypto.so.5 is needed by bacula-client-1.38.8-1.i386
libssl.so.5 is needed by bacula-client-1.38.8-1.i386



 How i can resolve that?
   
 I don't know the answer, but perhaps a better subject will attract 
 those that do know.

 

   



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] rpm problem - libcrypto.so.5 not found

2006-06-14 Thread Jaime Ventura
Sean,

although, she(?) is working with gentoo as the main (director) server, he is 
trying to set up a fedora core 3 client.

Kessia Pinheiro wrote:
 when i try install in my clients (other server with Fedora
Core 3), how i dont find rpm's for Fedora Core 3, i try install for
package for Fedora Core 4

Jaime

Sean O'Grady wrote:
 Dan's right the subject is somewhat misleading.

 I'm not a big fan of Gentoo as it package system can be somewhat painful 
 and requires enormous amounts of time for updates. The confusing issue 
 here is you say your using Gentoo but installing a Fedora Core 4 rpm 
 package. If your using Gentoo I'm not sure this package will work, maybe 
 someone else can confirm. If the rpm will work you could be missing 
 required files.

 That being said try on a *Gentoo* system -

 emerge openssl

 -  from the command line. You might not have this package installed 
 which could be the source of the problem.

 Sean

 Dan Langille wrote:
   
 On 14 Jun 2006 at 9:58, Kessia Pinheiro wrote:


 
 Hi everyone,

 I'm installing Bacula in a Gentoo server with a DAT-72 device. It's
 ok, but, when i try install in my clients (other server with Fedora
 Core 3), how i dont find rpm's for Fedora Core 3, i try install for
 package for Fedora Core 4, but the instalation ocorred a errors:


 [EMAIL PROTECTED] ~]# rpm -ivh bacula-client-1.38.8-1.FC4.i386.rpm
 aviso: bacula-client-1.38.8-1.FC4.i386.rpm: V3 DSA signature: NOKEY,
 key ID 10a792ad erro: Failed dependencies:
libcrypto.so.5 is needed by bacula-client-1.38.8-1.i386
libssl.so.5 is needed by bacula-client-1.38.8-1.i386



 How i can resolve that?
   
 I don't know the answer, but perhaps a better subject will attract 
 those that do know.

 

   



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] force to run a job that is waiting for its start time

2006-06-12 Thread Jaime Ventura
Hello,
   I have a job that had been rescheduled because at the time it 
ran, the client (a portable) wasnt connected to the network.
   Is there any way(manually on console) to force it to run now that 
the client is connected, instead of waiting for the rescheduled start time?
   Thanks,
 Jaime Ventura


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Trying to set Reschedule On Error up.

2006-05-19 Thread Jaime Ventura

Hello,
I'm trying to set Reschedule On Error up.
I've tried the following:
Created a job to backup a client which is NOT connected.
I would expect the job would be rescheduled until the client get connected.
I understand the following timeout values are low, but the are just for 
test purposes.

First, on the director resource,I've added the line:
 FD Connect Timeout = 1 minutes
And on the Job resource:
Reschedule On Error = yes
Reschedule Interval = 2 minutes
Reschedule Times = 0
The job is scheduled to run like the following line:
   Run = Level=Incremental hourly at 0:50

In the bacula manual says about Reschedule Times:
«This directive specifies the maximum number of times to reschedule the 
job. If it is set to zero (the default) the job will be rescheduled an 
indefinite number of times.»


But I cant only  get it work, unless i use a number greater than 0, for 
instance:

Reschedule Times = 1

So, when Reschedule Times = 1, my job is rescheduled:
Job Job.jtgv.gsi.2006-05-19_16.50.00 waiting 120 seconds for scheduled 
start time.

Job.jtgv.gsi.2006-05-19_16.50.00 is waiting for its start time

When the start time reaches, the job is restarted, but now it never 
reaches timeout (FD Connect Timeout = 1 minutes).

I've waited so long that a new instance of the job was started:

Running Jobs:
JobId Level   Name   Status
==
 114 Increme  Job.jtgv.gsi.2006-05-19_16.50.00 is waiting for Client 
jtgv.gsi-fd to connect to Storage FileUSERS

 115 Increme  Job.jtgv.gsi.2006-05-19_17.50.00 is waiting execution

Since the job was initially scheduled to run every hour, the first 
instance of the job was waiting almost an hour. And it stays this way, 
even if i connect the client



Does anyone can help me?
I'm using version 1.38.9 (02 May 2006), on a redhat enterprise linux 4 
x86_64

Thanks
  Jaime


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Segmentation violation message

2006-04-19 Thread Jaime Ventura

Ok, i understand that. But should i report it as a bug?
Should i never use the reload command on the console any more?
If i do /etc/init.d/bacula-dir restart, at least i wont have a 
Segmentation violation...:(

Well, thanks anyway.

Cedric Tefft wrote:

Jaime Ventura wrote:



18-Apr 18:50 bserver-dir:  Error: message.c:668 fopen 
ñ/bserver-dir.bserver-dir.5 992232.mail failed: 
ERR=No such file or directory
18-Apr 18:50 bserver-dir: Fatal Error because: Bacula interrupted by 
signal 11: Segmentation viol ation

*
Can you help me with this last error messages?


It just means the director crashed -- probably due to the errors in 
your initial config.  Now that you've corrected those errors, it 
shouldn't happen again.


- Cedric



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory!

http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Segmentation violation message

2006-04-19 Thread Jaime Ventura

I think the previous configuration was correct.
I will try to reproduce the crash and see the exact circumstances, and 
submit the info to http://bugs.bacula.org

Thanks again.

Cedric Tefft wrote:

Jaime Ventura wrote:


Ok, i understand that. But should i report it as a bug?
Should i never use the reload command on the console any more?
If i do /etc/init.d/bacula-dir restart, at least i wont have a 
Segmentation violation...:(

Well, thanks anyway.


Well, I don't think it was technically the reload that caused the 
crash.  From your original report, the last line in the log file 
before the crash was about Resetting previous configuration, so it 
would appear the problem is not so much in the reload command, but in 
bacula's attempt to revert to the previous config.


This does look like a bug, and you can report it as such (go to 
http://bugs.bacula.org), but it's a bug that would only occur when 
your config file is invalid, so my suspicion is that  it may not be at 
the top of Kern's to do list.  But I don't want to speak for the guy, 
and it can't hurt to try, so by all means, give it a shot.


- Cedric




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory!

http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Newbe question: cancel a running job.

2006-04-19 Thread Jaime Ventura

Hi
   I've used the run command on the console to run a job in client A. 
Meanwhile i had to restart bacula-dir.
   Now when i make status director there is no running job , but if i 
get the status of client A, it says there is a job running.
   How do I cancel that job. Cant i restart bacula while  there is a 
job running?

Thanks for help.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Segmentation violation message

2006-04-19 Thread Jaime Ventura

sorry, next time maybe i should see the bug reports first.
thanks

Kern Sibbald wrote:

On Wednesday 19 April 2006 11:00, Jaime Ventura wrote:
  

Ok, i understand that. But should i report it as a bug?



This has been already reported as a bug, and I already have the code that will 
fix the bug that was reported and possibly yours.


  

Should i never use the reload command on the console any more?
If i do /etc/init.d/bacula-dir restart, at least i wont have a
Segmentation violation...:(
Well, thanks anyway.

Cedric Tefft wrote:


Jaime Ventura wrote:
  

18-Apr 18:50 bserver-dir:  Error: message.c:668 fopen
ñ/bserver-dir.bserver-dir.5 992232.mail failed:
ERR=No such file or directory
18-Apr 18:50 bserver-dir: Fatal Error because: Bacula interrupted by
signal 11: Segmentation viol ation
*
Can you help me with this last error messages?


It just means the director crashed -- probably due to the errors in
your initial config.  Now that you've corrected those errors, it
shouldn't happen again.

- Cedric



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
  

---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live
webcast and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



  



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] job status on network connection failure

2006-03-31 Thread Jaime Ventura

Hi im new to bacula and im doing some tests on network failure.

When, for some reason the network connection is down during a backup job, the 
client(winbacula 1.38.6) reports the job failed, but director(bacula-1.38.5) 
reports that job is running.
How to handle this situation? Do i need to ask all the clients what was the job 
status and cancel it on the director?

Thanks in advance
Jaime
--




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] job status on network connection failure (update)

2006-03-31 Thread Jaime Ventura




Hi im new to bacula and im doing some tests on network failure.

When, for some reason the network connection is down during a backup
job, the client(winbacula 1.38.6) reports the job failed, but
director(bacula-1.38.5) reports that job is running.
How to handle this situation? Do i need to ask all the clients what was
the job status and cancel it on the director?

When i cancel it i get the message "job not found".
Besides that, the job is "marked to be canceled" and the next job
keeps "waiting execution" 

Please help me.
Thanks in advance
  Jaime

isep-dir Version: 1.38.5 (18 January 2006) x86_64-redhat-linux-gnu
redhat Enterprise release

Daemon started 31-Mar-06 15:32, 2 Jobs run since started.


Scheduled Jobs:

Level Type Pri Scheduled Name
Volume

===

Incremental Backup 10 31-Mar-06 23:05 Client1
novoteste

Incremental Backup 10 31-Mar-06 23:05 Job.jtgv.gsi
novoteste

Full Backup 11 31-Mar-06 23:10 BackupCatalog
novoteste




Running Jobs:

JobId Level Name Status

==

 31 Full Job.jtgv.gsi.2006-03-31_15.57.53 is running

 32 Increme Job.jtgv.gsi.2006-03-31_15.59.10 is waiting execution




Terminated Jobs:

JobId Level Files Bytes Status Finished Name



 19 0 0 Error 29-Mar-06 18:28
RestoreFiles

 20 187 10,819,723 OK 29-Mar-06 18:35
RestoreFiles

 21 Full 0 0 Error 29-Mar-06 23:05 Client1

 22 Incr 0 0 Error 29-Mar-06 23:44
Job.jtgv.gsi

 23 Full 0 0 Error 29-Mar-06 23:44
BackupCatalog

 24 Full 0 0 Error 30-Mar-06 23:05 Client1

 25 Incr 0 0 Error 30-Mar-06 23:44
Job.jtgv.gsi

 26 Full 0 0 Error 30-Mar-06 23:44
BackupCatalog

 29 Full 0 0 Error 31-Mar-06 15:47
Job.jtgv.gsi

 30 Full 0 0 Cancel 31-Mar-06 15:54
Job.jtgv.gsi




cancel jobid=31

2901 Job Job.jtgv.gsi.2006-03-31_15.57.53 not found.

3000 Job Job.jtgv.gsi.2006-03-31_15.57.53 marked to be canceled.

status

Status available for:

 1: Director

 2: Storage

 3: Client

 4: All

Select daemon type for status (1-4): 1

isep-dir Version: 1.38.5 (18 January 2006) x86_64-redhat-linux-gnu
redhat Enterprise release

Daemon started 31-Mar-06 15:32, 2 Jobs run since started.


Scheduled Jobs:

Level Type Pri Scheduled Name
Volume

===

Incremental Backup 10 31-Mar-06 23:05 Client1
novoteste

Incremental Backup 10 31-Mar-06 23:05 Job.jtgv.gsi
novoteste

Full Backup 11 31-Mar-06 23:10 BackupCatalog
novoteste




Running Jobs:

JobId Level Name Status

==

 31 Full Job.jtgv.gsi.2006-03-31_15.57.53 has been canceled

 32 Increme Job.jtgv.gsi.2006-03-31_15.59.10 is waiting execution




Terminated Jobs:

JobId Level Files Bytes Status Finished Name



 19 0 0 Error 29-Mar-06 18:28
RestoreFiles

 20 187 10,819,723 OK 29-Mar-06 18:35
RestoreFiles

 21 Full 0 0 Error 29-Mar-06 23:05 Client1

 22 Incr 0 0 Error 29-Mar-06 23:44
Job.jtgv.gsi

 23 Full 0 0 Error 29-Mar-06 23:44
BackupCatalog

 24 Full 0 0 Error 30-Mar-06 23:05 Client1

 25 Incr 0 0 Error 30-Mar-06 23:44
Job.jtgv.gsi

 26 Full 0 0 Error 30-Mar-06 23:44
BackupCatalog

 29 Full 0 0 Error 31-Mar-06 15:47
Job.jtgv.gsi

 30 Full 0 0 Cancel 31-Mar-06 15:54
Job.jtgv.gsi
-- 





  

  
  

  

 

 

    
Jaime Ventura
[Infra-estruturas
e Comunicaes]
Rua Dr. Antnio Bernardino de
Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59


  

  e-mail:
  [EMAIL PROTECTED]


  url:
  www.isep.ipp.pt