[Bacula-users] bacula prunes files too early

2009-02-04 Thread Vladimir Vassiliev

All retention periods in my config are more than 30 days. But at Feb, 3 I tried 
to restore some files from job dated by Feb, 2
I select necessary job but get:

Building directory tree for JobId 1695 ...
There were no files inserted into the tree, so file selection
is not possible.Most likely your retention policy pruned the files

Do you want to restore all the files? (yes|no):

Additionally, when I choose no, bacula selects all files.
How can I troubleshoot this case?
Part of config in attachment and log of this job too.

-- 
Vladimir Vassiliev v...@edu.yar.ru
01-Feb 23:05 backup-dir JobId 1695: Start Backup JobId 1695, 
Job=www-2.2009-02-01_23.05.00.10
01-Feb 23:05 backup-dir JobId 1695: There are no more Jobs associated with 
Volume www-20081008-2305. Marking it purged.
01-Feb 23:05 backup-dir JobId 1695: All records pruned from Volume 
www-20081008-2305; marking it Purged
01-Feb 23:05 backup-dir JobId 1695: Recycled volume www-20081008-2305
01-Feb 23:05 backup-dir JobId 1695: Using Device FileStorage-www-2
01-Feb 23:05 backup-sd JobId 1695: Recycled volume www-20081008-2305 on 
device FileStorage-www-2 (/backup/2/www), all previous data lost.
01-Feb 23:05 backup-dir JobId 1695: Max Volume jobs exceeded. Marking Volume 
www-20081008-2305 as Used.
www-fd JobId 1695:  /boot is a different filesystem. Will not descend from 
/ into /boot
www-fd JobId 1695:  /var is a different filesystem. Will not descend from / 
into /var
www-fd JobId 1695:  /home is a different filesystem. Will not descend from 
/ into /home
www-fd JobId 1695:  /dev is a different filesystem. Will not descend from / 
into /dev
01-Feb 23:24 backup-sd JobId 1695: User defined maximum volume capacity 
4,650,000,000 exceeded on device FileStorage-www-2 (/backup/2/www).
01-Feb 23:24 backup-sd JobId 1695: End of medium on Volume www-20081008-2305 
Bytes=4,649,959,940 Blocks=72,079 at 01-Feb-2009 23:24.
01-Feb 23:24 backup-dir JobId 1695: There are no more Jobs associated with 
Volume www-20081008-2318. Marking it purged.
01-Feb 23:24 backup-dir JobId 1695: All records pruned from Volume 
www-20081008-2318; marking it Purged
01-Feb 23:24 backup-dir JobId 1695: Recycled volume www-20081008-2318
01-Feb 23:24 backup-sd JobId 1695: Recycled volume www-20081008-2318 on 
device FileStorage-www-2 (/backup/2/www), all previous data lost.
01-Feb 23:24 backup-dir JobId 1695: Max Volume jobs exceeded. Marking Volume 
www-20081008-2318 as Used.
01-Feb 23:24 backup-sd JobId 1695: New volume www-20081008-2318 mounted on 
device FileStorage-www-2 (/backup/2/www) at 01-Feb-2009 23:24.
01-Feb 23:33 backup-sd JobId 1695: User defined maximum volume capacity 
4,650,000,000 exceeded on device FileStorage-www-2 (/backup/2/www).
01-Feb 23:33 backup-sd JobId 1695: End of medium on Volume www-20081008-2318 
Bytes=4,649,960,569 Blocks=72,079 at 01-Feb-2009 23:33.
01-Feb 23:33 backup-dir JobId 1695: There are no more Jobs associated with 
Volume www-20081008-2325. Marking it purged.
01-Feb 23:33 backup-dir JobId 1695: All records pruned from Volume 
www-20081008-2325; marking it Purged
01-Feb 23:33 backup-dir JobId 1695: Recycled volume www-20081008-2325
01-Feb 23:33 backup-sd JobId 1695: Recycled volume www-20081008-2325 on 
device FileStorage-www-2 (/backup/2/www), all previous data lost.
01-Feb 23:33 backup-dir JobId 1695: Max Volume jobs exceeded. Marking Volume 
www-20081008-2325 as Used.
01-Feb 23:33 backup-sd JobId 1695: New volume www-20081008-2325 mounted on 
device FileStorage-www-2 (/backup/2/www) at 01-Feb-2009 23:33.
01-Feb 23:42 backup-sd JobId 1695: User defined maximum volume capacity 
4,650,000,000 exceeded on device FileStorage-www-2 (/backup/2/www).
01-Feb 23:42 backup-sd JobId 1695: End of medium on Volume www-20081008-2325 
Bytes=4,649,960,582 Blocks=72,079 at 01-Feb-2009 23:42.
01-Feb 23:42 backup-dir JobId 1695: There are no more Jobs associated with 
Volume www-20081008-2333. Marking it purged.
01-Feb 23:42 backup-dir JobId 1695: All records pruned from Volume 
www-20081008-2333; marking it Purged
01-Feb 23:42 backup-dir JobId 1695: Recycled volume www-20081008-2333
01-Feb 23:42 backup-sd JobId 1695: Recycled volume www-20081008-2333 on 
device FileStorage-www-2 (/backup/2/www), all previous data lost.
01-Feb 23:42 backup-dir JobId 1695: Max Volume jobs exceeded. Marking Volume 
www-20081008-2333 as Used.
01-Feb 23:42 backup-sd JobId 1695: New volume www-20081008-2333 mounted on 
device FileStorage-www-2 (/backup/2/www) at 01-Feb-2009 23:42.
01-Feb 23:53 backup-sd JobId 1695: User defined maximum volume capacity 
4,650,000,000 exceeded on device FileStorage-www-2 (/backup/2/www).
01-Feb 23:53 backup-sd JobId 1695: End of medium on Volume www-20081008-2333 
Bytes=4,649,960,561 Blocks=72,079 at 01-Feb-2009 23:53.
01-Feb 23:53 backup-dir JobId 1695: There are no more Jobs associated with 
Volume www-20081008-2343. Marking it purged.
01-Feb 23:53 backup-dir JobId 1695: All records pruned from Volume 

Re: [Bacula-users] bacula prunes files too early

2009-02-04 Thread Jérôme Schell
Vladimir Vassiliev a écrit :
 All retention periods in my config are more than 30 days. But at Feb, 3 I 
 tried to restore some files from job dated by Feb, 2
 I select necessary job but get:
 
   Building directory tree for JobId 1695 ...
   There were no files inserted into the tree, so file selection
   is not possible.Most likely your retention policy pruned the files
 
   Do you want to restore all the files? (yes|no):
 
 Additionally, when I choose no, bacula selects all files.
 How can I troubleshoot this case?
 Part of config in attachment and log of this job too.

Hello,

In fact I don't have the solution for your problem as I am looking for
it too ;)
As far as I can see, your job has a lot of files ( 1 million). I have
the same problem for a job with 1.3 million files. It seems that bacula
doesn't write the file entries in the catalog (in the files table) for
big jobs like that.
The result is that you can't select individual files when restoring, you
can just restore the whole job. Incremental job for this fileset is
working ok and the files are present in catalog. That's why I think this
is related with jobs with a lot of files.

I'm using Bacula 2.4.4 on Debian Etch (from backport.org) with
PostgreSQL as backend for the catalog.

If someone has information on this problem...

Regards,
-- 
Jérôme Schell
CPE Lyon

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature Request: Data encryption (formal version)

2009-02-04 Thread Tobias Barth
Hi,

I yesterday mailed an informal feature request. Here is the formal
version of it:


  Feature Request Form

Item n:   Data encryption on storage daemon
  Origin: Tobias Barth tobias.barth at web-arts.com
  Date:   04 February 2009
  Status: new

  What:   The storage demon should be able to do the data encryption that can 
currently be done by the file daemon.

  Why:This would have 2 advantages: 1) one could encrypt the data of 
unencrypted tapes by doing a migration job, and 2) the storage daemon would be 
the only machine that would have to keep the encryption keys.

  Notes:  I don't know if the migration jobs can be done with one single tape 
drive - and a disc (array) as buffer. If not, this should be another feature on 
the project list.



Cheers,

Tobias Barth


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Feature Request: Data encryption

2009-02-04 Thread Eric Bollengier
Hello,

And why not use an encrypted filesystem to store your media ?
One major advantage, it's already there and can be functionnal in 30mins,
an other advantage, is that a simple cp permit to crypt old backups.

Bye


Le Tuesday 03 February 2009 16:33:21 Tobias Barth, vous avez écrit :
 Hi,

 since Bacula supports encryption of file data now, I wonder what to do
 with old unencrypted tapes. I think it would be good if one of the tools
 that come with bacula would allow tapes to be encrypted - by reading
 their data to disc, and writing them back with encrypted files. Would it
 be possible to implement that feature in one of the upcoming versions of
 bacula - maybe as enhancement of the tool bcopy?

 Another feature that I'd like to see in bacula would be data encryption
 by the storage demon, so that the encryption keys on a multi
 computer-system need only be stored on the machine with the storage
 demon on it.

 Cheers,

 Tobias Barth



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] feature request: Maximum Concurrent Jobs for drives when used with changer device

2009-02-04 Thread Kern Sibbald
Hello,

I have added this Feature Request to the projects list for the next vote -- 
probably a month or two from now.

Best regards,

Kern

On Friday 12 December 2008 10:47:42 Ralf Gross wrote:
 Item 1:   Maximum Concurrent Jobs for drives when used with changer
 device Origin: Ralf Gross ralf-lists at ralfgross.de
   Date:   2008-12-12
   Status: Initial Request

   What:   respect the Maximum Concurrent Jobs directive in the _drives_
   Storage section in addition to the changer section

   Why:I have a 3 drive changer where I want to be able to let 3
 concurrent jobs run in parallel. But only one job per drive at the same
 time. Right now I don't see how I could limit the number of concurrent jobs
 per drive in this situation.

   Notes:  Using different priorities for these jobs lead to problems that
 other jobs are blocked. On the user list I got the advice to use the
 Prefer Mounted Volumes directive, but Kern advised against using Prefer
 Mounted Volumes in an other thread:
  
 http://article.gmane.org/gmane.comp.sysutils.backup.bacula.devel/11876/

   In addition I'm not sure if this would be the same as respecting
 the drive's Maximum Concurrent Jobs setting.

   Example:

   Storage {
 Name = Neo4100
 Address = 
 SDPort = 9103
 Password = wiped
 Device = Neo4100
 Media Type = LTO4
 Autochanger = yes
 Maximum Concurrent Jobs = 3
   }

   Storage {
 Name = Neo4100-LTO4-D1
 Address = 
 SDPort = 9103
 Password = wiped
 Device = ULTRIUM-TD4-D1
 Media Type = LTO4
 Maximum Concurrent Jobs = 1
   }

   [2 more drives]

   The Maximum Concurrent Jobs = 1 directive in the drive's
 section is ignored.


 ---
--- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
 Nevada. The future of the web can't happen without you.  Join us at MIX09
 to help pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com
/ ___
 Bacula-devel mailing list
 bacula-de...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-devel



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Feature Request

2009-02-04 Thread Kern Sibbald
I have added this to the projects list. 

Best regards,

Kern

On Monday 28 April 2008 11:43:36 Tobias Barth wrote:
 Hi,

 after nearly 3 years of writing nothing here, I am back - with a feature
 request :)
 I recently upgraded from bacula 1.36 to 2.2.8 in order to use the job
 spooling feature. The feature is working, but bacula always waits for
 appendable media before it starts spooling. So, after the operator has
 inserted the media, again 2 or more hours are spent for spooling before
 the tape starts writing. I think it would be nice if the spooling would
 immediately start when the job is submitted by the user or the
 scheduler. And here comes the formal feature request:

 Item 1:   Start spooling even when waiting on tape
   Origin: Tobias Barth tobias.ba...@web-arts.com
   Date:   25 April 2008
   Status:

   What:   If a job can be spooled to disk before writing it to tape, it
 should be spooled immediately.
   Currently, bacula waits until the correct tape is inserted
 into the drive.

   Why:It could save hours. When bacula waits on the operator who
 must insert the correct tape (e.g. a new
   tape or a tape from another media pool), bacula could already
 prepare the spooled data in the
   spooling directory and immediately start despooling when the
 tape was inserted by the operator.

   2nd step: Use 2 or more spooling directories. When one directory is
 currently despooling, the next (on different
 disk drives) could already be spooling the next data.

   Notes:  I am using bacula 2.2.8, which has none of those features
 implemented.



 Greetings,

 Tobias Barth

 **



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] Feature Request: Data encryption (formal version)

2009-02-04 Thread Kern Sibbald
On Wednesday 04 February 2009 10:04:55 Tobias Barth wrote:
 Hi,

 I yesterday mailed an informal feature request. Here is the formal
 version of it:


   Feature Request Form

 Item n:   Data encryption on storage daemon
   Origin: Tobias Barth tobias.barth at web-arts.com
   Date:   04 February 2009
   Status: new

   What:   The storage demon should be able to do the data encryption that
 can currently be done by the file daemon.

   Why:This would have 2 advantages: 1) one could encrypt the data of
 unencrypted tapes by doing a migration job, and 2) the storage daemon would
 be the only machine that would have to keep the encryption keys.

I have added the above to the projects list.


   Notes:  I don't know if the migration jobs can be done with one single
 tape drive - and a disc (array) as buffer. If not, this should be another
 feature on the project list.

Concerning the Notes: No a migration job cannot be done with a single tape 
drive *if* the input is read from a tape drive.   Any consideration of this 
feature would require a separate Feature Request.  You can already do 
migration from a single drive by migrating it first to a disk then migrating 
from the disk to another tape -- maybe not very convenient, but it will work.

Regards,

Kern


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] feature request: fixed naming/numbering of sql queries

2009-02-04 Thread Kern Sibbald
Hello,

I have added this to the projects list.

Best regards,

Kern

On Wednesday 24 January 2007 16:43:45 mark.berg...@uphs.upenn.edu wrote:
 Item  1:  enable persistent naming/number of SQL queries

   Date:   24 Jan, 2007
   Origin: Mark Bergman
   Status:

   What:
 Change the parsing of the query.sql file and the query command so
 that queries are named/numbered by a fixed value, not their order in the
 file.


   Why:
 One of the real strengths of bacula is the ability to query the
 database, and the fact that complex queries can be saved and
 referenced from a file is very powerful. However, the choice
 of query (both for interactive use, and by scripting input
 to the bconsole command) is completely dependent on the order
 within the query.sql file. The descriptve labels are helpful for
 interactive use, but users become used to calling a particular
 query by number, or may use scripts to execute queries. This
 presents a problem if the number or order of queries in the file
 changes.

 If the query.sql file used the numeric tags as a real value (rather
 than a comment), then users could have a higher confidence that
 they are executing the intended query, that their local changes wouldn't
 conflict with future bacula upgrades.

 For scripting, it's very important that the intended query is
 what's actually executed. The current method of parsing the
 query.sql file discourages scripting because the addition or
 deletion of queries within the file will require corresponding
 changes to scripts. It may not be obvious to users that deleting
 query 17 in the query.sql file will require changing all
 references to higher numbered queries. Similarly, when new
 bacula distributions change the number of official queries,
 user-developed queries cannot simply be appended to the file
 without also changing any references to those queries in scripts
 or procedural documentation, etc.

 In addition, using fixed numbers for queries would encourage more
 user-initiated development of queries, by supporting conventions
 such as:

 queries numbered 1-50 are supported/developed/distributed
 by with official bacula releases

 queries numbered 100-200 are community contributed, and are
 related to media management

 queries numbered 201-300 are community contributed, and are
 related to checksums, finding duplicated files across
 different backups, etc.

 queries numbered 301-400 are community contributed, and are
 related to backup statistics (average file size, size per
 client per backup level, time for all clients by backup
 level, storage capacity by media type, etc.)

 queries numbered 500-999 are locally created

   Notes:
 Alternatively, queries could be called by keyword (tag), rather
 than by number.

 ---
 Mark Bergman  mark.berg...@uphs.upenn.edu
 System Administrator
 Section of Biomedical Image Analysis 215-662-7310
 Department of Radiology,   University of Pennsylvania

 http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upen
n.edu



 The information contained in this e-mail message is intended only for the
 personal and confidential use of the recipient(s) named above. If the
 reader of this message is not the intended recipient or an agent
 responsible for delivering it to the intended recipient, you are hereby
 notified that you have received this document in error and that any review,
 dissemination, distribution, or copying of this message is strictly
 prohibited. If you have received



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] disabled job still ran

2009-02-04 Thread Ronald Buder
On Wednesday 04 February 2009 07:52:09 Victor Sterpu wrote:
 Can I change the location where the data will be restored?
 I want to restore the data on the bacula-director, not on the bacula-fd.

Yes of course. However hijacking threads isn't exactly nice! :)


 Thank you.

 Ronald Buder wrote:
  Hi
 
  I believe disabled jobs are only disabled until the config file is
  reloaded or bacula-dir is restarted.
 
  correct, which is why I put a Enabled=no in the job section of the
  config files... which disables permanently. Or has been doing so so far.
  And it does work for more jobs than it doesn't.

Still very confused about that matter...

 
  Sorry, if I didn't clairify in the first place.
 
  John
 
Ronald


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-dir and Bacula-sd deamons not starting

2009-02-04 Thread Stephen K Cheboi

Manged to sort out myself.

What I did - reinitialized bacula.
Used ftp to copy the original configuration files instead of using the files
e-mailed to me and these worked magic.
It appears when the files are e-mailed the original files are modified.


Thanks ,
Stephen
-Original Message-
From: Stephen K Cheboi [mailto:skche...@kenkob.co.ke] 
Sent: Wednesday, February 04, 2009 11:00 AM
To: 'bacula-users'
Subject: Re: [Bacula-users] Bacula-dir and Bacula-sd deamons not starting

Thanks Kevin,
After running the scripts below , I get the following errors;

bacula-dir -t
[r...@mail ~]# bacula-dir -t
04-Feb 10:55 bacula-dir: ERROR TERMINATION at inc_conf.c:345
Config error: Expecting keyword, got: cc-bandwidth

: line 88, col 12 of file /etc/bacula/bacula-dir.conf
cc-bandwidth

bacula-fd -t,
04-Feb 10:58 bacula-sd: ERROR TERMINATION at parse_conf.c:835
Config error: Expected a Resource name identifier, got: bacula-dir.conf
: line 42, col 15 of file /etc/bacula/bacula-sd.conf
bacula-dir.conf must have the

So how do I correct these reported errors?

Stephen

-Original Message-
From: Kevin Keane [mailto:subscript...@kkeane.com] 
Sent: Wednesday, February 04, 2009 10:28 AM
Cc: 'bacula-users'
Subject: Re: [Bacula-users] Bacula-dir and Bacula-sd deamons not starting

Try running

bacula-dir -t

and

bacula-fd -t

That should show you any errors in the configuration files.

Stephen K Cheboi wrote:

 Hi,

 I installed LAN Backup/Restore module in clarkconnect 4.3 trial 
 version successfully. After  uploading original bacula configuration 
 files (from another running system), the bacula-dir and bacula-sd 
  services are stopped. I tried to start without success.

 No errors reported, what could be wrong? Help please

  

  

 Thank you,

 Stephen

 



--
 Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code
to
 build responsive, highly engaging applications that combine the power of
local
 resources and data with the reach of the web. Download the Adobe AIR SDK
and
 Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
 

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


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think
About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or
proprietary information. Please be advised that the unauthorized use or
disclosure of the information is strictly prohibited. The information herein
is intended only for use by the intended recipient(s) named above. If you
have received this transmission in error, please notify the sender
immediately and permanently delete the e-mail and any copies, printouts or
attachments thereof.



--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

Re: [Bacula-users] Restoring to a specific client

2009-02-04 Thread Graham Keeling
On Wed, Feb 04, 2009 at 01:29:02PM +0200, victor wrote:
 I have many clients defined, but when I try to restore a specific 
 client, there is no option to select the client.
 
 $ done
 Bootstrap records written to 
 /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
 The job will require the following Volumes:
  Bacula1
 10 files selected to be restored.
 
 Run Restore job
 JobName:Restaurare Fisiere Calc Victor
 Bootstrap:  /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
 Where:  /tmp/bacula-restores
 Replace:always
 FileSet:Personalizari MF
 Client: client1-fd
 Storage:File
 When:   2009-02-04 12:48:37
 Catalog:MyCatalog
 Priority:   10
 OK to run? (yes/mod/no):
 
 Why don't I have the option to restore where I want to?

Did you try typing 'mod'...?
On my unit:

OK to run? (yes/mod/no): mod
Parameters to modify:
 1: Level
 2: Storage
 3: Job
 4: FileSet
 5: Restore Client
 6: When
 7: Priority
 8: Bootstrap
 9: Where
10: File Relocation
11: Replace
12: JobId
13: Plugin Options
Select parameter to modify (1-13): 5
The defined Client resources are:
 1: BackupPilot-fd
 2: win-2k8-64-fd
Select Client (File daemon) resource (1-2): 

etc.


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring to a specific client

2009-02-04 Thread Frank Sweetser
victor wrote:
 I have many clients defined, but when I try to restore a specific 
 client, there is no option to select the client.
 
 $ done
 Bootstrap records written to 
 /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
 The job will require the following Volumes:
   Bacula1
 10 files selected to be restored.
 
 Run Restore job
 JobName:Restaurare Fisiere Calc Victor
 Bootstrap:  /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
 Where:  /tmp/bacula-restores
 Replace:always
 FileSet:Personalizari MF
 Client: client1-fd
 Storage:File
 When:   2009-02-04 12:48:37
 Catalog:MyCatalog
 Priority:   10
 OK to run? (yes/mod/no):
 
 Why don't I have the option to restore where I want to?

You see how the final prompt gives you three options - yes/mod/no?  Type in 
'mod' and it will give you a chance to modify all restore options, including 
the client you wish to restore to.

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
 GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Character substitution changed?

2009-02-04 Thread Maxime
Hello,

It seems that %n character substitution changed from version 2.4.3 to 
2.4.4 (%n = Job name).

There are 2 directors in production which both have these lines in 
bacula-dir.conf (in a JobDefs resource):
RunAfterJob = /usr/local/bin/bacula_job_status.sh %c %i %e %n %l

bacula_job_status.sh is simple, it only does (on both server) :
echo $(date +%F) $@  /var/bacula/working/backup_status

If I take a look at the backup_status files, they differ :
2.4.3:
2009-02-04 backup02c-fd 132 OK job_backup02c Incremental
2.4.4:
2009-02-04 backup01c-fd 142 OK job_backup01c.2009-02-04_00 Incremental

So %n is not substituted the same way. Date is appended in 2.4.4 to the 
job name. As I also use it for bootstrap file name, it changes everyday 
and bootstrap files are not usable.

Of course, in Job resources, there is:
Name = job_backup01c
Name = job_backup02c


Anyone else noticed this?
May I have forgotten other configuration parts that change the behaviour?
If not, should I open a bug report?

Thanks
-- 
Maxime CHARPENNE
Université d'Avignon et des Pays de Vaucluse - CRI
Tél. : +33 4 90 16 26 05

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Have I got it wrong or should this be a feature request?

2009-02-04 Thread James Cort
Dear All,

I've been spending some time migrating jobs from an obsolete tape drive
which is connected to an SD on one server a few hundred miles away to a
rather newer tape unit connected to an SD on another server a few metres
away.

As far as I can gather, under 2.4.2 it isn't possible to directly
migrate data reading from one SD and writing to another.  Let me give
you an example of how I've worked around it, calling them SD1 and SD2.

A migration job does the following:
- Read the data from SD1
- Write it to a temporary staging pool (a file rather than a tape)
managed by SD1

Once that's complete, copy the files which make up the staging pool onto
the system where SD2 resides and update the database to reflect their
location in SD2.

Run another migration job which:

- Reads the data from the staging pool (which we've now copied to SD2)
- Writes it out to the tape managed by SD2.


Phew.

This leaves me with two questions:

1.  Is this the only realistic way to deal with the problem I originally
described?

2.  Am I the only one to have encountered such a problem?  (I'm not sure
 there's much point in submitting a feature request if I am because it
probably won't affect me again anyway).


James.
-- 
James Cort

IT Manager
U4EA Technologies Ltd.

-- 
U4EA Technologies
http://www.u4eatech.com


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring my catalog

2009-02-04 Thread John Drescher
 I have another problem.

 I want to restore my backed-up catalog. I  catalog backup which created a
 BSR file (server.bsr). When I tried restoring using BSR file , I get the
 following error;



 File does not exist - (/tmp/bacula-restores/var/bacula/Catalog.sql)



 Is there a step am missing? I have tried to read through some posts, but all
 lead me to knowwhere.


I would start with running a restore job that does not run a script to
put the catalog back. Make sure the Catalog.sql file gets saved
somewhere and after that it should be easy to manually restore the
database.


John

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring to a specific client

2009-02-04 Thread victor

I can select with mod.
I had commented the other client and this is why I could not see it a 
few minutes ago.


Thank you.

Vladimir Vassiliev wrote:

Choose mod.

On Среда 04 февраля 2009, victor wrote:
  
I have many clients defined, but when I try to restore a specific 
client, there is no option to select the client.


$ done
Bootstrap records written to 
/var/lib/bacula/192.168.0.191-dir.3.restore.bsr

The job will require the following Volumes:
  Bacula1
10 files selected to be restored.

Run Restore job
JobName:Restaurare Fisiere Calc Victor
Bootstrap:  /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
Where:  /tmp/bacula-restores
Replace:always
FileSet:Personalizari MF
Client: client1-fd
Storage:File
When:   2009-02-04 12:48:37
Catalog:MyCatalog
Priority:   10
OK to run? (yes/mod/no):

Why don't I have the option to restore where I want to?







  


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] tape error and bacula: ...block numbers differ

2009-02-04 Thread Ralf Gross
Hi,

I have a problem with a new lto-4 tape. Only 411 GB were written on it, then
bacula detected an write error. 

JobId 9250: Error: block.c:568 Write error at 411:14724 on device 
ULTRIUM-TD4-D2
(/dev/ULTRIUM-TD4-D2).  ERR=Eingabe-/Ausgabefehler.
JobId 9250: Error: Re-read of last block OK, but block numbers differ.
 Last block=32305463 Current block=32307189.
JobId 9250: End of medium on Volume A00151L4 Bytes=411,923,570,688
Blocks=6,385,223 at 03-Feb-2009 20:44.


And at the same time in the kernel log:

kernel: sense key: Medium Error
kernel: Additional sense: Write error
kernel: Info fld=0xfc00

No doubt there was a problem. The big question is: will this be a problem
during a restore? bacula changed the tape and continued but didn't mark
the tape as faulty.

The job is still running and will backup 9 TB. Any idea how to test the tape?
Which of the b* tools would be the right one for this?


Ralf

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] tape error and bacula: ...block numbers differ

2009-02-04 Thread Ralf Gross
Ralf Gross schrieb:
 Hi,
 
 I have a problem with a new lto-4 tape. Only 411 GB were written on it, then
 bacula detected an write error. 
 
 JobId 9250: Error: block.c:568 Write error at 411:14724 on device 
 ULTRIUM-TD4-D2
 (/dev/ULTRIUM-TD4-D2).  ERR=Eingabe-/Ausgabefehler.
 JobId 9250: Error: Re-read of last block OK, but block numbers differ.
  Last block=32305463 Current block=32307189.
 JobId 9250: End of medium on Volume A00151L4 Bytes=411,923,570,688
 Blocks=6,385,223 at 03-Feb-2009 20:44.
 
 
 And at the same time in the kernel log:
 
 kernel: sense key: Medium Error
 kernel: Additional sense: Write error
 kernel: Info fld=0xfc00
 
 No doubt there was a problem. The big question is: will this be a problem
 during a restore? bacula changed the tape and continued but didn't mark
 the tape as faulty.
 
 The job is still running and will backup 9 TB. Any idea how to test the tape?
 Which of the b* tools would be the right one for this?

Right now I'm using bls to see what's on the tape. Let's see how it
goes.

Ralf

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Same library on two or more server

2009-02-04 Thread Daniele Eccher
Hi at all,

I use bacula than more 2 years with good result.
I have a question because I think to use the same library (Spectralogi 
T50) on two different servers. This is becouse the amount of data is 
very big (more than 2 TB) and use the fibre channel rather than ethernet 
is more fast.

I have installed the storage daemon and client daemon on the other 
machine where is the data to backup. I command this storage daemon using 
the old Director on the other server, and my question is:

I configure the library on the storage daemon configuration file at the 
same on the true server where the other backup running, or i do that , 
for the director, this is a new library?

Thank you

Daniele

-- 
Daniele Eccher
Gruppo Darco  - ICT Sistemi
Via Ostiense 131/L Corpo B, 00154 Roma
E-mail: daniele.ecc...@sociale.it  
tel  : +39 06 57060 500 
cell : +39 346 1426128

Ai sensi e per gli effetti delle disposizioni vigenti in materia di tutela 
della riservatezza personale (D.lgs 196/2003), questa @mail è destinata 
unicamente alle persone sopra indicate e le informazioni in essa contenute sono 
da considerarsi strettamente riservate. E' proibito leggere, copiare, usare o 
diffondere il contenuto della presente @mail senza autorizzazione. Se avete 
ricevuto questa @mail per errore, siete pregati di rispedire la stessa al 
mittente. Grazie


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restoring to a specific client

2009-02-04 Thread victor
I have many clients defined, but when I try to restore a specific 
client, there is no option to select the client.


$ done
Bootstrap records written to 
/var/lib/bacula/192.168.0.191-dir.3.restore.bsr

The job will require the following Volumes:
 Bacula1
10 files selected to be restored.

Run Restore job
JobName:Restaurare Fisiere Calc Victor
Bootstrap:  /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
Where:  /tmp/bacula-restores
Replace:always
FileSet:Personalizari MF
Client: client1-fd
Storage:File
When:   2009-02-04 12:48:37
Catalog:MyCatalog
Priority:   10
OK to run? (yes/mod/no):

Why don't I have the option to restore where I want to?

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Same library on two or more server

2009-02-04 Thread John Drescher
On Wed, Feb 4, 2009 at 10:48 AM, Daniele Eccher
daniele.ecc...@sociale.it wrote:
 Hi at all,

 I use bacula than more 2 years with good result.
 I have a question because I think to use the same library (Spectralogi
 T50) on two different servers. This is becouse the amount of data is
 very big (more than 2 TB) and use the fibre channel rather than ethernet
 is more fast.

 I have installed the storage daemon and client daemon on the other
 machine where is the data to backup. I command this storage daemon using
 the old Director on the other server, and my question is:

 I configure the library on the storage daemon configuration file at the
 same on the true server where the other backup running, or i do that ,
 for the director, this is a new library?


I assume you can partition it so that some drives are allocated to each server?

John

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] [Fwd: Re: Same library on two or more server]

2009-02-04 Thread Daniele Eccher


--
Daniele Eccher
Gruppo Darco  - ICT Sistemi
Via Ostiense 131/L Corpo B, 00154 Roma
E-mail: daniele.ecc...@sociale.it  
tel  : +39 06 57060 500 
cell : +39 346 1426128


Ai sensi e per gli effetti delle disposizioni vigenti in materia di tutela della 
riservatezza personale (D.lgs 196/2003), questa @mail è destinata unicamente alle persone 
sopra indicate e le informazioni in essa contenute sono da considerarsi strettamente 
riservate. E' proibito leggere, copiare, usare o diffondere il contenuto della presente 
@mail senza autorizzazione. Se avete ricevuto questa @mail per errore, siete pregati di 
rispedire la stessa al mittente. Grazie

---BeginMessage---
unfortunately my company , at the time , not want to buy the license to 
partition the library.


In this situation , i think to see at director of bacula if there is two 
library, but in reality is the same. The jobs appended one after one 
that I not have the problem of two jobs work on the same drive at the 
same time.


John Drescher wrote:

On Wed, Feb 4, 2009 at 10:48 AM, Daniele Eccher
daniele.ecc...@sociale.it wrote:
  

Hi at all,

I use bacula than more 2 years with good result.
I have a question because I think to use the same library (Spectralogi
T50) on two different servers. This is becouse the amount of data is
very big (more than 2 TB) and use the fibre channel rather than ethernet
is more fast.

I have installed the storage daemon and client daemon on the other
machine where is the data to backup. I command this storage daemon using
the old Director on the other server, and my question is:

I configure the library on the storage daemon configuration file at the
same on the true server where the other backup running, or i do that ,
for the director, this is a new library?




I assume you can partition it so that some drives are allocated to each server?

John


  


--
Daniele Eccher
Gruppo Darco  - ICT Sistemi
Via Ostiense 131/L Corpo B, 00154 Roma
E-mail: daniele.ecc...@sociale.it  
tel  : +39 06 57060 500 
cell : +39 346 1426128


Ai sensi e per gli effetti delle disposizioni vigenti in materia di tutela della 
riservatezza personale (D.lgs 196/2003), questa @mail è destinata unicamente alle persone 
sopra indicate e le informazioni in essa contenute sono da considerarsi strettamente 
riservate. E' proibito leggere, copiare, usare o diffondere il contenuto della presente 
@mail senza autorizzazione. Se avete ricevuto questa @mail per errore, siete pregati di 
rispedire la stessa al mittente. Grazie


---End Message---
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Same library on two or more server

2009-02-04 Thread John Drescher
unfortunately my company , at the time , not want to buy the license
to partition the library.

In this situation , i think to see at director of bacula if there is
two library, but in reality is the same. The jobs appended one after
one that I not have the problem of two jobs work on the same drive at
the same time.

John Drescher wrote:

 On Wed, Feb 4, 2009 at 10:48 AM, Daniele Eccher
 daniele.ecc...@sociale.it wrote:


 Hi at all,

 I use bacula than more 2 years with good result.
 I have a question because I think to use the same library (Spectralogi
 T50) on two different servers. This is becouse the amount of data is
 very big (more than 2 TB) and use the fibre channel rather than ethernet
 is more fast.

 I have installed the storage daemon and client daemon on the other
 machine where is the data to backup. I command this storage daemon using
 the old Director on the other server, and my question is:

 I configure the library on the storage daemon configuration file at the
 same on the true server where the other backup running, or i do that ,
 for the director, this is a new library?



 I assume you can partition it so that some drives are allocated to each 
 server?

 John




--
Daniele Eccher
Gruppo Darco  - ICT Sistemi
Via Ostiense 131/L Corpo B, 00154 Roma
E-mail: daniele.ecc...@sociale.it  tel  : +39 06 57060 500 cell : +39
346 1426128

Ai sensi e per gli effetti delle disposizioni vigenti in materia di
tutela della riservatezza personale (D.lgs 196/2003), questa @mail è
destinata unicamente alle persone sopra indicate e le informazioni in
essa contenute sono da considerarsi strettamente riservate. E'
proibito leggere, copiare, usare o diffondere il contenuto della
presente @mail senza autorizzazione. Se avete ricevuto questa @mail
per errore, siete pregati di rispedire la stessa al mittente. Grazie




-- 
John M. Drescher

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula on Solaris 10 or SXCE

2009-02-04 Thread Brian Debelius
Hi,

I have watched a few threads go by about compiling Bacula on Solaris, 
and I have not come to the conclusion as to whether anyone has gotten it 
to run and be stable. So..
Does Bacula compile? Does Bacula run reliably once compiled?


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula and databases ...

2009-02-04 Thread Reynier Perez Mira
Hi every:
I've been using Bacula for a while and now I have a big question: it's possible 
to save the database data? I mean like an SQL query or a dump? Any plugins for 
do that?
Cheers and thanks in advance
Ing. Reynier Pérez Mira
Dirección Técnica IP 
 

__ Información de ESET NOD32 Antivirus, versión de la base de firmas de 
virus 3825 (20090204) __

ESET NOD32 Antivirus ha comprobado este mensaje.

http://www.eset.com
 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restoring my catalog

2009-02-04 Thread Stephen K Cheboi
I have another problem.

I want to restore my backed-up catalog. I  catalog backup which created a
BSR file (server.bsr). When I tried restoring using BSR file , I get the
following error;

 

File does not exist - (/tmp/bacula-restores/var/bacula/Catalog.sql)

 

Is there a step am missing? I have tried to read through some posts, but all
lead me to knowwhere.

 

 

Regards,

Stephen

 

 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula on Solaris 10 or SXCE

2009-02-04 Thread Fahrer, Julian
Hi,

I am running bacula dir, sd and fd on solaris 10 u5, pretty stable so far.
I'm also running a fd on a solaris 10 u6 box without any problems.

Kind regards

julian

-Ursprüngliche Nachricht-
Von: Brian Debelius [mailto:bdebel...@intelesyscorp.com] 
Gesendet: Mittwoch, 4. Februar 2009 17:27
An: bacula-users
Betreff: [Bacula-users] Bacula on Solaris 10 or SXCE

Hi,

I have watched a few threads go by about compiling Bacula on Solaris, 
and I have not come to the conclusion as to whether anyone has gotten it 
to run and be stable. So..
Does Bacula compile? Does Bacula run reliably once compiled?


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula on Solaris 10 or SXCE

2009-02-04 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Do you have some reason you need to compile it as opposed to using
binary packages that are provided? I switched from the former to the
latter (albeit on Solaris 9 for my director/storage daemon), but because
it was easier, not because it didn't work (it worked fine).

Brian Debelius wrote:
 Hi,
 
 I have watched a few threads go by about compiling Bacula on Solaris, 
 and I have not come to the conclusion as to whether anyone has gotten it 
 to run and be stable. So..
 Does Bacula compile? Does Bacula run reliably once compiled?

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$| |__| |  | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmJw0cACgkQmb+gadEcsb50fgCeIpgdOMctQnydAUI+Loc0vGBs
ObcAoM81kbhLBINX+yPCxj5s1/FztsdW
=7Js1
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:novos...@umdnj.edu
title:Systems Programmer II
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring to a specific client

2009-02-04 Thread Vladimir Vassiliev

Choose mod.

On Среда 04 февраля 2009, victor wrote:
 I have many clients defined, but when I try to restore a specific 
 client, there is no option to select the client.
 
 $ done
 Bootstrap records written to 
 /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
 The job will require the following Volumes:
   Bacula1
 10 files selected to be restored.
 
 Run Restore job
 JobName:Restaurare Fisiere Calc Victor
 Bootstrap:  /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
 Where:  /tmp/bacula-restores
 Replace:always
 FileSet:Personalizari MF
 Client: client1-fd
 Storage:File
 When:   2009-02-04 12:48:37
 Catalog:MyCatalog
 Priority:   10
 OK to run? (yes/mod/no):
 
 Why don't I have the option to restore where I want to?
 
 



-- 
Vladimir Vassiliev v...@edu.yar.ru

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and databases ...

2009-02-04 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yes, and a sample script is included with the software. Look at what the
job named Catalog does.

=R

Reynier Perez Mira wrote:
 Hi every:
 I've been using Bacula for a while and now I have a big question: it's 
 possible to save the database data? I mean like an SQL query or a dump? Any 
 plugins for do that?
 Cheers and thanks in advance
 Ing. Reynier Pérez Mira
 Dirección Técnica IP 
  
 
 __ Información de ESET NOD32 Antivirus, versión de la base de firmas 
 de virus 3825 (20090204) __
 
 ESET NOD32 Antivirus ha comprobado este mensaje.
 
 http://www.eset.com
  
 
 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$| |__| |  | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmJxR0ACgkQmb+gadEcsb7z2ACffpp3T/0YYUJWJl8ft5YQyawU
QSAAmwdyV4/WbHRFly4lkzp9DAez21Td
=kzBW
-END PGP SIGNATURE-

begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:novos...@umdnj.edu
title:Systems Programmer II
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring to a specific client

2009-02-04 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Victor Sterpu wrote:
 Yes, I have the mod option and when I give the mod command I receive 
 this menu:
 
 OK to run? (yes/mod/no): mod
 Parameters to modify:
  1: Level
  2: Storage
  3: Job
  4: FileSet
  5: Client
  6: When
  7: Priority
  8: Bootstrap
  9: Where
 10: Replace
 11: JobId
 Select parameter to modify (1-11): 5
 
 
 I select 5 to change the client, but no option  is available. I 
 receive the original screen.
 For other restores I can select from my 2 clients.
 
 Automatically selected Client: victor-sterpu-fd
 Run Restore job
 JobName:Restaurare Fisiere Calc Victor
 Bootstrap:  /var/lib/bacula/192.168.0.191-dir.2.restore.bsr
 Where:  /tmp/bacula-restores
 Replace:always
 FileSet:Personalizari MF
 Client: victor-sterpu-fd
 Storage:File
 When:   2009-02-04 15:37:57
 Catalog:MyCatalog
 Priority:   10
 OK to run? (yes/mod/no):
 
 Thank you.
 
 Frank Sweetser wrote:
 victor wrote:
 I have many clients defined, but when I try to restore a specific 
 client, there is no option to select the client.

 $ done
 Bootstrap records written to 
 /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
 The job will require the following Volumes:
   Bacula1
 10 files selected to be restored.

 Run Restore job
 JobName:Restaurare Fisiere Calc Victor
 Bootstrap:  /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
 Where:  /tmp/bacula-restores
 Replace:always
 FileSet:Personalizari MF
 Client: client1-fd
 Storage:File
 When:   2009-02-04 12:48:37
 Catalog:MyCatalog
 Priority:   10
 OK to run? (yes/mod/no):

 Why don't I have the option to restore where I want to?
 You see how the final prompt gives you three options - yes/mod/no?  
 Type in 'mod' and it will give you a chance to modify all restore 
 options, including the client you wish to restore to.

I suspect you are using a very old version of Bacula and have not
bothered to tell anyone when asking for help. It is always best to
include the proper information when starting a thread on a mailing list
so that folks will be better able to assist.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$| |__| |  | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmJxdAACgkQmb+gadEcsb4tZQCgiQ7tvyaouTb6Q4I15TivOAFg
DzYAoIwQ6x+31SM0golEzgrz1Jsk6b0I
=7f/l
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:novos...@umdnj.edu
title:Systems Programmer II
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Corrupted Tape

2009-02-04 Thread Arno Lehmann
Hi,

03.02.2009 20:51, Clark, Stephen E. wrote:
 
 
 I am having trouble restoring from tape.  The last tape in my series has 
 a problem with the label.  The error I get from the console is:
 
  
 
 02-Feb 19:04 maxwell-sd JobId 762: 3304 Issuing autochanger load slot 
 1, drive 0 command.
 
 02-Feb 19:04 maxwell-sd JobId 762: 3305 Autochanger load slot 1, drive 
 0, status is OK.
 
 02-Feb 19:04 maxwell-sd JobId 762: Error: block.c:275 Volume data error 
 at 0:0! Wanted ID: BB02, got . Buffer discarded.

Ok... that tape is definitely no longer usable for Bacula as it 
doesn't contain a Bacula label any more.

 02-Feb 19:04 maxwell-sd JobId 762: Warning: acquire.c:260 Requested 
 Volume 000183L1 on Tape (/dev/nst0) is not a Bacula labeled Volume, 
 because: ERR=block.c:275 Volume data error at 0:0! Wanted ID: BB02, 
 got . Buffer discarded.
 
 02-Feb 19:04 maxwell-sd JobId 762: Warning: acquire.c:260 Requested 
 Volume 000183L1 on Tape (/dev/nst0) is not a Bacula labeled Volume, 
 because: ERR=block.c:275 Volume data error at 0:0! Wanted ID: BB02, 
 got . Buffer discarded.
 
 02-Feb 19:04 maxwell-sd JobId 762: Please mount Volume 000183L1 for:
 
 Job:  RestoreFiles.2009-02-02_18.18.41.03
 
 Storage:  Tape (/dev/nst0)
 
 Pool: Default
 
 Media type:   LTO-2
 
  
 
 I was trying to see what output the ‘tapeinfo’ command would give me, 
 and I believe it wrote to the front of the tape and destroyed the 
 label.

If it did that - and I seriously doubt that - it's a bug you should 
first try to reproduce and then report to the tapeinfo maintainer.

  I believe the data on the tape should be mostly intact and I 
 would like to relabel it without losing all of the data.  I am currently 
 restoring to a previous backup that doesn’t include that last tape, but 
 it would be nice to be able to salvage the data.  I was thinking that I 
 could dd a label onto the front of the tape, but I do not know what a 
 Bacula label looks like, nor what block size it is written in. 

No way... I understand you're using LTO tape, and those tapes store 
the end of the last write operation not only on tape but, AFAIK, also 
on their cartridge memory chip... in other words, you can't write 
something to the beginning of the tape and later read beyond that 
(with more plain tape technology, you had a (slim) chance of succeding 
with such a procedure).

  
 
 [r...@maxwell tape_recover]# dd if=/dev/st0 of=testfile ibs=64k count=1
 
 0+1 records in
 
 0+1 records out
 
 [r...@maxwell tape_recover]# od -x testfile
 
 000 002a  005c     
 
 020        
 
 040   0012  0038
 
 052

A very short block, by the way.

  
 
 Does anyone have experience with recovering corrupt tapes?  Any ideas on 
 how to recover the tape would be appreciated.

Try bls or bextract with the -p switch... other than that, this would 
be a case for a profession data recovery company.

By the way - any further diagnostics should be done with the write 
protect slider engaged!

Good luck,

Arno

  
 
 S. Eric Clark
 
 E-Mail: stephen.e.cl...@saic.com mailto:stephen.e.cl...@saic.com
 
 SAIC
 
  
 
 
 
 
 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 
 
 
 
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and databases ...

2009-02-04 Thread John Drescher
 Hi every:
 I've been using Bacula for a while and now I have a big question: it's 
 possible to save the database data? I mean like an SQL query or a dump? Any 
 plugins for do that?

I do it the same way bacula does it for the catalog. mysql or
postgresql dump utilities. This is good if the database can be dumped
in a few minutes. For example the 27GB database for my bacula catalog
dumps in less than 10 minutes (actually the whole job finishes in that
time).

John

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring to a specific client

2009-02-04 Thread Victor Sterpu
Yes, I have the mod option and when I give the mod command I receive 
this menu:

OK to run? (yes/mod/no): mod
Parameters to modify:
 1: Level
 2: Storage
 3: Job
 4: FileSet
 5: Client
 6: When
 7: Priority
 8: Bootstrap
 9: Where
10: Replace
11: JobId
Select parameter to modify (1-11): 5


I select 5 to change the client, but no option  is available. I 
receive the original screen.
For other restores I can select from my 2 clients.

Automatically selected Client: victor-sterpu-fd
Run Restore job
JobName:Restaurare Fisiere Calc Victor
Bootstrap:  /var/lib/bacula/192.168.0.191-dir.2.restore.bsr
Where:  /tmp/bacula-restores
Replace:always
FileSet:Personalizari MF
Client: victor-sterpu-fd
Storage:File
When:   2009-02-04 15:37:57
Catalog:MyCatalog
Priority:   10
OK to run? (yes/mod/no):

Thank you.

Frank Sweetser wrote:
 victor wrote:
 I have many clients defined, but when I try to restore a specific 
 client, there is no option to select the client.

 $ done
 Bootstrap records written to 
 /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
 The job will require the following Volumes:
   Bacula1
 10 files selected to be restored.

 Run Restore job
 JobName:Restaurare Fisiere Calc Victor
 Bootstrap:  /var/lib/bacula/192.168.0.191-dir.3.restore.bsr
 Where:  /tmp/bacula-restores
 Replace:always
 FileSet:Personalizari MF
 Client: client1-fd
 Storage:File
 When:   2009-02-04 12:48:37
 Catalog:MyCatalog
 Priority:   10
 OK to run? (yes/mod/no):

 Why don't I have the option to restore where I want to?

 You see how the final prompt gives you three options - yes/mod/no?  
 Type in 'mod' and it will give you a chance to modify all restore 
 options, including the client you wish to restore to.



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Setup advices for some heterogenous set of server

2009-02-04 Thread Arno Lehmann
Hello,

03.02.2009 13:44, Thomas Manson wrote:
 Hi,
  
   I've read quite some stuff about bacula, but I'm still not sure of the 
 best way to implement it.
  
   I've attached a simple diagram that represent the network as it will 
 soon be. (DNS Server 1 and WebServer 2 are not yet setup).
  
   On each server of the left side, the host provider gives 160GB of disk 
 on FTP.
   The Home Server is the server that will run the Backup Director.
  
   Over internet, servers can communicate via SSH. Additionnal port can 
 be opened, but I'd rather not.

You can tunnel any connection where you can specify the host and port 
to use through ssh. In Bacula, you could set up the tunnels using a 
run before job script.

A regular VPN might be easier to maintain, though harder to set up.

   HomeServer and Office Server has an 1MByte/s download and 100KByte/s 
 upload capabilities.

That's a bit limited for backup purposes of large data sets.

   Other Servers have more the 50MByte/s upload capabilities
  
   For WebServer1  3, and Office Server, I've no other solution that get 
 backup to HomeServer.
   For other servers, I've the 160GB disks available, but I'm not sure of 
 their reliabality (Probably not raid 1 or 5 device, who can access).
  
   Any thought, advice?

Well, it's quite important to know where you want your backups to end 
up. Assuming you want them all consolidated on the HomeServer, you'd 
need some VPN/ssh tunnels to all the servers you want to back up.

Once those exist, it's a rather standard situation to set up Bacula 
accordingly.

If you need to keep backup data on te different sites because of the 
traffic limitations, you'll end up with a number of SDs - one in each 
location - but you can still control those with a single DIR instance. 
Getting a usable setup might be difficult because the SD address in 
the configuration needs to be valid both for the DIR and the FDs 
accessing that SD - again, a VPN might be useful, but some careful 
/etc/hosts edits on all the sites might do the trick.

If all your servers are accessible with public IPs / DNS names, that's 
not much of an issue, though.

More specific advice would require some more knowledge about your 
network layout - are those heavily firewalled networks, do they share 
a common DNS zone, or are they even networks completely separated from 
each other?

Arno

  
 Regards,
 Thomas.
  
  
  
 
 
 
 
 
 
 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 
 
 
 
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula on Solaris 10 or SXCE

2009-02-04 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Blastwave is what I was referring to. I'm a little surprised they
haven't gone past 2.2.8, but that's the latest I feel like running
anyway (2.4.x seemed to be a little problematic for awhile there and
things are running fine as-is).

=R

Brian Debelius wrote:
 Are you speaking of Solaris binaries or Linux binaries?  I have not seen
 any Solaris packages.  I saw Bacula v2.2.8 on Blastwave a few minutes ago.
 
 
 Ryan Novosielski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Do you have some reason you need to compile it as opposed to using
 binary packages that are provided? I switched from the former to the
 latter (albeit on Solaris 9 for my director/storage daemon), but because
 it was easier, not because it didn't work (it worked fine).

 Brian Debelius wrote:
  
 Hi,

 I have watched a few threads go by about compiling Bacula on Solaris,
 and I have not come to the conclusion as to whether anyone has gotten
 it to run and be stable. So..
 Does Bacula compile? Does Bacula run reliably once compiled?
 
 


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$| |__| |  | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmJygwACgkQmb+gadEcsb5WfACguCTj98EXQju7SR+51C4oN/u4
b7gAoL9nfiOwc4ueBPq2b7irt2+BFGWw
=qnOS
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:novos...@umdnj.edu
title:Systems Programmer II
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Perception of Bacula (was: products based on bacula)

2009-02-04 Thread Foo
On Sat, 31 Jan 2009 08:02:14 +0100, Dan Langille d...@langille.org wrote:

 On Jan 30, 2009, at 3:07 PM, Arno Lehmann wrote:

 When I'm talking with the management of a potential customer, I
 neither use the tag line, nor do we read over the website together...

Right, so you filter. Which is not always possible.

 In fact, if they want to talk about those things, they probably know a
 web server called apache, whose name is also quite ridiculous.

It's not how fanciful a name is, but the (unintended) connotations.

 All product evaluation should start with a list of requirements.  We all
 know about requirements collection.  From there, you evaluate the
 available products.  Often points are awarded for various features.

In my case we are byond the requirements stage, this is about selling it  
to third parties. Incidentally, I got a reply which concisely stated that  
no third party software may be installed, so the issue was deftly avoided,  
but I'm pretty sure the above played a part.

 I have yet to see any requirements which specified  nice name or
 non-tacky by line.

Sure, but back in the real world marketing is king. The current Bacula  
marketing doesn't score points in some quarters, whether you like it or  
not (and eventually if you want to compete you have to compromise, whether  
you have 'do no evil' as your motto or not (see China)).

 We have much bigger and better fish to fry.  Worrying about potential
 users who clearly do not have their priorities in order is not on our
 top 10 list.

Hey, I'm just trying to help, illustrated with example.

 If we were out to make money, these issues have much more merit.

I thought that was the object of Bacula Systems.


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula on Solaris 10 or SXCE

2009-02-04 Thread Brian Debelius
Are you speaking of Solaris binaries or Linux binaries?  I have not seen 
any Solaris packages.  I saw Bacula v2.2.8 on Blastwave a few minutes ago.


Ryan Novosielski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Do you have some reason you need to compile it as opposed to using
 binary packages that are provided? I switched from the former to the
 latter (albeit on Solaris 9 for my director/storage daemon), but because
 it was easier, not because it didn't work (it worked fine).

 Brian Debelius wrote:
   
 Hi,

 I have watched a few threads go by about compiling Bacula on Solaris, 
 and I have not come to the conclusion as to whether anyone has gotten it 
 to run and be stable. So..
 Does Bacula compile? Does Bacula run reliably once compiled?
 


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and databases ...

2009-02-04 Thread John Drescher
On Wed, Feb 4, 2009 at 12:14 PM, Reynier Perez Mira rper...@uci.cu wrote:
 I do it the same way bacula does it for the catalog. mysql or postgresql 
 dump utilities. This is good if the database can be dumped in a few minutes. 
 For example the
 27GB database for my bacula catalog dumps in less than 10 minutes (actually 
 the whole job finishes in that time).

 And what is that way? Use the backup utility for PostgreSQL or MySQL instead 
 of use Bacula Catalog?

Like Ryan said check out the script for the bacula catalog backup. It
uses the dump utilities and is a good example of how to do this
directly.

For me what I do for most of my smaller database backups is have a
cron job dump the databases (compressing the dump) each night and then
have bacula do an incremental backup on the dump folder.


Here is an example of this for a mysql database:

jmd1 ~ # cat /etc/cron.daily/mythtv.cron
#! /bin/sh
mkdir -p /var/backup/mythtv
mysqlrepair --all-databases
/usr/bin/mysqldump -u mythtv mythconverg | /bin/bzip2 -c 
/var/backup/mythtv/mythtv-`date +%F`.bz2

John

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Same library on two or more server

2009-02-04 Thread Shad L. Lords
Daniele Eccher wrote:
 I use bacula than more 2 years with good result.
 I have a question because I think to use the same library (Spectralogi 
 T50) on two different servers. This is becouse the amount of data is 
 very big (more than 2 TB) and use the fibre channel rather than ethernet 
 is more fast.
 
 I have installed the storage daemon and client daemon on the other 
 machine where is the data to backup. I command this storage daemon using 
 the old Director on the other server, and my question is:
 
 I configure the library on the storage daemon configuration file at the 
 same on the true server where the other backup running, or i do that , 
 for the director, this is a new library?

This is almost identical to what I wanted to do a few months ago. 
Search the archives for a thread called Changer on different host.  I 
also submitted a feature request back then (at the wrong time) to add 
this functionality.

Kern, would you like me to resubmit this request to be added to the list 
or can you dig it out of the archives?

-Shad

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with restore

2009-02-04 Thread Kern Sibbald
Hello,

You are running a pretty old version of Bacula, and it appears you have used 
encryption on Win32 (not specified). If I remember right, the first releases 
with encryption had a problem with encryption signatures failing on Win32 
because Microsoft does not restore files bit for bit when doing 
BackupWrite().  I fixed the code to kludge this a long time ago.

Also it seems to me that this is an Error, which is annoying from the stand 
point that a lot of messages print, but an Error is not fatal to the restore 
job, so in fact, your data should be correctly restored except for the 
undesired messages.   If your restore job is in fact getting canceled (I hope 
not), you will need to modify the code and rebuild the FD.  Alternatively 
updating to a later FD in the 2.0.x series (possibly even in the 2.2 series) 
should eliminate the problem.  By reading the technotes, you could probably 
find in which version the problem was fixed.  If I remember right, the data 
on the Volume is correct and the only changes involved exactly how the 
signature is created and compared.

The encryption signature is separate from the MD5 signatures and the check 
cannot be disabled during restore without modifying the code, which should 
not really be necessary as I explained above.

Best regards,

Kern

On Wednesday 04 February 2009 18:59:39 Stephen Maher wrote:
 Hi Kern..

 I hope you dont mind me emailing you like this.. I have this problem
 when trying to restore a file

 04-Feb 17:31 gin-fd: RestoreFiles.2009-02-04_16.51.57 Error:
 ../../filed/restore.c:815 Signature validation failed for
 /tmp/bacula-restores/d/.xls: Signature is invalid
 04-Feb 17:31 slop-dir: RestoreFiles.2009-02-04_16.51.57 Error: Bacula
 2.0.3 (06Mar07): 04-Feb-2009 17:31:49

 We are using MD5 signatures..

 Is there a way of restoring a file by turning off md5 signature
 comparisons when restoring?

 Many thanks
 Stephen



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] copy and compression

2009-02-04 Thread Hemant Shah
Folks,

  I am waiting for the new release of bacula so that I can use copy feature. 
Currently I run full backup twice. First to tape, no compression by bacula, 
compression is done by tape drive. Next I do full backup to disk with 
compression on.

How do I deal with compression for copy job? Will bacula uncompress the data on 
the disk and then copy to tape or will I have to turn off compression on the 
tape drive and copy will write compressed data to the tape?

Thanks.

Hemant Shah
E-mail: hj...@yahoo.com


  

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bug / RFE

2009-02-04 Thread Dupree, Craig
This is starting to get annoying

Can the parts of bacula that ask for volume names not arbitrarily use atoi on 
them?

Here is a good example where I want to purge a volume name, since I know now 
the list of volumes that I want to purge and reuse for this month's backup set:

Enter MediaId or Volume name: 29
sql_get.c:1002 Media record MediaId=29 not found.

In this case, it's only a hassle because MediaId 29 doesn't exist.   A worse 
problem occurs when the leading zeros are stripped off of a volume name, and 
the resulting number is a valid MediaId. 

Craig

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula on Solaris 10 or SXCE

2009-02-04 Thread Attila Fülöp
Brian Debelius wrote:
 Hi,
 
 I have watched a few threads go by about compiling Bacula on Solaris, 
 and I have not come to the conclusion as to whether anyone has gotten it 
 to run and be stable. So..
 Does Bacula compile? Does Bacula run reliably once compiled?

Yes, I'm using bacula on Solaris 8 Sparc, Solaris 10 u4, u5 ,u6 and
OpenSolaris 2008.11 amd64. All compiled from source. All installations work
reliable. (Busniness backup, of 4 servers and one workstation,  700GB
fulls total)

If you are using SunStudio12  please see 4. in
http://article.gmane.org/gmane.comp.bacula.user/46720/
I don't know if this bug is already fixed.

Note that there is no supoort for new style (zfs) ACLs.

HTH

Attila


 
 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Perception of Bacula (was: products based on bacula)

2009-02-04 Thread Arno Lehmann
Hi,

04.02.2009 18:13, Foo wrote:
 On Sat, 31 Jan 2009 08:02:14 +0100, Dan Langille d...@langille.org wrote:
 
 On Jan 30, 2009, at 3:07 PM, Arno Lehmann wrote:
 
 When I'm talking with the management of a potential customer, I
 neither use the tag line, nor do we read over the website together...
 
 Right, so you filter. Which is not always possible.

Well, I agree, though personally, I never encountered such a 
situation. Which might be because, most of the time now, potential 
customers contact me, and not vice versa :-)

 In fact, if they want to talk about those things, they probably know a
 web server called apache, whose name is also quite ridiculous.
 
 It's not how fanciful a name is, but the (unintended) connotations.

I really fail to see the negative connotations... still.

 
 All product evaluation should start with a list of requirements.  We all
 know about requirements collection.  From there, you evaluate the
 available products.  Often points are awarded for various features.
 
 In my case we are byond the requirements stage, this is about selling it  
 to third parties. Incidentally, I got a reply which concisely stated that  
 no third party software may be installed, so the issue was deftly avoided,  
 but I'm pretty sure the above played a part.
 
 I have yet to see any requirements which specified  nice name or
 non-tacky by line.
 
 Sure, but back in the real world marketing is king. The current Bacula  
 marketing doesn't score points in some quarters, whether you like it or  
 not (and eventually if you want to compete you have to compromise, whether  
 you have 'do no evil' as your motto or not (see China)).
 
 We have much bigger and better fish to fry.  Worrying about potential
 users who clearly do not have their priorities in order is not on our
 top 10 list.
 
 Hey, I'm just trying to help, illustrated with example.

... and I guess the fact that people still read and answer this thread 
shows you we appreciate that!

 If we were out to make money, these issues have much more merit.
 
 I thought that was the object of Bacula Systems.

Hmm... in fact, Bacula Systems SA tries to keep separate from the 
open-source project (though this might be hard to believe, as some of 
the core developers are involved in the company as well). In other 
words, even if you explained your worries to Bacula System's marketing 
department, the response from the users community would still be a 
most important factor.

Given the company's intentions, if you're sure that tag line has to go 
or to be replaced, I would suggest you start a poll on this mailing 
list and forward the result... I'm pretty sure Kern (who's IP the name 
and tag line are, probably) will consider any such request, though I'm 
also sure he's quite fond of both name and tag line (actually, by now, 
I share that fondness :-)

Arno

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bug / RFE

2009-02-04 Thread Arno Lehmann
Hi,

04.02.2009 19:13, Dupree, Craig wrote:
 This is starting to get annoying
 
 Can the parts of bacula that ask for volume names not arbitrarily
 use atoi on them?

Not easily, no...

 Here is a good example where I want to purge a volume name, since I
 know now the list of volumes that I want to purge and reuse for
 this month's backup set:
 
 Enter MediaId or Volume name: 29 sql_get.c:1002 Media record
 MediaId=29 not found.
 
 In this case, it's only a hassle because MediaId 29 doesn't exist.
 A worse problem occurs when the leading zeros are stripped off of a
 volume name, and the resulting number is a valid MediaId.

The problem is that the requests accepts both MediaId or a Volume 
name. MediaId is always numeric, a volume name is not.

As long as volume names can be numeric, and there is no way to 
distinguish if a MediaId or a volume name is entered, I see no simle 
solution to the problem.

Actually, as most volume names today are non-numeric, I don't think 
this affects enough users to make a fix an urgent thing.

You can, of course, post a proper feature request - preferrably along 
with a potential solution. A solution would have to be compatible to 
todays behaviour, though, as that interface is probably used by 
scripts; thus, requiring qoutes or any other special way to 
distinguish between media id and volume name when entered is probably 
not the best way.

I could imagine some post-input checks, i.e., after the value is 
entered, and it's numerical only, and has leading zeros, see if a 
volume with that MediaId exists. If there isn't one, use the input as 
a volume name.

I'm sure other solutions could be found...

Arno

 Craig
 
 --
  Create and Deploy Rich Internet Apps outside the browser with
 Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use
 existing skills and code to build responsive, highly engaging
 applications that combine the power of local resources and data
 with the reach of the web. Download the Adobe AIR SDK and Ajax docs
 to start building applications today-http://p.sf.net/sfu/adobe-com 
 ___ Bacula-users
 mailing list Bacula-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-- 
Arno Lehmann
IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück
www.its-lehmann.de

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] atoi and volume name/media name ambiguity (Was: Re: Bug / RFE)

2009-02-04 Thread mark . bergman


In the message dated: Wed, 04 Feb 2009 21:24:41 +0100,
The pithy ruminations from Arno Lehmann on 
Re: [Bacula-users] Bug / RFE were:
= Hi,
= 
= 04.02.2009 19:13, Dupree, Craig wrote:
=  This is starting to get annoying
=  =
= 
=  Can the parts of bacula that ask for volume names not arbitrarily
=  use atoi on them?
= 
= Not easily, no...
= 
=  Here is a good example where I want to purge a volume name, since I
=  know now the list of volumes that I want to purge and reuse for
=  this month's backup set:
=  =
= 
=  Enter MediaId or Volume name: 29 sql_get.c:1002 Media record
=  MediaId=3D29 not found.
=  =
= 
=  In this case, it's only a hassle because MediaId 29 doesn't exist.
=  A worse problem occurs when the leading zeros are stripped off of a
=  volume name, and the resulting number is a valid MediaId.


Yes, I've been bitten by this several timesannoying and a bit confusing.

= 
= The problem is that the requests accepts both MediaId or a Volume =
= 
= name. MediaId is always numeric, a volume name is not.
= 
= As long as volume names can be numeric, and there is no way to =
= 
= distinguish if a MediaId or a volume name is entered, I see no simle =
= 
= solution to the problem.
= 
= Actually, as most volume names today are non-numeric, I don't think =
 ^^

What's the data behind that statement? By most do you mean most customer 
sites use non-numeric volume names or most pieces of media have volume names 
that are non-numeric. Though there's no data, I might agree with the first
case. However, when I look at the ~200 bar-coded tapes on the shelf behind me, 
that's a lot of data that supports the idea that most volume names are actually 
numeric.

Here's another way of looking at it...

The distinction between 29 and 29 is highly relevent for
computers, and much less obvious or understood for the human
beings who use computers.

I see it is a very bad design principle to make human beings think like 
computers, forcing people to accomodate their work processes to satisfy a
piece of software, rather than the other way around.

= 
= this affects enough users to make a fix an urgent thing.
= 
= You can, of course, post a proper feature request - preferrably along =
= 
= with a potential solution. A solution would have to be compatible to =
= 
= todays behaviour, though, as that interface is probably used by =
= 
= scripts; thus, requiring qoutes or any other special way to =
= 
= distinguish between media id and volume name when entered is probably =
= 
= not the best way.


Yes, backward compatibilty is important, and every bug report or RFE would 
ideally come with a proposed solution, a working patch, etc., etc.. However,
users often identify bugs (or, in this case, a dubious design choice that works 
correctly, but should be enhanced) but cannot provide a solution.


= 
= I could imagine some post-input checks, i.e., after the value is =
= 
= entered, and it's numerical only, and has leading zeros, see if a =
= 
= volume with that MediaId exists. If there isn't one, use the input as =
= 
= a volume name.


That sounds like a good first description for a way to fix this.

Mark

= 
= I'm sure other solutions could be found...
= 
= Arno
= 
=  Craig
=  =



The information contained in this e-mail message is intended only for the 
personal and confidential use of the recipient(s) named above. If the reader of 
this message is not the intended recipient or an agent responsible for 
delivering it to the intended recipient, you are hereby notified that you have 
received this document in error and that any review, dissemination, 
distribution, or copying of this message is strictly prohibited. If you have 
received this communication in error, please notify us immediately by e-mail, 
and delete the original message.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] feature request: fixed naming/numbering of sql queries

2009-02-04 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kern Sibbald wrote:
 Hello,
 
 I have added this to the projects list.
 
 Best regards,
 
 Kern
 
 On Wednesday 24 January 2007 16:43:45 mark.berg...@uphs.upenn.edu wrote:
 Item  1:  enable persistent naming/number of SQL queries

   Date:   24 Jan, 2007
   Origin: Mark Bergman
   Status:

   What:
 Change the parsing of the query.sql file and the query command so
 that queries are named/numbered by a fixed value, not their order in the
 file.


   Why:
 One of the real strengths of bacula is the ability to query the
 database, and the fact that complex queries can be saved and
 referenced from a file is very powerful. However, the choice
 of query (both for interactive use, and by scripting input
 to the bconsole command) is completely dependent on the order
 within the query.sql file. The descriptve labels are helpful for
 interactive use, but users become used to calling a particular
 query by number, or may use scripts to execute queries. This
 presents a problem if the number or order of queries in the file
 changes.

Wanted to give a +1 on this one. It's inconvenient to have this change
on you when you aren't routinely checking on your crontabs that may be
using it.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$| |__| |  | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmKA2wACgkQmb+gadEcsb6fXgCfcW0dgW7cwbRkqSp7ow0eQP2R
JC4Anjhs5ev14qzyY6hOCzO8tna9zbDc
=LVeI
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:novos...@umdnj.edu
title:Systems Programmer II
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature request

2009-02-04 Thread Kevin Keane
Here is a second feature request

Item n:   Document the database design
  Origin: Kevin Keane, subscript...@kkeane.com
  Date:   February 4, 2009
  Status:

  What:   I would like to see a complete documentation of all the 
database tables.

  Why:bconsole has the command sqlquery but without knowing what 
to query for, it is fairly useless.

  Notes:  Many common queries are accessible via the query command, 
which completely hides the database. But query is limited to those few 
predefined queries.

Alternatively, instead of documenting the database, maybe it would be 
better to remove the command sqlquery completely, since it is also 
easy to abuse (what's to stop somebody from doing insert or update 
queries?) Those people who really do need such low-level functionality 
can use mysql or postgres directly.


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to 
Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information 
herein is intended only for use by the intended recipient(s) named 
above. If you have received this transmission in error, please notify 
the sender immediately and permanently delete the e-mail and any copies, 
printouts or attachments thereof.


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature Request

2009-02-04 Thread Kevin Keane
Item n:   Implement a scripting API

Origin: Kevin Keane, subscript...@kkeane.com

Date:   February 4, 2009

Status:

What:   I would like to see a scripting API that can be directly called 
from at least one major scripting language, such as Perl, Python, or 
possibly HTTP/XML/Soap or similar.

Why:Currently, all scripting has to be done by emulating user input 
to bconsole. This is tedious, kludgy, error prone, and does not readily 
allow for taking different actions based on the output from one script. 
It also makes processing the output difficult (you have to parse out 
output that is intended for users), and ultimately also constrains the 
development of bconsole (because in order to not break scripts, bconsole 
cannot just change error messages for clarification, for instance). 
Somebody else recently pointed out that the numbering of queries in the 
Query command may change and break scripts, too.

Notes: 

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to 
Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information 
herein is intended only for use by the intended recipient(s) named 
above. If you have received this transmission in error, please notify 
the sender immediately and permanently delete the e-mail and any copies, 
printouts or attachments thereof.


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bug / RFE

2009-02-04 Thread Kevin Keane
Arno Lehmann wrote:
 Hi,

 04.02.2009 19:13, Dupree, Craig wrote:
   
 This is starting to get annoying

 Can the parts of bacula that ask for volume names not arbitrarily
 use atoi on them?
 

 Not easily, no...

   
 Here is a good example where I want to purge a volume name, since I
 know now the list of volumes that I want to purge and reuse for
 this month's backup set:

 Enter MediaId or Volume name: 29 sql_get.c:1002 Media record
 MediaId=29 not found.

 In this case, it's only a hassle because MediaId 29 doesn't exist.
 A worse problem occurs when the leading zeros are stripped off of a
 volume name, and the resulting number is a valid MediaId.
 

 The problem is that the requests accepts both MediaId or a Volume 
 name. MediaId is always numeric, a volume name is not.

 As long as volume names can be numeric, and there is no way to 
 distinguish if a MediaId or a volume name is entered, I see no simle 
 solution to the problem.
   
How about allowing quoting? If you really mean volume labels, type 
29. That should be completely backwards compatible (unless the 
quote characters are allowed in volume labels - I don't think they are?)

If I was to design this from scratch, I'd actually *require* quoting for 
volume labels (for consistency), but that would break backwards 
compatibility.
 Actually, as most volume names today are non-numeric, I don't think 
 this affects enough users to make a fix an urgent thing.
   
It seems to me that somebody actually ran into that issue, so it 
probably is somewhat pressing for some users.

As long as it is legal as a volume name, bacula should be able to 
process it correctly.
 I could imagine some post-input checks, i.e., after the value is 
 entered, and it's numerical only, and has leading zeros, see if a 
 volume with that MediaId exists. If there isn't one, use the input as 
 a volume name.
   
In a way, that would be nice - but actually, it's not completely 
backwards compatible because for the exact same input, bacula's behavior 
would be changing.

It also doesn't cover all the bases, because who says that volume labels 
have to have leading zeros. What about a scenario where the volume label 
has only digits but doesn't start with a leading zero? In that case, you 
might well have a volume label 137 and a media id 137 and you'd still 
have the same problem.

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature request

2009-02-04 Thread Dan Langille

On Feb 4, 2009, at 5:50 PM, Kevin Keane wrote:

 Here is a second feature request

 Item n:   Document the database design
  Origin: Kevin Keane, subscript...@kkeane.com
  Date:   February 4, 2009
  Status:

  What:   I would like to see a complete documentation of all the
 database tables.

Complete is subjective.

What do you define as complete?  What is missing that you want to see?
When we start the documentation, how can we tell when we're done?



  Why:bconsole has the command sqlquery but without knowing what
 to query for, it is fairly useless.

  Notes:  Many common queries are accessible via the query command,
 which completely hides the database. But query is limited to those few
 predefined queries.

 Alternatively, instead of documenting the database, maybe it would be
 better to remove the command sqlquery completely, since it is also
 easy to abuse (what's to stop somebody from doing insert or update
 queries?) Those people who really do need such low-level functionality
 can use mysql or postgres directly.


 --  
 Kevin Keane
 Owner
 The NetTech
 Find the Uncommon: Expert Solutions for a Network You Never Have to
 Think About

 Office: 866-642-7116
 http://www.4nettech.com

 This e-mail and attachments, if any, may contain confidential and/or
 proprietary information. Please be advised that the unauthorized use  
 or
 disclosure of the information is strictly prohibited. The information
 herein is intended only for use by the intended recipient(s) named
 above. If you have received this transmission in error, please notify
 the sender immediately and permanently delete the e-mail and any  
 copies,
 printouts or attachments thereof.


 --
 Create and Deploy Rich Internet Apps outside the browser with  
 Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills  
 and code to
 build responsive, highly engaging applications that combine the  
 power of local
 resources and data with the reach of the web. Download the Adobe AIR  
 SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Dan Langille - http://langille.org/

BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference: http://www.pgcon.org/






--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature request

2009-02-04 Thread Timo Neuvonen
 Here is a second feature request

 Item n:   Document the database design
  Origin: Kevin Keane, subscript...@kkeane.com
  Date:   February 4, 2009
  Status:

  What:   I would like to see a complete documentation of all the
 database tables.

 Complete is subjective.

 What do you define as complete?  What is missing that you want to see?
 When we start the documentation, how can we tell when we're done?

  Why:bconsole has the command sqlquery but without knowing what
 to query for, it is fairly useless.

Isn't that information available in the Developer Documentation, that AFAIK 
is separate from User Documentation, though publicly available?


--
TiN 



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bug or a feature :-)

2009-02-04 Thread Masopust, Christian
Maybe I missed in the documentation but
 
Today (ok, yesterday :-) I added a directory containing some old files (last 
modification
date is before my last full-backup) to one of my filesets.
Now I'm wondering that they weren't backed up (I assume because of so old 
modification
time).
 
Shouldn't this directory be backed up as it is completely new to this fileset 
(I also restarted
bacula-services) ?
 
Or am I wrong and missed that in the documentation...
 
Thanks,
Christian
 
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and databases ...

2009-02-04 Thread Daniele Eccher
Hi Reynier,

yes It's possibile and a duty save the database data of bacula. At 
default already the bacula have BackupCatalog , and this jobs do a dump 
of database and save the data of it. I advice to do copy the dump of DB 
(created by previous jobs in one directory) and copy it on other server 
, to have the database save if the server that have BackupCatalog fail.


Reynier Perez Mira wrote:
 Hi every:
 I've been using Bacula for a while and now I have a big question: it's 
 possible to save the database data? I mean like an SQL query or a dump? Any 
 plugins for do that?
 Cheers and thanks in advance
 Ing. Reynier Pérez Mira
 Dirección Técnica IP 
  

 __ Información de ESET NOD32 Antivirus, versión de la base de firmas 
 de virus 3825 (20090204) __

 ESET NOD32 Antivirus ha comprobado este mensaje.

 http://www.eset.com
  

 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


   

-- 
Daniele Eccher
Gruppo Darco  - ICT Sistemi
Via Ostiense 131/L Corpo B, 00154 Roma
E-mail: daniele.ecc...@sociale.it  
tel  : +39 06 57060 500 
cell : +39 346 1426128

Ai sensi e per gli effetti delle disposizioni vigenti in materia di tutela 
della riservatezza personale (D.lgs 196/2003), questa @mail è destinata 
unicamente alle persone sopra indicate e le informazioni in essa contenute sono 
da considerarsi strettamente riservate. E' proibito leggere, copiare, usare o 
diffondere il contenuto della presente @mail senza autorizzazione. Se avete 
ricevuto questa @mail per errore, siete pregati di rispedire la stessa al 
mittente. Grazie


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bug or a feature :-)

2009-02-04 Thread Kevin Keane
Normally, any change to a fileset should trigger a full backup, to 
address exactly that type of situation.

Maybe you have Ignore Fileset Changes = yes in your fileset definition? 
That turns off that behavior.

Masopust, Christian wrote:
 Maybe I missed in the documentation but
  
 Today (ok, yesterday :-) I added a directory containing some old files 
 (last modification
 date is before my last full-backup) to one of my filesets.
 Now I'm wondering that they weren't backed up (I assume because of so 
 old modification
 time).
  
 Shouldn't this directory be backed up as it is completely new to this 
 fileset (I also restarted
 bacula-services) ?
  
 Or am I wrong and missed that in the documentation...
  
 Thanks,
 Christian
  


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Same library on two or more server

2009-02-04 Thread Daniele Eccher
Hi, i search and I read a lot of thread . You have a different 
situation. You want to use only changer on a different machine.

In my case I already use the library , with sd daemon on one host (call 
srv1) and it's work fine. Now i'd like to use one director (is the same 
on server srv1 that work ), with another server (srv2) that have 
installed only the client and the storage daemon . The both server see 
the library with fibre channel.

It's work if the srv1 think the srv2 use another library (but it's the 
same), and I work with srv1 on the night, and on srv2 in the day that I 
not have problem with same access at the same time on the library.

If this happens I think that the director append the jobs one after one 
with no problem for the library.

Shad L. Lords wrote:
 Daniele Eccher wrote:
 I use bacula than more 2 years with good result.
 I have a question because I think to use the same library 
 (Spectralogi T50) on two different servers. This is becouse the 
 amount of data is very big (more than 2 TB) and use the fibre channel 
 rather than ethernet is more fast.

 I have installed the storage daemon and client daemon on the other 
 machine where is the data to backup. I command this storage daemon 
 using the old Director on the other server, and my question is:

 I configure the library on the storage daemon configuration file at 
 the same on the true server where the other backup running, or i do 
 that , for the director, this is a new library?

 This is almost identical to what I wanted to do a few months ago. 
 Search the archives for a thread called Changer on different host.  
 I also submitted a feature request back then (at the wrong time) to 
 add this functionality.

 Kern, would you like me to resubmit this request to be added to the 
 list or can you dig it out of the archives?

 -Shad



-- 
Daniele Eccher
Gruppo Darco  - ICT Sistemi
Via Ostiense 131/L Corpo B, 00154 Roma
E-mail: daniele.ecc...@sociale.it  
tel  : +39 06 57060 500 
cell : +39 346 1426128

Ai sensi e per gli effetti delle disposizioni vigenti in materia di tutela 
della riservatezza personale (D.lgs 196/2003), questa @mail è destinata 
unicamente alle persone sopra indicate e le informazioni in essa contenute sono 
da considerarsi strettamente riservate. E' proibito leggere, copiare, usare o 
diffondere il contenuto della presente @mail senza autorizzazione. Se avete 
ricevuto questa @mail per errore, siete pregati di rispedire la stessa al 
mittente. Grazie


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users